@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-bg-color: #000000; /* Pure black */
    --secondary-bg-color: #1a1a1a; /* Dark gray for sections - Kept for fallback, but will remove from main sections */
    --neon-white-color: #ffffff; /* Pure white */
    --neon-glow-color: rgba(255, 255, 255, 0.7); /* For white glow */
    --text-color-muted: #aaaaaa; /* Lighter gray for secondary text */
    --border-color: #444444; /* Gray for borders */
    --hover-bg-color: #333333; /* Darker gray on hover */
    --toast-bg-color: rgba(255, 255, 255, 0.1); /* Background for toasts */
    --toast-border-color: rgba(255, 255, 255, 0.4); /* Border for toasts */
    --neon-accent-color: #00ffff; /* A subtle blue-cyan for accents, kept but not used on hover now */
    --neon-purple-color: #9900ff; /* A subtle purple for accents, kept but not used on hover now */
}

body, html {
    transition: background 0.5s cubic-bezier(.4,2,.6,1), color 0.5s cubic-bezier(.4,2,.6,1), filter 0.5s cubic-bezier(.4,2,.6,1);
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-bg-color);
    color: var(--neon-white-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 1; /* Ensure body is above background */
    scroll-behavior: smooth; /* Smooth scrolling enabled */
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
}

/* General neon text styles */
.neon-text {
    color: var(--neon-white-color);
    text-shadow: 0 0 2px var(--neon-glow-color);
    animation: neon-flicker 2s infinite alternate ease-in-out;
    transition: text-shadow 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1);
}

@keyframes neon-flicker {
    0%, 100% {
        text-shadow: 0 0 2px var(--neon-glow-color);
    }
    50% {
        text-shadow: 0 0 4px var(--neon-glow-color);
    }
}

/* Background with falling stars */
.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

/* Star generation via JavaScript, but CSS provides base animation */
@keyframes star-fall {
    from {
        transform: translateX(100vw) translateY(var(--start-y)) rotate(-45deg) scale(var(--start-scale));
        opacity: var(--start-opacity);
    }
    to {
        transform: translateX(calc(-100vw - var(--star-size))) translateY(var(--end-y)) rotate(-45deg) scale(var(--end-scale));
        opacity: var(--end-opacity);
    }
}

.star {
    position: absolute;
    background-color: var(--neon-white-color);
    border-radius: 50%;
    filter: blur(1px);
    animation: star-fall linear infinite;
    transform-origin: center center;
}

/* New: Subtle grid overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none; /* Allows clicks through the overlay */
}


/* Navigation bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.02);
    transition: background 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1), filter 0.3s cubic-bezier(.4,2,.6,1), border 0.3s cubic-bezier(.4,2,.6,1);
}

.nav-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.nav-brand:hover {
    transform: scale(1.03);
    text-shadow: 0 0 10px var(--neon-glow-color);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s cubic-bezier(.4,2,.6,1), text-shadow 0.3s cubic-bezier(.4,2,.6,1), transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--neon-white-color);
    text-shadow: 0 0 8px var(--neon-glow-color);
    transform: translateY(-2px);
}


/* Main content container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px;
    position: relative;
    z-index: 1;
    display: block;
    transition: background 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1), filter 0.3s cubic-bezier(.4,2,.6,1), border 0.3s cubic-bezier(.4,2,.6,1);
}

/* Hero section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 40px 0 0 40px;
    min-height: unset;
    justify-content: flex-start;
    transition: background 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1), filter 0.3s cubic-bezier(.4,2,.6,1), border 0.3s cubic-bezier(.4,2,.6,1);
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5em;
    font-weight: 900;
    margin: 0;
    line-height: 0.9;
    animation: neon-flicker 2s infinite alternate ease-in-out;
    transition: text-shadow 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1);
    text-shadow: 0 0 6px var(--neon-glow-color),
                 0 0 10px var(--neon-glow-color);
}

.advanced-loader-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    color: var(--neon-white-color);
    margin: 0 0 20px 0;
    line-height: 1;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.15);
    animation: slideInFromLeft 1s ease-out forwards;
    transition: text-shadow 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1);
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 550px;
    color: var(--text-color-muted);
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transition: background 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1), filter 0.3s cubic-bezier(.4,2,.6,1), border 0.3s cubic-bezier(.4,2,.6,1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* Button layout (modernized) */
.main-buttons-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    margin-left: 0px;
    transition: background 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s cubic-bezier(.4,2,.6,1), filter 0.3s cubic-bezier(.4,2,.6,1), border 0.3s cubic-bezier(.4,2,.6,1);
}

/* General button styles */
button, .features-button {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    padding: 15px 35px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow 0.3s cubic-bezier(.4,2,.6,1), background 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1), transform 0.2s cubic-bezier(.4,2,.6,1), border 0.3s cubic-bezier(.4,2,.6,1), filter 0.3s cubic-bezier(.4,2,.6,1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-white-color);
    background: transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    box-shadow: 0 0 10px 1px #fff, 0 0 2px 1px #fff inset;
}

