/* Kingdom Quest - Coming Soon Page Styles */

/* Import Tektur font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400;500;600;700;800&display=swap');

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Hidden by default for homepage */
}

/* Force scrolling for legal pages */
html.legal-page {
    overflow-x: hidden !important;
    overflow-y: scroll !important; /* scroll, not auto — guarantees scrollbar */
    height: auto !important;
    position: static !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
}

body.legal-page {
    overflow: visible !important; /* Let body grow naturally, html scrolls */
    height: auto !important;
    min-height: 100vh !important;
    position: static !important;
    display: block !important;
    margin: 0 !important;
    padding: 2vh 0 6rem 0 !important;
    background: #0a0e1a !important;
    -webkit-text-size-adjust: 100% !important;
}

/* Main background and positioning */
body {
    background-color: #0a0e1a; /* Very dark blue */
    color: white;
    font-family: 'Tektur', sans-serif; /* Changed from Cinzel to Tektur */
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: 15vh; /* Increased from 12vh to move content down */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('/static/images/background.avif');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.85; /* Increased opacity from 0.7 to show more of the background */
    filter: brightness(0.85) saturate(1.2); /* Increased brightness and saturation */
}

/* Wild Texas Quest overrides */
body.site-wildtexas::before {
    background-image: url('/static/images/wildtexas_quest_splash.avif');
}
body.site-wildtexas .logo {
    max-width: 710px;
    width: 90vw;
}
body.site-wildtexas .logo-container {
    margin-bottom: 0;
}
body.site-wildtexas .overlay {
    background: none;
}

/* Remove the global overlay and only apply it to legal pages */
body::after {
    display: none; /* Hide the overlay by default (for homepage) */
}

/* Fix background image for legal pages */
body.legal-page::before {
    position: fixed !important; /* Changed back to fixed to keep background in place */
    height: 100vh !important; /* Make sure it covers the full viewport */
    width: 100vw !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -2 !important; /* Keep it behind the overlay */
}

/* Only show the dark overlay on legal pages - simplified */
body.legal-page::after {
    content: "";
    display: block;
    position: fixed !important; /* Change back to fixed to keep overlay in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(10, 14, 26, 0.8); /* Increased opacity from 0.7 to 0.8 for darker overlay */
    pointer-events: none;
    transform: none !important;
}

/* Particles for legal pages - simplified */
.legal-page #particles-js {
    position: fixed !important; /* Change back to fixed */
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
    top: 0;
    left: 0;
    height: 100vh !important; /* Full viewport height */
    width: 100vw !important;
    opacity: 0.8; /* Reduced opacity for better text legibility */
}

/* Make sure content scrolls properly over fixed backgrounds */
.legal-page .content-wrapper {
    position: relative !important;
    z-index: 1 !important; /* Must be above background elements */
}

/* Legal page content wrapper - simplified */
.legal-page .content-wrapper {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1 !important; /* Must be above background elements */
    will-change: auto; /* Disable hardware acceleration */
    transform: none !important;
    transform-style: flat !important; /* Disable 3D transforms */
    perspective: none !important; /* Disable perspective */
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
    box-sizing: border-box !important; /* Ensure padding is included in width */
}

/* Legal page overlay - simplified */
.legal-page .overlay {
    position: static;
    transform: none !important;
    transform-style: flat !important;
    animation: none !important;
    height: auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 4vh 1rem 8vh 1rem !important; /* Reduced side padding */
    overflow: visible;
    overflow-x: hidden !important; /* Prevent horizontal overflow */
    backdrop-filter: none; /* Disable filters that might cause performance issues */
    box-sizing: border-box !important; /* Include padding in width calculation */
}

/* Legal content container */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 8rem 1rem; /* Reduced from 2rem to 1rem on left and right */
    color: #ffefc3;
    text-align: left;
    position: relative; /* Ensure it's positioned properly */
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

.legal-content h3 {
    color: #fcea15;
    margin-top: 2rem;
    font-size: 1.6rem;
    max-width: 100%;
    word-wrap: break-word;
}

