/* --- Global Styles --- */
body {
    margin: 0;
    background-color: #121212;
    color: white;
}

/* --- Header --- */
/* Layout comes from Bootstrap utility classes on the element itself.
   Deliberately no #header rule: an ID beats every utility class, so one
   here would silently override the d-flex/py-3/border-bottom classes. */

#title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

#aka {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Rainbow Animation --- */
.rainbow-text-animated {
    background: linear-gradient(to right, #ef3550, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 400% 100%;
    animation: rainbow-scroll 8s linear infinite;
    font-weight: bold;
}

@keyframes rainbow-scroll {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- NEON GLOW CARDS --- */
.gray.card {
     overflow: hidden !important; /* Forces the image to stay inside the rounded corners */
    background-color: #1f1f1f !important; /* Slightly darker gray for better glow contrast */
    border: 2px solid #ffc107 !important; 
    border-radius: 15px;
    margin: 20px;
    transition: all 0.3s ease-in-out;
    /* Static Glow */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4); 
}

.card-text {
    min-height: 60px; /* Adjust this value until the cards match */
}


.gray.card:hover {
    transform: translateY(-5px);
    /* Intense Glow on Hover */
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.7), 0 0 50px rgba(255, 193, 7, 0.3);
    border-color: #ffffff !important;
}

.gray .card-body {
    background-color: #0B0C10 !important;
    margin: 12px;
    border-radius: 10px;
    padding: 20px;
}

/* --- NEON GLOW BUTTONS --- */
.btn-primary {
    background-color: #121212 !important;
    color: #39FF14 !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #39FF14 !important;
    color: #121212 !important;
    padding: 5px;
    border-radius: 20px; 
    box-shadow: 0 0 20px #39FF14, 0 0 40px rgba(57, 255, 20, 0.4);
}

/* Bootstrap's .nav-link adds its own padding/hover fill; the white pill
   styling below comes from .socialLink instead. */
#socialLinks .nav-link:hover,
#socialLinks .nav-link:focus {
    background-color: transparent;
}

.socialLink {
    border-radius: 25px;
    margin: 5px;
    padding: 5px;
    background-color: white !important;
    color: white !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.socialLink:hover {
    background-color: white !important;
    color: #121212 !important;
    padding: 15px;
}


/* --- Layout Details --- */
.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title img {
    width: 30px;
    height: auto;
}

.card-img-top {
    object-fit: cover;
    height: 180px;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
      width: 100%;             /* Fills the width of the card */
    height: 180px;           /* Sets a consistent height */
    object-fit: cover;       /* Ensures the image doesn't look squished */
    display: block;          /* Removes tiny gaps at the bottom of the image */
    border-bottom: 2px solid #ffc107; /* Clear line between image and body */
}

.playBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.supportDevices {
    display: flex;
    gap: 10px;
    background-color: #1a1a1a;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #333;
}

.supportDevices img {
    width: 22px;
}

/* --- Neon Filters --- */
.neon-green-icon {
    filter: invert(72%) sepia(96%) saturate(1478%) hue-rotate(63deg) brightness(108%) contrast(124%);
}

.neon-red-icon {
    filter: invert(24%) sepia(91%) saturate(5436%) hue-rotate(351deg) brightness(103%) contrast(121%);
}

.black-icon {
    filter: brightness(0) saturate(100%);
}

#siteList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
}