button::before, .features-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    z-index: -1;
    transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    transform-origin: left;
    transform: scaleX(0);
}

button:hover::before, .features-button:hover::before {
    transform: scaleX(1);
    background: rgba(0,0,0,0.15);
}


/* Button Click/Active Effect */
button:active, .features-button:active {
    transform: scale(0.97);
    box-shadow: 0 0 8px var(--neon-glow-color);
}

/* New: Button Neon Flicker */
.interactive-button {
    animation: button-neon-flicker 2s infinite alternate;
}

@keyframes button-neon-flicker {
    0%, 100% {
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.08), inset 0 0 3px rgba(255, 255, 255, 0.03);
    }
    50% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2), inset 0 0 5px rgba(255, 255, 255, 0.1);
    }
}


/* Icons for buttons (SVG embedded via data URI) */
.button-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter 0.3s ease, transform 0.3s ease;
}
button:hover .button-icon, .features-button:hover .button-icon {
    transform: translateX(3px);
}


.download-button .button-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>');
    filter: invert(0) drop-shadow(0 0 3px rgba(0,0,0,0.2));
}

.features-button .button-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>');
    filter: invert(0) drop-shadow(0 0 3px rgba(0,0,0,0.2));
}


/* Specific button styles */
.download-button, .features-button {
    background-color: var(--neon-white-color);
    color: var(--primary-bg-color);
    border-color: var(--neon-white-color);
    font-weight: bold;
    text-shadow: 0 0 8px #fff, 0 0 12px #fff;
    box-shadow: 0 0 20px 4px #fff, 0 0 4px 1px #fff inset;
    transition: box-shadow 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}
.download-button:hover, .features-button:hover {
    background-color: var(--neon-white-color);
    color: var(--primary-bg-color);
    box-shadow: 0 0 24px 6px #fff, 0 0 6px 2px #fff inset;
    transform: scale(1.05);
}


.password-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    transition: all 0.2s ease;
    animation: slideInFromBottom 0.8s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.05);
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.password-section:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px var(--neon-glow-color);
    transform: translateY(-2px);
}

.password-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Icons for password section */
.password-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 1px var(--neon-glow-color));
}

.password-value {
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    color: var(--neon-white-color);
    text-shadow: 0 0 3px var(--neon-glow-color);
}

.copy-button {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
    margin-left: 15px;
    color: var(--neon-white-color);
    text-shadow: none;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.copy-button:hover {
    background-color: var(--neon-glow-color);
    color: var(--primary-bg-color);
    text-shadow: none;
    box-shadow: 0 0 10px var(--neon-glow-color);
}

.copy-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 2px var(--neon-glow-color));
    margin-right: 5px;
}
/* Checkmark icon for copied message */
.copy-icon.check-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
}


/* General section styles */
section {
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    overflow: visible;
}

.supported-games-section,
.features-section,
.faq-section {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Неоновая подсветка для секций */
.supported-games-section::before,
.features-section::before,
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 20px var(--neon-glow-color),
                inset 0 0 10px var(--neon-glow-color);
    pointer-events: none;
    z-index: -1;
    opacity: 0.05;
    border-radius: 10px;
}
/* Для FAQ секции, чтобы она не была на весь экран */
.faq-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}
.faq-section::before {
    border-radius: 10px;
}


.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background-color: var(--neon-white-color);
    margin: 15px auto 0;
    box-shadow: 0 0 4px var(--neon-glow-color);
    transition: width 0.4s ease-out;
}

/* For AOS animations on section titles */
[data-aos="fade-up"].aos-animate .section-title::after {
    width: 100%;
}


/* Game logos grid */
.game-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

.game-logo-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
}

.game-logo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 20px var(--neon-glow-color), inset 0 0 8px var(--neon-glow-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.game-logo-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: filter 0.2s ease;
}

.game-logo-item:hover img {
    filter: drop-shadow(0 0 10px var(--neon-glow-color));
}

.game-logo-item p {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    color: var(--neon-white-color);
}


/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 0 15px var(--neon-glow-color), inset 0 0 6px var(--neon-glow-color);
    background-color: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--neon-white-color);
}

.feature-card p {
    color: var(--text-color-muted);
    font-size: 1em;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.03);
    transition: box-shadow 0.2s ease;
}

.accordion-item:hover {
    box-shadow: 0 0 10px var(--neon-glow-color);
}

.accordion-header {
    width: 100%;
    background-color: transparent;
    color: var(--neon-white-color);
    padding: 18px 25px;
    border: none;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.08);
    text-shadow: 0 0 6px var(--neon-glow-color);
}