.legal-content p, .legal-content ul, .legal-content li {
    font-family: 'Tektur', sans-serif; /* Changed from Cinzel to Tektur */
    font-size: 1rem;
    font-weight: 500; /* Added stronger font weight */
    line-height: 1.8;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: none;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-content .back-link {
    display: inline-block;
    margin-top: 2rem;
    margin-bottom: 4rem;
    color: #fcea15;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.legal-content .back-link:hover {
    text-shadow: 0 0 10px rgba(252, 234, 21, 0.5);
}

/* Legal page mobile adjustments - extremely simplified */
@media (max-width: 768px) {
    /* Mobile scrolling fixes (Android + iOS) */
    html.legal-page {
        overflow-x: hidden !important;
        overflow-y: scroll !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    body.legal-page {
        overflow: visible !important;
        position: static !important;
        height: auto !important;
        min-height: 100vh !important;
        padding: 1vh 0 3rem 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .legal-page .content-wrapper,
    .legal-page .overlay,
    .legal-content {
        position: static !important;
        transform: none !important;
        transform-style: flat !important;
        transition: none !important;
        animation: none !important;
        will-change: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding-left: 0.75rem !important; /* Reduced padding */
        padding-right: 0.75rem !important; /* Reduced padding */
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Job card mobile adjustments */
    .job-card {
        padding-left: 1rem !important; /* Reduced from 1.5rem */
        padding-right: 0 !important;
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .job-card h3 {
        font-size: 1.5rem;
        word-wrap: break-word !important; /* Allow long words to break */
        max-width: 100% !important;
    }
    
    /* Ensure all paragraphs wrap properly */
    p, h1, h2, h3, .job-card p {
        word-wrap: break-word !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
    }
    
    .footer {
        padding: 1rem 0;
    }
    
    .footer-links {
        gap: 1rem;
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 0.5rem;
    }
    
    .store-buttons-wrapper {
        bottom: 10rem;
        gap: 1rem;
    }
    
    .store-badge {
        height: 40px;
    }
    
    .build-button-wrapper {
        bottom: 4rem;
    }
    
    .build-button {
        padding: 0.5rem 1.2rem !important; /* Even smaller on mobile */
        font-size: 0.8rem; /* Smaller font on mobile */
    }
    
    .legal-content {
        padding: 0 0.75rem 6rem 0.75rem !important; /* Reduced from 1.5rem to 0.75rem on left and right */
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .legal-content h3 {
        font-size: 1.4rem;
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .legal-content p, .legal-content ul, .legal-content li {
        font-size: 0.9rem;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none; /* Ensure it doesn't block interactions */
    opacity: 2.0; /* Substantially increased for maximum visibility */
    filter: contrast(1.5) brightness(1.8) saturate(1.4); /* Dramatically enhanced visibility */
    mix-blend-mode: lighten; /* Stronger blend mode for more dramatic effect */
    animation: particlesPulse 5s ease-in-out infinite; /* Faster, more noticeable animation */
    transform-origin: center;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Full width */
    margin: 0 auto;
    z-index: 1;
}

/* Overlay styles for homepage */
.overlay {
    /* Create a gradient that's completely transparent at top and bottom edges */
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 26, 0) 0%,
        rgba(10, 14, 26, 0.20) 10%, 
        rgba(10, 14, 26, 0.40) 20%, 
        rgba(10, 14, 26, 0.40) 80%, 
        rgba(10, 14, 26, 0.20) 90%, 
        rgba(10, 14, 26, 0) 100%
    );
    padding: 9vh 5rem 9vh 5rem;
    width: 100vw;
    position: relative;
    /* Remove the borders and box-shadow that create hard edges */
    border-top: none;
    border-bottom: none;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    animation: fadeIn 2s ease;
    transform-style: preserve-3d;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    max-width: 100vw;
}

h1 {
    font-size: 3rem; /* Reduced from 3.5rem */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: -2vh; /* Reduced from 6vh to bring elements closer together */
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(252, 234, 21, 0.4), 0 0 30px rgba(248, 137, 10, 0.2);
    animation: pulseGlow 4s ease-in-out infinite;
    text-transform: uppercase;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600; /* Increased from 400 to make text stronger */
    margin-top: 3vh; /* Added spacing above the h2 */
    margin-bottom: -1vh; /* Reduced from 5vh to bring elements closer together */
    color: #fcea15;
    letter-spacing: 4px;
    opacity: 0.9;
    animation: pulseOpacity 4s ease-in-out infinite;
    text-transform: uppercase;
}

p {
    font-size: 1.4rem;
    font-weight: 500; /* Added stronger font weight */
    color: #ffefc3; /* Light cream/yellow that complements the gradient */
    letter-spacing: 2px;
    margin-bottom: 0; /* No bottom margin on the last element */
    animation: pulseOpacity 4s ease-in-out infinite 1s;
    text-transform: uppercase;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 8vh; /* Increased from 18vh to move overlay down */
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    animation: fadeIn 2s ease;
}

.logo {
    max-width: 355px; /* Increased from 345px for desktop */
    height: auto;
    filter: none; /* Removed drop shadow filters to allow background to show through cleanly */
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseOpacity {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 15px rgba(252, 234, 21, 0.3), 0 0 30px rgba(248, 137, 10, 0.1); }
    50% { text-shadow: 0 0 20px rgba(252, 234, 21, 0.5), 0 0 40px rgba(248, 137, 10, 0.3); }
    100% { text-shadow: 0 0 15px rgba(252, 234, 21, 0.3), 0 0 30px rgba(248, 137, 10, 0.1); }
}

@keyframes particlesPulse {
    0% { opacity: 1.2; filter: contrast(1.5) brightness(1.6) saturate(1.4); transform: scale(1); }
    50% { opacity: 2.2; filter: contrast(2) brightness(2.2) saturate(1.8); transform: scale(1.05); }
    100% { opacity: 1.2; filter: contrast(1.5) brightness(1.6) saturate(1.4); transform: scale(1); }
}

@keyframes titleEffect {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        filter: hue-rotate(20deg);
    }
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
}

/* Replace the box hover effect with a subtle text glow instead */
.overlay:hover h1 {
    text-shadow: 0 0 25px rgba(252, 234, 21, 0.6), 0 0 40px rgba(248, 137, 10, 0.4);
    transition: text-shadow 0.5s ease;
}

.overlay:hover h2 {
    text-shadow: 0 0 15px rgba(252, 234, 21, 0.5);
    transition: text-shadow 0.5s ease;
}

.overlay:hover p {
    text-shadow: 0 0 10px rgba(252, 234, 21, 0.4);
    transition: text-shadow 0.5s ease;
}

/* Remove the old box hover effect */
.overlay:hover {
    transform: none;
    box-shadow: none;
}

/* Footer styles for privacy and terms links */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        to top, 
        rgba(10, 14, 26, 0.4) 0%,
        rgba(10, 14, 26, 0.2) 60%,
        rgba(10, 14, 26, 0) 100%
    );
}

/* Hide footer and build button on all pages except the home page */
.legal-page .footer,
.legal-page .build-button-wrapper,
.legal-page .store-buttons-wrapper {
    display: none !important;
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-family: 'Tektur', sans-serif; /* Changed from Cinzel to Tektur */
    font-size: 0.9rem;
    font-weight: 500; /* Added stronger font weight */
    letter-spacing: 1px;
    text-transform: uppercase;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 239, 195, 0.7);
    font-weight: 500; /* Added stronger font weight */
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

/* Store buttons wrapper - positioned above build button */
.store-buttons-wrapper {
    position: fixed;
    bottom: 12rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 11;
    pointer-events: none;
}

/* Build button wrapper - positioned above footer */
.build-button-wrapper {
    position: fixed;
    bottom: 5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 11;
    pointer-events: none;
}

/* Work with us button styling - different color scheme from beta button */
.build-button {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(147, 51, 234, 0.8) 100%);
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600; /* Reduced from 800 to make it less prominent */
    padding: 0.5rem 1.5rem !important; /* Reduced padding to make button smaller */
    border-radius: 1.5rem; /* Reduced border radius for smaller appearance */
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3) !important; /* Reduced shadow */
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); /* Blue glow effect */
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 1px; /* Reduced letter spacing */
    transition: all 0.3s ease;
    pointer-events: auto;
    animation: floatButton 3s ease-in-out infinite 0.5s; /* Delayed animation to show hierarchy */
    text-decoration: none !important;
    font-size: 0.9rem; /* Smaller font size */
}

