/* --- General Setup & Variables --- */
:root {
    --primary-color: #00A896;
    --accent-color: #02C39A;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --light-text: #e0e0e0;
    --dark-text: #333;

    /* Custom colors for social links */
    --facebook-blue: #1877F2;
    --instagram-gradient-1: #405DE6;
    --instagram-gradient-2: #5B51D8;
    --instagram-gradient-3: #833AB4;
    --instagram-gradient-4: #C13584;
    --instagram-gradient-5: #E1306C;
    --instagram-gradient-6: #FD1D1D;
    --threads-dark: #000000; /* Threads logo is often monochrome or white on dark */
    --linkedin-blue: #0A66C2;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    background-image: url('https://www.transparenttextures.com/patterns/clean-gray-paper.png');
    overflow-x: hidden;
}

/* --- Social Media Popup --- */
/* --- Social Media Popup --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--dark-surface);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.close-button:hover {
    transform: scale(1.2);
}

.popup-logo {
    width: 80px;
    margin-bottom: 20px;
}

.popup-title {
    font-family: 'Teko', sans-serif;
    font-size: 2.2rem;
    color: white;
    margin: 0;
    letter-spacing: 1px;
}

.popup-subtitle {
    margin: 5px 0 25px;
    color: #a0a0a0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}
.social-link i {
    font-size: 1.4rem;
    margin-right: 15px;
}

/* Specific colors for social links - VERIFIED AND CORRECTED */
.social-link.talk-to-us { background: linear-gradient(45deg, var(--primary-color), var(--accent-color)); }
.social-link.talk-to-us:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(0, 168, 150, 0.4); }

.social-link.whatsapp-channel { background-color: #25D366; }
.social-link.whatsapp-channel:hover { background-color: #1DAE52; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }

.social-link.facebook { background-color: var(--facebook-blue); }
.social-link.facebook:hover { background-color: #1a6fd2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4); }

.social-link.instagram { background: linear-gradient(45deg, var(--instagram-gradient-1), var(--instagram-gradient-6)); }
.social-link.instagram:hover { filter: brightness(1.1); box-shadow: 0 4px 12px rgba(131, 58, 180, 0.4); }

.social-link.threads { background-color: #252525; border: 1px solid #777; }
.social-link.threads:hover { background-color: #3d3d3d; border-color: #fff; box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); }

.social-link.linkedin { background-color: var(--linkedin-blue); }
.social-link.linkedin:hover { background-color: #085dae; box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4); }
/* --- Main Page Content --- */
.main-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}
.main-header {
    margin-bottom: 40px;
}
.main-logo {
    width: 100px;
}

/* --- Language Selector --- */
.l/* REPLACE the old .language-tabs rule with these two new ones */

.language-tabs {
    display: flex;
    justify-content: space-between; /* This pushes the two groups apart */
    align-items: center; /* This keeps them vertically aligned */
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.language-buttons {
    display: flex;
    flex-wrap: wrap; /* Allows language buttons to wrap on small screens */
    gap: 10px;
    justify-content: center; /* Center them if they wrap to a new line */
}
}
.language-tab {
    background-color: var(--dark-surface);
    border: 2px solid #333;
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.language-tab:hover {
    background-color: #333;
    border-color: var(--primary-color);
}
.language-tab.active {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 15px var(--primary-color);
}
.language-prompt {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

/* --- Content Display --- */
.content-display {
    background-color: var(--dark-surface);
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.language-content h1 {
    font-family: 'Teko', sans-serif;
    color: var(--accent-color);
    font-size: 2rem;
    margin-top: 0;
}
.language-content h2 {
    font-size: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-top: 30px;
}
.language-content ul {
    list-style: none;
    padding-left: 0;
}
.language-content li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
}
.language-content li:last-child {
    border-bottom: none;
}
.language-content .icon {
    margin-right: 10px;
    color: var(--primary-color);
}
.footer-text {
    margin-top: 30px;
    font-weight: 600;
}

/* --- Footer --- */
.main-footer {
    margin-top: 50px; /* Added some margin back after removing music wave */
    padding: 20px;
    color: #a0a0a0;
    font-size: 0.8rem;
}

/* --- Floating "Join Us" Button --- */
.join-us-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(2, 195, 154, 0.4);
    z-index: 998; /* Ensures it's above other content but below the popup */
    transition: all 0.3s ease;
}
.join-us-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 195, 154, 0.6);
}

/* --- Responsive Design (Equalizers were here, now removed) --- */
@media (max-width: 600px) { /* Adjust popup for very small screens if needed */
    .popup-content {
        padding: 20px;
    }
    .popup-title {
        font-size: 1.8rem;
    }
    .popup-subtitle {
        font-size: 0.9rem;
    }
    .social-link {
        font-size: 0.95rem;
        padding: 10px;
    }
    .social-link i {
        font-size: 1.2rem;
    }
}

/* --- Style for the new game tab --- */
.game-tab {
    background: linear-gradient(45deg, #ff512f, #dd2476); /* A fiery gradient */
    border-color: #ff512f;
    color: white;
    text-decoration: none; /* Removes underline from the link */
    animation: pulse 2s infinite; /* Adds a glowing effect */
}

.game-tab:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff512f;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 81, 47, 0.7);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 81, 47, 1);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 81, 47, 0.7);
    }
}