.accordion-header.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-top: 2px solid var(--neon-white-color);
    border-right: 2px solid var(--neon-white-color);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    filter: drop-shadow(0 0 2px var(--neon-glow-color));
}

.accordion-header.active .accordion-icon {
    transform: rotate(135deg);
}

.accordion-content {
    background-color: rgba(255, 255, 255, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px;
    box-sizing: border-box;
}

.accordion-content p {
    padding-top: 15px;
    padding-bottom: 20px;
    margin: 0;
    color: var(--text-color-muted);
}


/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(2px);
    position: relative;
    z-index: 100;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-nav a:hover {
    color: var(--neon-white-color);
    text-shadow: 0 0 8px var(--neon-glow-color);
}

.copyright {
    color: var(--text-color-muted);
    font-size: 0.9em;
    margin: 5px 0;
}

/* Toast notifications */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--neon-white-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInToast 0.4s forwards, fadeOutToast 0.4s 2s forwards;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.error {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.5);
}

@keyframes fadeInToast {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutToast {
    to {
        opacity: 0;
        transform: translateY(15px);
    }
}

.toast-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

.toast.success .toast-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
}

.toast.error .toast-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg>');
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
    }
    .nav-links {
        margin-top: 15px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-brand {
        font-size: 1.5em;
    }
    .hero-section {
        align-items: center;
        text-align: center;
        padding: 50px 0;
    }
    .main-title {
        font-size: 3em;
    }
    .advanced-loader-title {
        font-size: 2.5em;
    }
    .description {
        max-width: 100%;
    }
    .main-buttons-container {
        flex-direction: column;
        width: 80%;
        margin-left: 0;
    }
    button, .features-button {
        width: 100%;
    }
    .password-section {
        flex-direction: column;
        align-items: center;
        width: 90%;
        padding: 15px;
        margin-left: 0;
    }
    .password-box {
        flex-direction: column;
        gap: 5px;
    }
    .copy-button {
        margin-left: 0;
        margin-top: 10px;
        width: calc(100% - 20px);
    }
    .section-title {
        font-size: 2em;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        padding: 20px;
    }
    .faq-accordion {
        padding: 0 10px;
    }
    .accordion-header {
        padding: 15px 20px;
        font-size: 1em;
    }
    .accordion-content {
        padding: 0 20px;
    }
    .game-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 20px;
        padding: 10px;
    }
    .game-logo-item {
        padding: 15px;
    }
    .game-logo-item img {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }
    .main-title {
        font-size: 2.5em;
    }
    .advanced-loader-title {
        font-size: 2em;
    }
    .description {
        font-size: 0.9em;
    }
    button, .features-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .password-section {
        padding: 10px;
    }
    .password-label, .password-value {
        font-size: 0.9em;
    }
    .copy-button {
        font-size: 0.8em;
    }
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
}

/* Supported Games Section - LUMEN theme adaptation */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}

.game-card {
    background: #101010;
    border: 1px solid #232323;
    border-radius: 8px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,0.2);
    color: #fff;
    padding: 0;
    min-width: unset;
    max-width: 280px;
    transition: all 0.2s cubic-bezier(.4,2,.6,1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.game-image {
    width: 100%;
    height: 180px;
    background: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    transition: box-shadow 0.2s cubic-bezier(.4,2,.6,1), transform 0.2s cubic-bezier(.4,2,.6,1);
}

.game-card:hover .game-image {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: auto;
    background: none;
    border-radius: 4px;
    box-shadow: none;
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.game-info {
    padding: 0.6rem 0.8rem 0.8rem 0.8rem;
    position: relative;
    z-index: 2;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--neon-white-color);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s cubic-bezier(.4,2,.6,1), text-shadow 0.2s cubic-bezier(.4,2,.6,1);
}

.game-description {
    color: var(--text-color-muted);
    font-size: 0.85em;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.2s cubic-bezier(.4,2,.6,1);
}

.tag {
    display: inline-block;
    font-size: 0.8em;
    font-family: 'Roboto', monospace;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 0.2rem;
    margin-right: 0.2rem;
    letter-spacing: 0.5px;
    border: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(200,200,200,0.7) 100%);
    color: #101010;
    text-shadow: 0 0 4px #fff, 0 0 0 #fff;
    box-shadow: 0 0 5px 1px #fff, 0 0 1px #fff;
    animation: tagWhiteNeonGlow 1.5s infinite alternate;
    transition: box-shadow 0.2s, background 0.2s, color 0.2s, text-shadow 0.2s;
}

@keyframes tagWhiteNeonGlow {
    0% { box-shadow: 0 0 4px 1px #fff, 0 0 1px #fff; }
    100% { box-shadow: 0 0 8px 2px #fff, 0 0 2px #fff; }
}

@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    .game-card {
        max-width: 320px;
        margin: 0 auto;
    }
}