@keyframes floatButton {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.build-button::after {
    display: none !important; /* Remove the underline effect */
}

.build-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.build-button:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(147, 51, 234, 0.9) 100%);
    color: #ffffff !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.4) !important;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6); /* Enhanced blue glow on hover */
    transform: translateY(-2px) scale(1.02); /* Reduced hover effect */
    text-decoration: none !important;
}

.build-button:hover::before {
    left: 100%;
}

/* Store button styling */
.store-button {
    display: inline-block;
    text-decoration: none !important;
    transition: all 0.3s ease;
    pointer-events: auto;
    animation: floatButton 3s ease-in-out infinite 1.5s;
    position: relative;
}

.store-badge {
    height: 50px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.ios-store-button {
    background: transparent;
    border: none;
}

.ios-store-button:hover {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3));
}

.ios-store-button:hover .store-badge {
    transform: scale(1.05);
}

.android-store-button {
    background: transparent;
    border: none;
}

.android-store-button:hover {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(61, 220, 132, 0.4));
}

.android-store-button:hover .store-badge {
    transform: scale(1.05);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #fcea15;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffefc3;
    text-shadow: 0 0 10px rgba(252, 234, 21, 0.4);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Jobs page specific styles */
.jobs-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.job-card {
    border-left: 2px solid rgba(252, 234, 21, 0.3);
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-left: 2px solid rgba(252, 234, 21, 0.8);
    background: linear-gradient(
        to right,
        rgba(252, 234, 21, 0.05) 0%,
        rgba(252, 234, 21, 0) 70%
    );
}

.job-card h3 {
    margin-top: 0;
    color: #fcea15;
    font-size: 1.8rem;
}

.job-card p {
    font-family: 'Tektur', sans-serif; /* Changed from Cinzel to Tektur */
    font-size: 1rem;
    font-weight: 500; /* Added stronger font weight */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: none;
    color: rgba(255, 239, 195, 0.9);
    animation: none;
}

.job-link {
    display: inline-block;
    color: #fcea15;
    font-weight: 600; /* Added stronger font weight */
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.job-link:hover {
    text-shadow: 0 0 10px rgba(252, 234, 21, 0.5);
    border-bottom: 1px solid rgba(252, 234, 21, 0.5);
}

.job-location {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* Mobile adjustments for jobs page */
@media (max-width: 768px) {
    .job-card {
        padding-left: 1.5rem;
    }
    
    .job-card h3 {
        font-size: 1.5rem;
    }
}

/* Mobile styles for the homepage */
@media (max-width: 768px) {
    body { 
        padding-top: 8vh; /* Reduced from 10vh to move content up on mobile */
        height: auto !important; /* Ensure proper height calculation on mobile */
    }
    .logo-container { 
        margin-bottom: 7vh; /* Reduced from 18vh to move content up */
        margin-top: -0.5vh; /* Added negative margin to pull logo up further */
    }
    #particles-js {
        opacity: 1.5; /* Reduce particles opacity on mobile for better performance */
        animation: none; /* Disable animation on mobile to improve performance */
        filter: contrast(1.3) brightness(1.5) saturate(1.2); /* Reduce filter complexity for performance */
    }
    .overlay { 
        padding: 8vh 2rem; /* Reduced horizontal padding from 3rem to 2rem */
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
        /* Simplified gradient for better mobile performance */
        background: linear-gradient(
            to bottom,
            rgba(10, 14, 26, 0) 0%,
            rgba(10, 14, 26, 0.20) 10%, 
            rgba(10, 14, 26, 0.65) 20%, 
            rgba(10, 14, 26, 0.65) 80%, 
            rgba(10, 14, 26, 0.20) 90%, 
            rgba(10, 14, 26, 0) 100%
        );
    }
    h1 { 
        font-size: 2.5rem; /* Reduced from 2.5rem for mobile */
        margin-bottom: 1.5vh; /* Reduced from 4vh for mobile */
        margin-left: -0.5rem; /* Added negative margin to reduce horizontal space */
        margin-right: -0.5rem; /* Added negative margin to reduce horizontal space */
        animation: none; /* Disable animation for better performance */
        width: calc(100% + 1rem); /* Compensate for the negative margins */
    }
    h2 { 
        font-size: 1.8rem; 
        margin-bottom: 1.5vh; /* Reduced from 3vh for mobile */
        animation: none; /* Disable animation for better performance */
    }
    p { 
        font-size: 1.2rem; 
        animation: none; /* Disable animation for better performance */
    }
    .logo { 
        max-width: 275px; /* Keep mobile size the same */
        filter: none; /* Ensure shadow removal in mobile views too */
    }
}

/* Job Cards as Links */
a.job-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

a.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
}

a.job-card h3 {
    color: #fcea15;
    transition: color 0.3s ease;
}

a.job-card:hover h3 {
    color: #ffffff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(20, 24, 36, 0.95) 100%);
    margin: auto;
    padding: 3rem 2rem;
    border: 2px solid rgba(252, 234, 21, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 40px rgba(252, 234, 21, 0.2);
    animation: modalFadeIn 0.3s ease;
}

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

.modal-content h2 {
    color: #fcea15;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: none;
}

.modal-close {
    color: rgba(255, 239, 195, 0.7);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: #fcea15;
    text-shadow: 0 0 10px rgba(252, 234, 21, 0.5);
}

.platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-family: 'Tektur', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.platform-icon {
    width: 32px;
    height: 32px;
}

.ios-button {
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.8) 0%, rgba(60, 60, 60, 0.8) 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.ios-button:hover {
    background: linear-gradient(135deg, rgba(120, 120, 120, 0.9) 0%, rgba(80, 80, 80, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.android-button {
    background: linear-gradient(135deg, rgba(61, 220, 132, 0.8) 0%, rgba(33, 150, 83, 0.8) 100%);
    color: #ffffff;
    border-color: rgba(61, 220, 132, 0.3);
}

.android-button:hover {
    background: linear-gradient(135deg, rgba(61, 220, 132, 0.9) 0%, rgba(33, 150, 83, 0.9) 100%);
    border-color: rgba(61, 220, 132, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(33, 150, 83, 0.4);
}

/* Mobile adjustments for modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        width: 85%;
    }

    .modal-content h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .platform-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .platform-icon {
        width: 28px;
        height: 28px;
    }
} 