
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00ffff;
    --primary-purple: #9d4edd;
    --primary-pink: #ff006e;
    --dark-bg: #0a0a0f;
    --card-bg: rgba(15, 15, 25, 0.85);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --glow-purple: 0 0 20px rgba(157, 78, 221, 0.5);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--primary-cyan);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Space Animated Background */
#space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 100%);
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-cyan), transparent);
    animation: shoot 3s infinite;
    opacity: 0;
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translateY(-100px) translateX(0) rotate(45deg);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(100px) rotate(45deg);
    }
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.nebula-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-purple), transparent);
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.nebula-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-pink), transparent);
    bottom: 20%;
    right: 15%;
    animation-duration: 30s;
}

.nebula-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-cyan), transparent);
    top: 50%;
    left: 50%;
    animation-duration: 35s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Main Content */
.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-cyan);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8)); }
}

.header p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(0, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 3px;
}

/* Game Categories */
.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 12px 24px;
    background: var(--card-bg);
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 100;
    pointer-events: auto;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-btn:hover::before,
.category-btn.active::before {
    width: 300px;
    height: 300px;
}

.category-btn:hover,
.category-btn.active {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.category-btn:active {
    transform: translateY(0);
}

/* Games Grid */
.games-section {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-purple);
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.6);
    letter-spacing: 4px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.game-card {
    background: var(--card-bg);
    border: 2px solid var(--primary-cyan);
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.game-countdown-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff006e, #9d4edd);
    border: 2px solid #00ffff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(157, 78, 221, 0.6);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(157, 78, 221, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 255, 1), 0 0 60px rgba(157, 78, 221, 0.8);
        transform: scale(1.05);
    }
}

.countdown-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.countdown-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1;
    font-family: 'Orbitron', sans-serif;
}

.countdown-text span {
    font-size: 0.9rem;
    display: block;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.game-card:hover::before {
    opacity: 0;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: none;
    border-color: var(--primary-purple);
}

.game-card:active {
    transform: translateY(-5px) scale(1.01);
}

.game-icon {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6));
}

/* Coming Soon Card */
.coming-soon-card {
    background: var(--card-bg);
    border: 2px dashed rgba(0, 255, 255, 0.4);
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: default;
}

.coming-soon-card:hover {
    opacity: 1;
    border-color: rgba(0, 255, 255, 0.6);
    transform: translateY(-5px);
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.coming-soon-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.6);
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.coming-soon-subtext {
    font-size: 0.95rem;
    color: rgba(0, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 1px;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: rgba(0, 255, 255, 0.7);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.game-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.game-meta-row.contest-active {
    justify-content: flex-start;
}

.game-type {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(157, 78, 221, 0.2);
    border: 1px solid var(--primary-purple);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credits-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: 2px solid #FFD700;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-shadow: none;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.credits-badge.contest-fee {
    background: rgba(255, 0, 110, 0.15);
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: none;
    transform: none;
    animation: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credits-badge.contest-fee .power-icon {
    font-size: 0.8rem;
    color: var(--primary-pink);
}

.credits-badge .power-icon {
    font-size: 1rem;
    filter: none;
    text-shadow: none;
}

.game-prizes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    margin-top: 10px;
}

.prize-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.prize-medal {
    font-size: 1.2rem;
}

.prize-text {
    color: #FFD700;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
}

.game-timing-badge {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.75rem;
    line-height: 1.4;
}

.game-timing-badge .timing-item {
    color: rgba(0, 255, 255, 0.9);
    text-transform: lowercase;
    font-weight: 500;
}

.game-timing-badge .timing-label {
    color: rgba(0, 255, 255, 0.6);
    font-size: 0.7rem;
    text-transform: capitalize;
    margin-right: 5px;
}

.play-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.play-btn::after {
    content: '▶';
    margin-left: 8px;
    transition: transform 0.3s;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}

.play-btn:hover::after {
    transform: translateX(5px);
}

.play-btn:active {
    transform: scale(0.98);
}

/* Loading Animation */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading.show {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 255, 255, 0.2);
    border-top-color: var(--primary-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-cyan);
    letter-spacing: 3px;
}

/* ============================================
   COMPREHENSIVE MOBILE MEDIA QUERIES
   ============================================ */

/* Extra Small Devices (Phones, 320px and up) */
@media (min-width: 320px) and (max-width: 479px) {
    .container {
        padding: 12px;
        margin: 8px;
    }

    .header {
        padding: 20px 15px;
        margin-bottom: 25px;
        text-align: center;
    }

    .header h1 {
        font-size: 1.8rem;
        letter-spacing: 4px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .header p {
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin: 0;
    }

    .categories {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 30px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .category-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        text-align: center;
        box-sizing: border-box;
    }

    /* All game sections - consistent styling for both All Games and individual sections */
    .games-section {
        margin-bottom: 35px;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        display: block;
    }
    
    /* When All Games is selected, all visible sections should have same spacing */
    .games-section:not(.hidden) {
        margin-bottom: 35px;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    /* Last visible section in All Games view */
    .games-section:not(.hidden):last-of-type {
        margin-bottom: 40px;
    }

    .games-section[data-category="action"],
    .games-section[data-category="defense"],
    .games-section[data-category="strategy"],
    .games-section[data-category="arcade"] {
        margin-bottom: 35px;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 1.4rem;
        letter-spacing: 3px;
        margin-bottom: 25px;
        padding: 15px 10px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
    
    /* Section titles in All Games view */
    .games-section:not(.hidden) .section-title {
        margin-bottom: 25px;
        width: 100%;
        box-sizing: border-box;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    /* Games grid in All Games view */
    .games-section:not(.hidden) .games-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 0;
        margin: 0;
    }

    .game-card {
        min-height: 180px;
        padding: 18px;
        border-width: 2px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    /* Game cards in All Games view */
    .games-section:not(.hidden) .game-card,
    .games-section:not(.hidden) .coming-soon-card {
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .game-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .coming-soon-card {
        padding: 35px 20px;
        min-height: 180px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .coming-soon-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .coming-soon-text {
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .coming-soon-subtext {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 10px;
    }

    .credits-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .credits-badge .power-icon {
        font-size: 0.85rem;
    }

    .game-prizes {
        padding: 8px;
        gap: 6px;
    }

    .prize-item {
        font-size: 0.8rem;
    }

    .prize-medal {
        font-size: 1rem;
    }

    .game-timing-badge {
        padding: 8px;
        gap: 3px;
        font-size: 0.7rem;
    }

    .game-timing-badge .timing-item {
        font-size: 0.7rem;
    }

    .game-timing-badge .timing-label {
        font-size: 0.65rem;
    }
    
    .game-countdown-badge {
        width: 60px;
        height: 60px;
        top: -8px;
        right: -8px;
    }
    
    .countdown-icon {
        font-size: 1rem;
    }
    
    .countdown-text {
        font-size: 0.65rem;
    }
    
    .countdown-text span {
        font-size: 0.8rem;
    }

    .game-title {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .game-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .game-type {
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .play-btn {
        padding: 10px;
        font-size: 0.85rem;
        letter-spacing: 1px;
        margin-top: 12px;
    }

    /* Reduce animations for performance */
    .nebula {
        filter: blur(30px);
        opacity: 0.15;
    }

    .star {
        width: 1.5px;
        height: 1.5px;
    }

    .shooting-star {
        display: none; /* Disable on very small screens */
    }
}

/* Small Devices (Landscape Phones, 480px and up) */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 15px;
        margin: 10px;
    }

    .header {
        padding: 25px 15px;
        margin-bottom: 30px;
        text-align: center;
    }

    .header h1 {
        font-size: 2.2rem;
        letter-spacing: 5px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .header p {
        font-size: 1rem;
        letter-spacing: 2px;
        margin: 0;
    }

    .categories {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 35px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .category-btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        flex: 1 1 calc(50% - 6px);
        min-width: calc(50% - 6px);
        max-width: calc(50% - 6px);
        text-align: center;
        box-sizing: border-box;
    }

    /* All game sections - consistent styling for both All Games and individual sections */
    .games-section {
        margin-bottom: 40px;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
        display: block;
    }
    
    /* When All Games is selected, all visible sections should have same spacing */
    .games-section:not(.hidden) {
        margin-bottom: 40px;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    /* Last visible section in All Games view */
    .games-section:not(.hidden):last-of-type {
        margin-bottom: 45px;
    }

    .games-section[data-category="action"],
    .games-section[data-category="defense"],
    .games-section[data-category="strategy"],
    .games-section[data-category="arcade"] {
        margin-bottom: 40px;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 1.7rem;
        letter-spacing: 3px;
        margin-bottom: 30px;
        padding: 18px 15px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
    
    /* Section titles in All Games view */
    .games-section:not(.hidden) .section-title {
        margin-bottom: 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    /* Games grid in All Games view */
    .games-section:not(.hidden) .games-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 20px 0;
        margin: 0;
    }

    .game-card {
        min-height: 200px;
        padding: 22px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    /* Game cards in All Games view */
    .games-section:not(.hidden) .game-card,
    .games-section:not(.hidden) .coming-soon-card {
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .coming-soon-card {
        padding: 40px 25px;
        min-height: 200px;
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .game-icon {
        font-size: 3rem;
        margin-bottom: 12px;
    }

    .game-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .game-description {
        font-size: 0.9rem;
    }

    .play-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    .nebula {
        filter: blur(35px);
        opacity: 0.18;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 20px;
    }

    .header {
        padding: 30px 15px;
    }

    .header h1 {
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .header p {
        font-size: 1.2rem;
    }

    .categories {
        gap: 12px;
    }

    .category-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .game-card {
        min-height: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .nebula {
        filter: blur(45px);
        opacity: 0.25;
    }
}

/* Large Devices (Desktops, 1024px and up) */
@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra Large Devices (Large Desktops, 1440px and up) */
@media (min-width: 1440px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .header {
        padding: 15px 10px;
        margin-bottom: 15px;
    }

    .header h1 {
        font-size: 2rem;
        margin-bottom: 5px;
    }

    .header p {
        font-size: 0.9rem;
    }

    .categories {
        margin-bottom: 15px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .game-card {
        min-height: 150px;
        padding: 15px;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
}

/* Portrait Orientation */
@media (orientation: portrait) and (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 180px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .game-card:hover {
        transform: none;
    }

    .game-card:active {
        transform: scale(0.98);
        box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
    }

    .category-btn:hover {
        transform: none;
    }

    .category-btn:active {
        transform: scale(0.95);
        background: rgba(0, 255, 255, 0.15);
    }

    .play-btn:hover {
        transform: none;
    }

    .play-btn:active {
        transform: scale(0.95);
    }

    /* Larger touch targets */
    .category-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .play-btn {
        min-height: 44px;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .star {
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    }

    .game-card {
        border-width: 1.5px;
    }
}

/* Reduced Motion (Accessibility) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .star,
    .shooting-star,
    .nebula {
        animation: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Already dark, but can enhance */
    body {
        background: #000000;
    }
}

/* Print Styles */
@media print {
    #space-background,
    .loading,
    .categories {
        display: none;
    }

    .container {
        background: white;
        color: black;
    }

    .game-card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(15, 15, 25, 0.95) 100%);
    border-top: 2px solid rgba(157, 78, 221, 0.4);
    padding: 50px 20px 30px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-cyan);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 2px;
}

.footer-section p {
    color: rgba(0, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(0, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--primary-cyan);
    transform: translateX(5px);
}

.footer-section ul li a::before {
    content: '▸';
    color: var(--primary-purple);
    font-size: 0.8rem;
}

.footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 12px 18px;
    background: rgba(37, 211, 102, 0.1);
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

.footer-whatsapp a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.footer-whatsapp i {
    font-size: 24px;
    color: #25D366;
}

.footer-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(0, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-feature-item i {
    color: var(--primary-purple);
    font-size: 1rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    text-align: center;
    color: rgba(0, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

/* Hide WhatsApp icon in footer on mobile */
@media (max-width: 768px) {
    .footer-whatsapp {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .site-footer {
        padding: 40px 15px 25px;
        margin-top: 50px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-section {
        width: 100%;
        margin-bottom: 25px;
        box-sizing: border-box;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .footer-bottom {
        padding: 25px 15px 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin: 8px 0;
    }
}

/* Show WhatsApp icon in footer on desktop only */
@media (min-width: 769px) {
    .footer-whatsapp {
        display: flex;
    }
}

/* Hide games by category */
.games-section.hidden {
    display: none;
}

/* All Games view - ensure consistent spacing when multiple sections visible */
.games-section:not(.hidden) {
    display: block;
}

/* When All Games is selected, ensure all sections have consistent styling */
@media (max-width: 768px) {
    /* All visible sections should have consistent margins */
    .games-section:not(.hidden) {
        margin-bottom: 35px;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    /* First section in All Games view */
    .games-section:not(.hidden):first-of-type {
        margin-top: 0;
    }
    
    /* Last section in All Games view */
    .games-section:not(.hidden):last-of-type {
        margin-bottom: 40px;
    }
    
    /* Ensure section titles are consistent in All Games view */
    .games-section:not(.hidden) .section-title {
        margin-bottom: 25px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure games grid is consistent in All Games view */
    .games-section:not(.hidden) .games-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 0;
        margin: 0;
    }
    
    /* Ensure game cards are consistent in All Games view */
    .games-section:not(.hidden) .game-card,
    .games-section:not(.hidden) .coming-soon-card {
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto 0 auto;
    }
    
    /* Consistent spacing between multiple visible sections */
    .games-section:not(.hidden) + .games-section:not(.hidden) {
        margin-top: 0;
    }
}

/* Security - Prevent right-click and inspect */
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Mobile Device Specific Styles */
body.mobile-device .game-card:hover,
body.mobile-device .category-btn:hover,
body.mobile-device .play-btn:hover {
    transform: none;
    box-shadow: none;
}

body.mobile-device .game-card:active {
    transform: scale(0.98);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

body.mobile-device .category-btn:active {
    transform: scale(0.95);
    background: rgba(0, 255, 255, 0.15);
}

body.mobile-device .play-btn:active {
    transform: scale(0.95);
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-tap-highlight-color: transparent;
    }

    .game-card,
    .category-btn,
    .play-btn {
        -webkit-tap-highlight-color: rgba(0, 255, 255, 0.2);
    }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .container {
        min-height: -webkit-fill-available;
    }
}

/* Prevent text size adjustment on iOS */
@media screen and (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    body {
        overflow-x: hidden;
        position: relative;
    }
}

/* ============================================
   AUTHENTICATION FORMS STYLES
   ============================================ */

/* Unified User Info Bar & Dropdown */
.user-info-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    align-items: center;
}

.user-info-bar.hidden {
    display: none !important;
}

.user-info-container {
    position: relative;
    min-width: 200px;
}

.user-dropdown-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.98), rgba(20, 20, 40, 0.95));
    border: 2px solid var(--primary-cyan);
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 54px;
    backdrop-filter: blur(10px);
}

.user-dropdown-btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    border-color: var(--primary-purple);
}

.user-dropdown-btn:active {
    transform: scale(0.97);
}

.user-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-right: 15px;
}

.user-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.username-display {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary-cyan);
    text-transform: uppercase;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 1px;
}

.dropdown-arrow {
    font-size: 0.8rem;
    color: var(--primary-cyan);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

.user-dropdown-content {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: rgba(10, 10, 20, 0.98);
    border: 2px solid var(--primary-purple);
    border-radius: 18px;
    overflow: hidden;
    display: none;
    z-index: 10002;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: menuFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}

@keyframes menuFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-15px) scale(0.98);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

.user-dropdown-content.show {
    display: block;
}

.dropdown-header {
    padding: 22px 20px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(0, 255, 255, 0.1));
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-profile-icon {
    font-size: 2.2rem;
    background: rgba(0, 0, 0, 0.4);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
    flex-shrink: 0;
}

.user-profile-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.user-profile-rank {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-body {
    padding: 15px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 18px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.4);
    transform: translateX(5px);
}

.item-icon {
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-info {
    flex: 1;
}

.item-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 3px;
    font-weight: 600;
}

.item-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.logout-link:hover {
    background: rgba(255, 77, 77, 0.1);
    padding-left: 22px;
}

/* Mobile Responsive for User Bar & Auth */
@media (max-width: 768px) {
    .user-info-bar,
    .auth-buttons {
        top: 15px;
        right: 15px;
        left: auto; /* Fixed: Removed extra left margin/stretch */
        width: auto;
        justify-content: flex-end;
        z-index: 10001;
    }

    .user-info-container {
        width: auto;
        min-width: 180px;
        max-width: 280px; /* Refined length for better fit */
    }

    .user-dropdown-btn {
        padding: 8px 15px;
        min-height: 48px;
        border-radius: 10px;
    }

    .user-dropdown-content {
        width: 280px; /* Fixed width to prevent clumsiness */
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        transform-origin: top right;
    }
    
    .username-display {
        max-width: 120px;
        font-size: 0.85rem;
    }

    .auth-buttons {
        flex-direction: row;
        gap: 8px;
    }

    .auth-btn {
        flex: none;
        padding: 8px 15px;
        font-size: 0.75rem;
    }

    .profile-planet-btn {
        bottom: 25px;
        right: 15px; /* Fixed: Moved to right to remove extra left margin */
        left: auto;
        width: 50px;
        min-width: 50px;
        height: 50px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .profile-planet-btn .profile-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .user-info-bar,
    .auth-buttons {
        top: 10px;
        right: 10px;
        left: auto;
    }

    .user-info-container {
        max-width: 240px;
    }

    .user-dropdown-btn {
        padding: 6px 12px;
        min-height: 44px;
    }

    .user-dropdown-content {
        width: calc(100vw - 20px);
        right: 0;
    }

    .username-display {
        max-width: 100px;
        font-size: 0.8rem;
    }

    .user-label {
        font-size: 0.55rem;
    }

    .profile-planet-btn {
        right: 10px;
        bottom: 20px;
        width: 45px;
        min-width: 45px;
        height: 45px;
    }
}

.user-welcome {
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-welcome span {
    color: var(--primary-purple);
    text-transform: uppercase;
}

/* User Referral Code Display */
.user-referral-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #9d4edd;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.user-referral-code:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
}

.referral-icon {
    font-size: 1.2rem;
    color: #9d4edd;
}

.referral-code-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: #FFD700;
    letter-spacing: 2px;
}

/* Referral Dropdown */
.referral-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--primary-purple);
    border-radius: 10px;
    padding: 20px;
    min-width: 300px;
    display: none;
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.referral-dropdown.show {
    display: block;
}

.referral-section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.referral-code-display {
    text-align: center;
}

.referral-code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.referral-code-box span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: #FFD700;
    letter-spacing: 4px;
}

.copy-referral-btn {
    background: rgba(157, 78, 221, 0.3);
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.copy-referral-btn:hover {
    background: rgba(157, 78, 221, 0.5);
    transform: scale(1.05);
}

.referral-message {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.referral-message strong {
    color: #FFD700;
    font-weight: 700;
}

/* User Credits Display */
.user-credits {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #00ff00;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.user-credits:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6); /* Green glow on hover */
}

.power-icon {
    font-size: 1.5rem;
    color: #00ff00 !important; /* Force green color */
    line-height: 1;
    display: inline-block;
    -webkit-text-fill-color: #00ff00 !important; /* For emoji */
}

.user-credits-value {
    font-weight: 900;
    font-size: 1rem;
    color: #FFD700; /* Credits number remains gold */
}

/* Credits Dropdown */
.credits-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--primary-cyan);
    border-radius: 10px;
    padding: 15px;
    min-width: 250px;
    display: none;
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.credits-dropdown.show {
    display: block;
}

.credits-option {
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--primary-cyan);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.credits-option:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateX(5px);
}

.credits-option.selected {
    background: rgba(157, 78, 221, 0.3);
    border-color: var(--primary-purple);
}

.credits-option-title {
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 5px;
}

.credits-option-price {
    color: var(--primary-purple);
    font-size: 0.9rem;
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.add-credits-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border: none;
    color: white;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.add-credits-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}

.add-credits-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.claim-credits-btn {
    width: 100%;
    padding: 12px;
    background: rgba(157, 78, 221, 0.3);
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.claim-credits-btn:hover:not(:disabled) {
    background: rgba(157, 78, 221, 0.5);
    transform: scale(1.05);
}

.claim-credits-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Credit Timing Notice */
.credit-timing-notice {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary-cyan);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    animation: pulseGlow 2s ease-in-out infinite;
}

.credit-timing-notice.unavailable {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.credit-timing-notice.available {
    border-color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
}

.timing-notice-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timing-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.timing-text {
    flex: 1;
}

.timing-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-cyan);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credit-timing-notice.unavailable .timing-title {
    color: #ff6b6b;
}

.credit-timing-notice.available .timing-title {
    color: #51cf66;
}

.timing-message {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.credit-timing-notice.unavailable .timing-message {
    color: #ff6b6b;
}

.credit-timing-notice.available .timing-message {
    color: #51cf66;
}

.timing-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timing-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 600;
}

.timing-countdown {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #FFD700;
    letter-spacing: 1px;
}

/* Times Up Message */
.times-up-message {
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.times-up-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.times-up-icon {
    font-size: 3rem;
    animation: pulseGlow 2s ease-in-out infinite;
}

.times-up-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.times-up-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.times-up-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    }
}

/* WhatsApp Contact Button */
/* WhatsApp Contact Button - Hidden (only shown in footer) */
.whatsapp-contact-btn,
.social-icon.social-whatsapp {
    display: none !important;
    visibility: hidden !important;
}

.whatsapp-contact-btn:hover,
.social-icon.social-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
}

.social-icon.social-whatsapp i.fab.fa-whatsapp {
    font-size: 28px;
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-contact-btn,
    .social-icon.social-whatsapp {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .social-icon.social-whatsapp i.fab.fa-whatsapp {
        font-size: 24px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* User Rank Display */
.user-rank {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-purple);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.user-rank:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
}

.user-rank-label {
    color: var(--primary-purple);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-rank-value {
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 900;
}

/* Rank Dropdown */
.rank-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--primary-purple);
    border-radius: 10px;
    padding: 15px;
    min-width: 300px;
    max-width: 400px;
    max-height: 500px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.rank-dropdown.show {
    display: block;
}

.rank-section {
    margin-bottom: 20px;
}

.rank-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rank-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid var(--primary-purple);
    border-radius: 8px;
    margin-bottom: 10px;
}

.rank-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-cyan);
}

.rank-name {
    flex: 1;
    font-weight: 700;
    color: var(--primary-purple);
}

.rank-score {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary-cyan);
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-item-rank {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.leaderboard-item-rank:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateX(5px);
}

.leaderboard-item-rank.is-current-user {
    background: rgba(157, 78, 221, 0.3);
    border-color: var(--primary-purple);
}

.no-rank-message {
    padding: 20px;
    text-align: center;
    color: rgba(0, 255, 255, 0.6);
    font-style: italic;
}

/* Profile Planet Button */
.profile-planet-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    min-width: 140px;
    height: 60px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(157, 78, 221, 0.2));
    border: 3px solid var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    pointer-events: auto;
}

.profile-planet-btn .profile-icon {
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-planet-btn .profile-text {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-cyan);
    letter-spacing: 1px;
}

.profile-planet-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(157, 78, 221, 0.3));
}

/* QR Code Modal */
.qr-modal {
    background: var(--card-bg);
    border: 2px solid var(--primary-cyan);
    border-radius: 15px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.qr-modal::-webkit-scrollbar {
    width: 6px;
}

.qr-modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.qr-modal::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 10px;
}

.qr-modal h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-cyan);
    margin-bottom: 15px;
    font-size: 1.5rem;
    word-wrap: break-word;
}

.qr-modal .amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 700;
    word-wrap: break-word;
}

.qr-modal .qr-image-container {
    width: 100%;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-modal img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border: 2px solid var(--primary-cyan);
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.qr-modal > p {
    color: rgba(0, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
    word-wrap: break-word;
}

/* Verification Info */
.verification-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-cyan);
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

.verification-message {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.verification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #FFD700;
    margin-top: 2px;
}

.verification-text {
    flex: 1;
    text-align: left;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.verification-text p {
    margin-bottom: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.verification-text p:last-child {
    margin-bottom: 0;
}

.verification-main {
    color: rgba(0, 255, 255, 0.9);
}

.verification-fast {
    color: rgba(255, 215, 0, 0.9);
}

.verification-whatsapp {
    color: rgba(37, 211, 102, 0.9);
}

.verification-text strong {
    color: #FFD700;
    font-weight: 700;
}

.whatsapp-verify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    word-wrap: break-word;
}

.whatsapp-verify-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-verify-btn i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.whatsapp-verify-btn span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Refund Notice */
.refund-notice {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.refund-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    color: #ff6b6b;
    margin-top: 2px;
}

.refund-text {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.refund-text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.refund-text strong {
    color: #ff6b6b;
    font-weight: 700;
}

@media (max-width: 768px) {
    .qr-modal {
        padding: 20px;
        max-width: 95%;
        max-height: 95vh;
    }
    
    .qr-modal h3 {
        font-size: 1.3rem;
    }
    
    .qr-modal img {
        max-height: 250px;
    }
    
    .verification-message {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .verification-text {
        text-align: left;
    }
    
    .whatsapp-verify-btn {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    .whatsapp-verify-btn span {
        font-size: 0.85rem;
    }
    
    .refund-notice {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .refund-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .qr-modal {
        padding: 15px;
    }
    
    .qr-modal h3 {
        font-size: 1.2rem;
    }
    
    .qr-modal img {
        max-height: 200px;
    }
    
    .verification-info {
        padding: 12px;
    }
    
    .verification-text p {
        font-size: 0.8rem;
    }
    
    .whatsapp-verify-btn span {
        font-size: 0.8rem;
    }
    
    .refund-text p {
        font-size: 0.8rem;
    }
}

/* Claim Credits Modal */
.claim-modal {
    background: var(--card-bg);
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
}

.claim-modal h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-purple);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.claim-form-group {
    margin-bottom: 20px;
}

.claim-form-group label {
    display: block;
    color: var(--primary-cyan);
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.claim-form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-cyan);
    border-radius: 8px;
    color: var(--primary-cyan);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.claim-form-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

.claim-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    border: none;
    color: white;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.claim-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.5);
}

.logout-btn {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

.auth-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.auth-buttons.hidden {
    display: none;
}

.auth-btn {
    background: var(--card-bg);
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.auth-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.show {
    display: flex;
}

/* Modal Content */
.auth-modal {
    background: var(--card-bg);
    border: 2px solid var(--primary-cyan);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.3), var(--glow-cyan);
    animation: modalSlideIn 0.3s ease;
    margin: auto;
    max-height: 95vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: var(--glow-cyan);
}

.modal-header p {
    color: rgba(0, 255, 255, 0.7);
    font-size: 0.9rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.close-modal:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.form-group small {
    display: block;
    color: rgba(0, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 5px;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.form-group input {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-cyan);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--primary-cyan);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px; /* Prevents zoom on iOS */
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    min-height: 44px; /* Better touch target */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.form-group input[type="tel"],
.form-group input[type="text"],
.form-group input[type="password"] {
    font-size: 16px; /* Prevents zoom on iOS */
}

.form-group input:invalid {
    border-color: var(--primary-cyan);
}

.form-group input:valid {
    border-color: var(--primary-cyan);
}

.form-group input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
    background: rgba(0, 0, 0, 0.7);
}

.form-group input::placeholder {
    color: rgba(0, 255, 255, 0.4);
}

    .form-group input[type="password"],
.form-group input[type="text"],
.form-group input[type="tel"] {
    -webkit-text-security: none;
}

/* Prevent text size adjustment on iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .form-group input[type="tel"],
    .form-group input[type="text"],
    .form-group input[type="password"] {
        font-size: 16px !important;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .auth-modal {
        padding: 15px 12px;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Large tablets and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .auth-modal {
        max-width: 500px;
        padding: 35px;
    }
}

/* Desktop Styles - Enhanced Login Modal */
@media (min-width: 1024px) {
    .auth-modal {
        max-width: 520px;
        padding: 40px 45px;
        border-width: 3px;
        box-shadow: 
            0 15px 50px rgba(0, 255, 255, 0.4),
            0 0 60px rgba(157, 78, 221, 0.3),
            inset 0 0 30px rgba(0, 255, 255, 0.05);
        animation: modalSlideInDesktop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    @keyframes modalSlideInDesktop {
        from {
            opacity: 0;
            transform: translateY(-80px) scale(0.85) rotateX(10deg);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1) rotateX(0deg);
        }
    }
    
    .modal-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 2px solid rgba(0, 255, 255, 0.2);
        position: relative;
    }
    
    .modal-header::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    }
    
    .modal-header h2 {
        font-size: 2.5rem;
        letter-spacing: 4px;
        margin-bottom: 12px;
        background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
        position: relative;
    }
    
    .modal-header p {
        font-size: 1rem;
        color: rgba(0, 255, 255, 0.8);
        letter-spacing: 1px;
    }
    
    .close-modal {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        top: 20px;
        right: 20px;
        border-width: 2px;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    }
    
    .close-modal:hover {
        background: rgba(0, 255, 255, 0.3);
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
        transform: rotate(90deg) scale(1.1);
    }
    
    .auth-form {
        gap: 25px;
    }
    
    .form-group {
        gap: 10px;
        position: relative;
    }
    
    .form-group label {
        font-size: 1rem;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .form-group label::before {
        content: '▸';
        color: var(--primary-purple);
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .form-group:focus-within label::before {
        transform: translateX(5px);
        color: var(--primary-cyan);
    }
    
    .form-group input {
        padding: 14px 18px;
        font-size: 1rem;
        border-width: 2px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.6);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .form-group input:hover {
        background: rgba(0, 0, 0, 0.7);
        border-color: rgba(0, 255, 255, 0.6);
    }
    
    .form-group input:focus {
        border-color: var(--primary-purple);
        box-shadow: 
            0 0 20px rgba(157, 78, 221, 0.6),
            inset 0 0 20px rgba(157, 78, 221, 0.1);
        background: rgba(0, 0, 0, 0.8);
        transform: translateY(-2px);
    }
    
    .form-group input::placeholder {
        color: rgba(0, 255, 255, 0.5);
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 16px 25px;
        font-size: 1.1rem;
        letter-spacing: 3px;
        border-radius: 10px;
        margin-top: 15px;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
        box-shadow: 0 5px 25px rgba(0, 255, 255, 0.4);
    }
    
    .submit-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }
    
    .submit-btn:hover::before {
        width: 300px;
        height: 300px;
    }
    
    .submit-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 30px rgba(0, 255, 255, 0.6);
        letter-spacing: 4px;
    }
    
    .submit-btn:active {
        transform: translateY(-1px) scale(1);
    }
    
    .switch-form {
        margin-top: 25px;
        font-size: 1rem;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 255, 255, 0.2);
    }
    
    .switch-form a {
        font-weight: 700;
        transition: all 0.3s ease;
        position: relative;
        padding: 5px 10px;
        border-radius: 5px;
    }
    
    .switch-form a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-purple);
        transition: width 0.3s ease;
    }
    
    .switch-form a:hover::after {
        width: 100%;
    }
    
    .switch-form a:hover {
        color: var(--primary-purple);
        background: rgba(157, 78, 221, 0.1);
        text-shadow: 0 0 15px rgba(157, 78, 221, 0.6);
    }
    
    .error-message,
    .success-message {
        padding: 14px 18px;
        font-size: 0.95rem;
        border-radius: 8px;
        border-width: 2px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    .error-message {
        background: rgba(255, 0, 110, 0.25);
        border-color: var(--primary-pink);
        box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    }
    
    .success-message {
        background: rgba(0, 255, 0, 0.25);
        border-color: #00ff00;
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    }
    
    .modal-overlay {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        background: rgba(0, 0, 0, 0.92);
    }
}

/* Extra Large Desktop Screens */
@media (min-width: 1440px) {
    .auth-modal {
        max-width: 560px;
        padding: 45px 50px;
    }
    
    .modal-header h2 {
        font-size: 2.8rem;
        letter-spacing: 5px;
    }
    
    .modal-header p {
        font-size: 1.1rem;
    }
    
    .form-group input {
        padding: 16px 20px;
        font-size: 1.05rem;
    }
    
    .submit-btn {
        padding: 18px 30px;
        font-size: 1.15rem;
    }
}

.error-message {
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid var(--primary-pink);
    color: var(--primary-pink);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: none;
    text-align: center;
}

.error-message.show {
    display: block;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.success-message {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    display: none;
    text-align: center;
}

.success-message.show {
    display: block;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    border: none;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    min-height: 44px; /* Better touch target */
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.switch-form {
    text-align: center;
    margin-top: 20px;
    color: rgba(0, 255, 255, 0.7);
    font-size: 0.9rem;
}

.switch-form a {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.switch-form a:hover {
    color: var(--primary-purple);
    text-shadow: var(--glow-purple);
}

    .auth-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
        flex: 1;
    }

    .modal-overlay {
        padding: 15px;
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .auth-modal {
        padding: 25px 20px;
        max-width: 100%;
        width: 100%;
        margin: auto;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    .modal-header {
        margin-bottom: 20px;
    }

    .modal-header h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        letter-spacing: 2px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .modal-header p {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
        line-height: 1.4;
    }

    .auth-form {
        gap: 18px;
    }

    .form-group {
        gap: 6px;
    }
    
    .form-group label {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
        margin-bottom: 4px;
    }

    .form-group input {
        padding: 12px 15px;
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 44px; /* Better touch target */
        width: 100%;
        box-sizing: border-box;
    }
    
    .close-modal {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        top: 12px;
        right: 12px;
        min-width: 32px;
        min-height: 32px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: clamp(0.9rem, 3vw, 1rem);
        min-height: 44px;
        width: 100%;
        margin-top: 5px;
    }
    
    .switch-form {
        font-size: clamp(0.8rem, 3vw, 0.9rem);
        margin-top: 15px;
        line-height: 1.5;
    }
    
    .form-group small {
        font-size: clamp(0.7rem, 2.5vw, 0.8rem);
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-top: 4px;
    }
    
    .error-message,
    .success-message {
        font-size: clamp(0.8rem, 3vw, 0.85rem);
        padding: 10px 12px;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-overlay {
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .auth-modal {
        max-height: 90vh;
        padding: 20px;
    }
    
    .form-group {
        gap: 5px;
    }
    
    .form-group input {
        padding: 10px 12px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .auth-modal {
        padding: 20px 15px;
        border-radius: 12px;
        max-height: calc(100vh - 30px);
    }

    .modal-header {
        margin-bottom: 18px;
    }

    .modal-header h2 {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
        letter-spacing: 1.5px;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .modal-header p {
        font-size: clamp(0.75rem, 3.5vw, 0.85rem);
        line-height: 1.4;
    }

    .auth-form {
        gap: 16px;
    }

    .form-group {
        gap: 5px;
    }
    
    .form-group label {
        font-size: clamp(0.75rem, 3.5vw, 0.85rem);
        letter-spacing: 0.5px;
        margin-bottom: 4px;
    }

    .form-group input {
        padding: 11px 12px;
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 44px;
        border-radius: 6px;
        box-sizing: border-box;
    }
    
    .close-modal {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        top: 10px;
        right: 10px;
        min-width: 30px;
        min-height: 30px;
    }
    
    .submit-btn {
        padding: 11px 18px;
        font-size: clamp(0.85rem, 3.5vw, 0.95rem);
        min-height: 44px;
        letter-spacing: 1px;
        width: 100%;
    }
    
    .switch-form {
        font-size: clamp(0.75rem, 3.5vw, 0.85rem);
        margin-top: 12px;
        padding: 0 5px;
        line-height: 1.5;
    }
    
    .form-group small {
        font-size: clamp(0.65rem, 2.5vw, 0.75rem);
        line-height: 1.5;
        padding: 0 2px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-top: 3px;
    }
    
    .error-message,
    .success-message {
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        padding: 8px 10px;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .user-referral-code {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .referral-code-value {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .referral-dropdown {
        min-width: 280px;
        padding: 15px;
    }
    
    .referral-code-box span {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
}

/* ============================================
   MOBILE ACTION STYLE - Full Page Action Aesthetic
   Apply action button style to entire page on mobile
   ============================================ */

@media (max-width: 768px) {
    /* Apply action button style to body/container */
    body {
        background: var(--dark-bg);
        border: none;
        border-radius: 0;
        position: relative;
        overflow-x: hidden;
    }
    
    body::before {
        display: none;
    }
    
    /* Container with action button style */
    .container {
        background: var(--card-bg);
        border: 2px solid var(--primary-cyan);
        border-radius: 15px;
        margin: 10px;
        padding: 15px;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), var(--glow-cyan);
        position: relative;
        overflow: hidden;
    }
    
    .container::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(0, 255, 255, 0.1);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        pointer-events: none;
    }
    
    /* Header with action style */
    .header {
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid var(--primary-cyan);
        border-radius: 12px;
        padding: 20px 15px;
        margin-bottom: 20px;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }
    
    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
        animation: shimmer 3s infinite;
    }
    
    @keyframes shimmer {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    .header h1 {
        position: relative;
        z-index: 1;
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 40px rgba(157, 78, 221, 0.6);
    }
    
    .header p {
        position: relative;
        z-index: 1;
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }
    
    /* Categories with enhanced action style */
    .categories {
        background: rgba(0, 0, 0, 0.2);
        border: 2px solid var(--primary-cyan);
        border-radius: 12px;
        padding: 15px;
        margin-bottom: 30px;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .category-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        text-align: center;
        box-sizing: border-box;
    }
    
    .category-btn {
        background: var(--card-bg);
        border: 2px solid var(--primary-cyan);
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .category-btn.active {
        background: rgba(0, 255, 255, 0.15);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), inset 0 0 20px rgba(0, 255, 255, 0.1);
        border-color: var(--primary-purple);
    }
    
    /* Game cards with action button style */
    .game-card {
        background: var(--card-bg);
        border: 2px solid var(--primary-cyan);
        border-radius: 12px;
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), var(--glow-cyan);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
    }
    
    .game-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.4s;
    }
    
    .game-card:active::after {
        opacity: 1;
    }
    
    .game-card:active {
        transform: scale(0.98);
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.5), inset 0 0 30px rgba(0, 255, 255, 0.1);
    }
    
    /* Section titles with action style - All sections consistent */
    .section-title {
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid var(--primary-purple);
        border-radius: 10px;
        padding: 18px 15px;
        margin-bottom: 30px;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
        text-shadow: 0 0 20px rgba(157, 78, 221, 0.8);
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* All game sections - consistent alignment for both All Games and individual sections */
    .games-section {
        width: 100%;
        margin-bottom: 35px;
        box-sizing: border-box;
        padding: 0;
        display: block;
    }
    
    /* When All Games is selected, ensure all visible sections have consistent styling */
    .games-section:not(.hidden) {
        width: 100%;
        margin-bottom: 35px;
        box-sizing: border-box;
        padding: 0;
    }
    
    /* Last visible section in All Games view */
    .games-section:not(.hidden):last-of-type {
        margin-bottom: 40px;
    }
    
    .games-section[data-category="action"],
    .games-section[data-category="defense"],
    .games-section[data-category="strategy"],
    .games-section[data-category="arcade"] {
        width: 100%;
        margin-bottom: 35px;
        box-sizing: border-box;
    }
    
    .games-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 0;
        margin: 0;
    }
    
    /* Games grid in All Games view */
    .games-section:not(.hidden) .games-grid {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 0;
        margin: 0;
    }
    
    .game-card,
    .coming-soon-card {
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    /* Game cards in All Games view */
    .games-section:not(.hidden) .game-card,
    .games-section:not(.hidden) .coming-soon-card {
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    /* Section titles in All Games view */
    .games-section:not(.hidden) .section-title {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 25px;
    }
    
    /* Play button enhanced */
    .play-btn {
        background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
        border: 2px solid var(--primary-cyan);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), var(--glow-cyan);
        position: relative;
        overflow: hidden;
    }
    
    .play-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }
    
    .play-btn:active::before {
        width: 300px;
        height: 300px;
    }
    
    .play-btn:active {
        transform: scale(0.95);
        box-shadow: 0 0 30px rgba(0, 255, 255, 0.8), inset 0 0 30px rgba(0, 255, 255, 0.2);
    }
    
    /* Auth buttons enhanced */
    .auth-btn {
        background: var(--card-bg);
        border: 2px solid var(--primary-cyan);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.4), var(--glow-cyan);
        backdrop-filter: blur(10px);
    }
    
    .auth-btn:active {
        transform: scale(0.95);
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), inset 0 0 20px rgba(0, 255, 255, 0.1);
    }
    
    /* User info bar with action style */
    .user-info-bar {
        background: rgba(0, 0, 0, 0.4);
        border: 2px solid var(--primary-cyan);
        border-radius: 12px;
        padding: 10px;
        backdrop-filter: blur(10px);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), var(--glow-cyan);
    }
    
    /* Game icon enhanced glow */
    .game-icon {
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8));
        animation: iconPulse 2s ease-in-out infinite;
    }
    
    @keyframes iconPulse {
        0%, 100% {
            filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8));
            transform: scale(1);
        }
        50% {
            filter: drop-shadow(0 0 25px rgba(0, 255, 255, 1));
            transform: scale(1.05);
        }
    }
    
    /* Coming soon card with action style */
    .coming-soon-card {
        border: 2px dashed var(--primary-cyan);
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }
    
    /* Credits badge with action style */
    .credits-badge {
        border: 2px solid #FFD700;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    
    /* Game type badge with action style */
    .game-type {
        border: 2px solid var(--primary-purple);
        box-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
    }
    
    /* Space background enhanced for mobile */
    #space-background {
        border: 2px solid rgba(0, 255, 255, 0.2);
    }
    
    /* Add pulsing glow to container on mobile */
    .container {
        animation: containerGlow 3s ease-in-out infinite;
    }
    
    @keyframes containerGlow {
        0%, 100% {
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), var(--glow-cyan);
        }
        50% {
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.5), 0 0 40px rgba(157, 78, 221, 0.3);
        }
    }
    
    /* Enhanced touch feedback */
    *:active {
        transition: all 0.1s ease;
    }
    
    /* Text elements with action glow */
    .game-title {
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    }
    
    .game-description {
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    }
}

/* Extra small mobile devices - even more action style */
@media (max-width: 480px) {
    .container {
        margin: 8px;
        padding: 12px;
        border-width: 2px;
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), var(--glow-cyan);
        width: calc(100% - 16px);
        box-sizing: border-box;
    }
    
    .header {
        padding: 18px 12px;
        border-width: 2px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .categories {
        width: 100%;
        padding: 12px;
        box-sizing: border-box;
    }
    
    .category-btn {
        border-width: 2px;
        box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
        max-width: calc(50% - 4px);
    }
    
    .games-section {
        width: 100%;
        margin-bottom: 30px;
        box-sizing: border-box;
    }
    
    .section-title {
        width: 100%;
        padding: 15px 10px;
        box-sizing: border-box;
    }
    
    .games-grid {
        width: 100%;
        padding: 12px 0;
        box-sizing: border-box;
    }
    
    .game-card,
    .coming-soon-card {
        border-width: 2px;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), var(--glow-cyan);
        width: 100%;
        box-sizing: border-box;
    }
    
    .play-btn {
        border-width: 2px;
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), var(--glow-cyan);
        width: 100%;
        box-sizing: border-box;
    }
    
    .site-footer {
        width: 100%;
        padding: 35px 12px 20px;
        box-sizing: border-box;
    }
    
    .footer-content {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .footer-section {
        width: 100%;
        box-sizing: border-box;
    }
}