@font-face {
    font-family: "Press Start 2P";
    font-style: normal;
    font-weight: 400;
    src: local("Press Start 2P"),
        url("../fonts/PressStart2P/PressStart2P-Regular.woff") format("woff");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    src: local("Montserrat"),
        url("../fonts/Montserrat/Montserrat-Regular.woff") format("woff");
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 300;
    src: local("Montserrat"),
        url("../fonts/Montserrat/Montserrat-Light.woff") format("woff");
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: local("Montserrat"),
        url("../fonts/Montserrat/Montserrat-Bold.woff") format("woff");
}


/* Global Styles */
:root {
    --primary-color: #1E3A8A;
    --secondary-color: #F97316;
    --light-color: #F8FAFC;
    --dark-color: #1E293B;
    --gray-color: #94A3B8;
    --max-width: 1480px;
    --side-padding: 60px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
    background: #1E293B;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: transparent;
    color: var(--primary-color);
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto;
}

/* Header Styles */
/* Обновленный Header с эффектом заливки */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(30, 58, 138, 0.9); /* Полупрозрачный синий */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Растягиваем на всю высоту */
    padding: 0;
    height: 70px; /* Фиксированная высота шапки */
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
}

.logo-text {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff4d4d, 0 0 20px #ff4d4d;
    animation: neon-glow 1.5s ease-in-out infinite alternate;
}

.logo-game {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-left: 5px;
    animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-glow {
    from { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff4d4d, 0 0 20px #ff4d4d; }
    to { text-shadow: 0 0 10px #fff, 0 0 20px #ff8080, 0 0 30px #ff4d4d, 0 0 40px #ff4d4d; }
}

@keyframes neon-pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); color: #ffcc00; }
}

.nav-list {
    display: flex;
    list-style: none;
    height: 100%; /* На всю высоту шапки */
    margin: 0;
}

.nav-list li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-list a {
    font-weight: 600;
    color: white;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

/* Эффект заливки при наведении */
.nav-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--secondary-color);
    transition: height 0.3s ease;
    z-index: -1;
}

.nav-list li:hover::before {
    height: 100%;
}

.nav-list li:hover a {
    color: white;
    transform: scale(1.05);
}

/* Анимация для мобильного меню */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 0 20px;
    align-items: center;
}

.menu-toggle .bar {
    background: white;
    transition: all 0.4s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(30, 58, 138, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        clip-path: circle(0% at 90% -10%);
        transition: clip-path 0.7s ease;
    }
    
    .nav-list.active {
        clip-path: circle(150% at 90% -10%);
    }
    
    .nav-list li {
        width: 100%;
        justify-content: center;
        padding: 15px 0;
    }
    
    .nav-list a {
        padding: 15px 0;
        font-size: 1.2rem;
    }
    
    .nav-list li::before {
        display: none;
    }
    
    .nav-list li:hover a {
        transform: none;
        color: var(--secondary-color);
    }
}


/* Hero Section */
.hero-game {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.9)), 
                url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: 0;
}

.hero-game .game-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    position: relative;
    animation: text-flicker 1.5s infinite alternate;
}

.game-subtitle {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: #F97316;
    text-shadow: 0 0 5px rgba(249, 115, 22, 0.7);
}

.hero-game-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
    background: rgba(30, 58, 138, 0.7);
    border: 4px solid #F97316;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-game-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-game {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    padding: 15px 25px;
    border: 3px solid #F97316;
    background: rgba(30, 58, 138, 0.8);
    color: white;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-game:hover {
    background: #F97316;
    color: white;
    text-shadow: 0 0 5px white;
    box-shadow: 0 0 15px #F97316;
}

.btn-game::before {
    content: '>';
    position: absolute;
    left: 10px;
    opacity: 0;
    transition: all 0.3s;
}

.btn-game:hover::before {
    opacity: 1;
    left: 15px;
}

.pixel-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #F97316;
    animation: float 3s ease-in-out infinite;
}

.pixel-decoration:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.pixel-decoration:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 0.5s;
}

.pixel-decoration:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes text-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

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

@media (max-width: 768px) {
    .hero-game .game-title {
        font-size: 2rem;
    }
    
    .game-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-game-content {
        padding: 20px;
    }
    
    .btn-game {
        font-size: 0.7rem;
        padding: 10px 15px;
    }
}

/* Features Section */
/* Features Game Styles */
    .features-game {
        padding: 6rem 0;
        background: #1E293B;
        position: relative;
        overflow: hidden;
    }

    .features-game::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            linear-gradient(rgba(30, 58, 138, 0.1), rgba(30, 58, 138, 0.1)),
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
        z-index: 0;
    }

    .section-title-game {
        font-family: 'Press Start 2P', cursive;
        font-size: 1.8rem;
        color: #F97316;
        text-align: center;
        margin-bottom: 4rem;
        text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
        position: relative;
        animation: text-flicker 1.5s infinite alternate;
    }

    .features-grid-game {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        position: relative;
        z-index: 1;
    }

    .feature-card-game {
        background: rgba(30, 58, 138, 0.7);
        border: 3px solid #F97316;
        padding: 2.5rem 1.5rem;
        text-align: center;
        position: relative;
        transition: all 0.3s ease;
        box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
    }

    .feature-card-game:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 10px 25px rgba(249, 115, 22, 0.5);
    }

    .feature-icon-game {
        font-size: 3rem;
        color: #F97316;
        margin-bottom: 1.5rem;
        text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
    }

    .feature-title-game {
        font-family: 'Press Start 2P', cursive;
        font-size: 1.2rem;
        color: white;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
    }

    .feature-text-game {
        font-family: 'Montserrat', sans-serif;
        color: #94A3B8;
        line-height: 1.6;
    }

    .pixel-corners {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
    }

    .pixel-corners .pixel {
        position: absolute;
        width: 8px;
        height: 8px;
        background: #F97316;
    }

    .pixel-corners .pixel:nth-child(1) {
        top: 0;
        left: 0;
    }

    .pixel-corners .pixel:nth-child(2) {
        top: 0;
        right: 0;
    }

    .pixel-corners .pixel:nth-child(3) {
        bottom: 0;
        left: 0;
    }

    .pixel-corners .pixel:nth-child(4) {
        bottom: 0;
        right: 0;
    }

    /* Animations */
    @keyframes pixel-pulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.8;
        }
        50% {
            transform: scale(1.1);
            opacity: 1;
        }
    }

    .feature-icon-game i {
        animation: pixel-pulse 2s infinite;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .section-title-game {
            font-size: 1.3rem;
            margin-bottom: 2rem;
        }
        
        .feature-card-game {
            padding: 1.5rem 1rem;
        }
        
        .feature-title-game {
            font-size: 1rem;
        }
        
        .feature-icon-game {
            font-size: 2rem;
        }
    }


/* Testimonials Section */
/* Testimonials Game Styles */
.testimonials-game {
    padding: 6rem 0;
    background: #1E293B;
    position: relative;
    overflow: hidden;
}

.testimonials-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(30, 58, 138, 0.1), rgba(30, 58, 138, 0.1)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: 0;
}

.testimonials-grid-game {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card-game {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

.testimonial-content-game::before {
    content: '"';
    font-family: 'Press Start 2P', cursive;
    font-size: 4rem;
    color: #F97316;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-text-game {
    font-family: 'Montserrat', sans-serif;
    color: #E2E8F0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author-game {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: #F97316;
    text-transform: uppercase;
}

.pixel-bullet {
    color: #F97316;
    margin-right: 8px;
}

/* Contact Game Styles */
.contact-game {
    padding: 6rem 0;
    background: #1E3A8A;
    position: relative;
    overflow: hidden;
}

.contact-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(30, 58, 138, 0.2), rgba(30, 58, 138, 0.2)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><rect width="1" height="1" fill="rgba(255,255,255,0.1)"/></svg>');
    z-index: 0;
}

.contact-grid-game {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info-game {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

.contact-subtitle-game {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.contact-detail-game {
    font-family: 'Montserrat', sans-serif;
    color: #E2E8F0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pixel-icon {
    color: #F97316;
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-social-game {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon-game {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(249, 115, 22, 0.2);
    border: 2px solid #F97316;
    color: white;
    transition: all 0.3s;
}

.social-icon-game:hover {
    background: #F97316;
    transform: translateY(-3px);
}

.contact-form-game {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

.form-input-game,
.form-textarea-game {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #F97316;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.form-textarea-game {
    min-height: 150px;
}

.privacy-checkbox-game {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: #E2E8F0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.pixel-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #F97316;
    margin-right: 10px;
    position: relative;
}

.pixel-checkbox:checked::before {
    content: '✓';
    position: absolute;
    color: #F97316;
    font-weight: bold;
    left: 3px;
    top: -2px;
}

/* Footer Game Styles */
.footer-game {
    background: #0F172A;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #F97316, transparent);
}

.footer-content-game {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo-game {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
}

.footer-logo-game .logo-text {
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 0 5px white;
}

.footer-logo-game .logo-game {
    font-size: 1.2rem;
    color: #F97316;
    margin-left: 5px;
}

.footer-links-game ul {
    list-style: none;
}

.footer-links-game li {
    margin-bottom: 1rem;
}

.footer-links-game a {
    color: #94A3B8;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links-game a:hover {
    color: #F97316;
    transform: translateX(5px);
}

.pixel-arrow {
    color: #F97316;
    margin-right: 10px;
    font-size: 0.8rem;
}

.footer-legal-game {
    color: #64748B;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-pixel-line {
    height: 1px;
    background: repeating-linear-gradient(90deg, 
        transparent, 
        transparent 10px, 
        #F97316 10px, 
        #F97316 20px);
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title-game {
        font-size: 1.3rem;
    }
    
    .contact-subtitle-game {
        font-size: 1rem;
    }
    
    .footer-logo-game .logo-text {
        font-size: 1.5rem;
    }
    
    .footer-logo-game .logo-game {
        font-size: 1rem;
    }
}


/* Game Container Styles */
    .game-container {
        max-width: 1000px;
        margin: 40px auto;
        padding: 20px;
        background: #1E293B;
        border: 4px solid #F97316;
        box-shadow: 0 0 20px rgba(249, 115, 22, 0.5),
                    inset 0 0 20px rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
    }

    .game-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
        z-index: 0;
    }

    /* Game Header */
    .game-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #F97316;
        position: relative;
        z-index: 1;
    }

    .game-container .game-title {
        font-family: 'Press Start 2P', cursive;
        font-size: 1.5rem;
        color: #F97316;
        text-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
        margin: 0;
        animation: text-flicker 1.5s infinite alternate;
    }

    .game-status {
        display: flex;
        align-items: center;
        gap: 15px;
        font-family: 'Press Start 2P', cursive;
        font-size: 0.8rem;
        color: white;
    }

    .status-label {
        color: #94A3B8;
    }

    .player-name {
        color: #F97316;
        min-width: 100px;
        text-align: center;
    }

    .player-score {
        color: white;
        min-width: 30px;
        text-align: center;
    }

    /* Game Board */
    .game-board {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        position: relative;
        z-index: 1;
    }

    #gameCanvas {
        width: 100%;
        background: #0F172A;
        border: 3px solid #F97316;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
        display: block;
        margin: 0 auto;
    }

    /* Game Controls */
    .game-controls {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .info-box {
        background: rgba(30, 58, 138, 0.5);
        border: 2px solid #F97316;
        padding: 10px;
        margin-bottom: 10px;
    }

    .info-label {
        font-family: 'Press Start 2P', cursive;
        font-size: 0.7rem;
        color: #94A3B8;
        display: block;
        margin-bottom: 5px;
    }

    .info-value {
        font-family: 'Press Start 2P', cursive;
        font-size: 0.9rem;
        color: white;
    }

    .tokens-display {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        min-height: 40px;
    }

    .token {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid #333;
    }

    /* Cards Section */
    .cards-section, .sets-section {
        background: rgba(30, 58, 138, 0.5);
        border: 2px solid #F97316;
        padding: 15px;
    }

    .section-title {
        font-family: 'Press Start 2P', cursive;
        font-size: 0.8rem;
        color: #F97316;
        margin-bottom: 15px;
        text-transform: uppercase;
    }

    .cards-display {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .card {
        width: 80px;
        height: 110px;
        background: #FFD700;
        border: 2px solid #333;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px;
        font-family: 'Press Start 2P', cursive;
        font-size: 0.6rem;
        text-align: center;
        color: #333;
    }

    .card.set {
        background: white;
    }

    /* Sets Section */
    .sets-display {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .set-item {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid #F97316;
        padding: 10px;
    }

    .set-name {
        font-family: 'Press Start 2P', cursive;
        font-size: 0.7rem;
        color: white;
        margin-bottom: 10px;
    }

    .set-tokens {
        display: flex;
        gap: 10px;
    }

    /* Game Log */
    .game-log-container {
        margin-top: 20px;
        background: rgba(30, 58, 138, 0.5);
        border: 2px solid #F97316;
        padding: 15px;
        position: relative;
        z-index: 1;
    }

    .log-title {
        font-family: 'Press Start 2P', cursive;
        font-size: 0.8rem;
        color: #F97316;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .game-log {
        height: 150px;
        overflow-y: auto;
        background: #0F172A;
        border: 2px solid #333;
        padding: 10px;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9rem;
        color: #E2E8F0;
    }

    .game-log::-webkit-scrollbar {
        width: 8px;
    }

    .game-log::-webkit-scrollbar-track {
        background: #1E293B;
    }

    .game-log::-webkit-scrollbar-thumb {
        background: #F97316;
    }

    .log-entry {
        margin-bottom: 8px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(249, 115, 22, 0.3);
    }

    /* Animations */
    @keyframes text-flicker {
        0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
            opacity: 1;
            text-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
        }
        20%, 24%, 55% {
            opacity: 0.8;
            text-shadow: none;
        }
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 0 5px rgba(249, 115, 22, 0.5);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 0 15px rgba(249, 115, 22, 0.8);
        }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .game-container .game-title {
            font-size: 1.1rem;
        }
        
        .game-status {
            font-size: 0.6rem;
            gap: 8px;
        }
        
        .game-controls {
            grid-template-columns: 1fr;
        }
        
        .card {
            width: 70px;
            height: 100px;
            font-size: 0.5rem;
        }
    }

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --side-padding: 30px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list li {
        margin: 1.5rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card, .testimonial-card {
        padding: 1.5rem;
    }
}

/* Game Description Section */
.game-description {
    padding: 6rem 0;
    background: #1E293B;
    position: relative;
    overflow: hidden;
}

.game-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(30, 58, 138, 0.1), rgba(30, 58, 138, 0.1)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: 0;
}

.description-content {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}

.description-content h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #F97316;
    margin: 1.5rem 0 1rem;
    text-transform: uppercase;
}

.description-content p, 
.description-content li {
    font-family: 'Montserrat', sans-serif;
    color: #E2E8F0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.description-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.description-content li {
    margin-bottom: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .description-content {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}


/* Demo Section Styles */
.demo-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><rect width="2" height="2" fill="rgba(249,115,22,0.1)"/></svg>');
    z-index: 0;
}

.demo-wrapper {
    position: relative;
    z-index: 2;
}

.demo-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.pixel-text {
    font-family: 'Press Start 2P', cursive;
    color: #F97316;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.7);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.pixel-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #F97316;
    box-shadow: 0 0 10px #F97316;
}

.demo-description {
    font-size: 1.1rem;
    color: #E2E8F0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.demo-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.highlight-item {
    background: rgba(30, 58, 138, 0.6);
    border: 2px solid #F97316;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.highlight-icon {
    font-size: 2rem;
    color: #F97316;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.highlight-item p {
    font-size: 0.9rem;
    color: #E2E8F0;
    margin: 0;
}

.btn-demo-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: #F97316;
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
    animation: pulse 2s infinite;
}

.btn-demo-pulse:hover {
    background: #ff8c42;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.8);
}

.btn-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.demo-screenshot {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border: 4px solid #F97316;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.screenshot-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.demo-screenshot:hover .screenshot-img {
    transform: scale(1.02);
}

.pixel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><rect width="1" height="1" fill="rgba(249,115,22,0.05)"/></svg>');
    pointer-events: none;
}

/* Pixel decorations */
.pixel-demo-decoration {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #F97316;
    animation: float 4s ease-in-out infinite;
    z-index: 1;
}

.pixel-demo-decoration:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.pixel-demo-decoration:nth-child(2) {
    top: 70%;
    right: 15%;
    animation-delay: 0.5s;
}

.pixel-demo-decoration:nth-child(3) {
    bottom: 10%;
    left: 20%;
    animation-delay: 1s;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pixel-text {
        font-size: 1.5rem;
    }
    
    .demo-description {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .highlight-item {
        min-width: 140px;
        padding: 1rem 0.5rem;
    }
    
    .btn-demo-pulse {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }
}


/* Legal Pages Styles */
.legal-page {
    padding: 100px 0 60px;
    background: #1E293B;
    min-height: calc(100vh - 160px);
}

.legal-content {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 3rem;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.legal-title {
    font-family: 'Press Start 2P', cursive;
    color: #F97316;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
    width: 100%;
}

.legal-last-update {
    text-align: center;
    color: #94A3B8;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: 'Press Start 2P', cursive;
    color: #F97316;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.legal-section p {
    color: #E2E8F0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-list {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #E2E8F0;
}

.legal-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-list li::before {
    content: '■';
    color: #F97316;
    position: absolute;
    left: -1.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E2E8F0;
    margin-top: 1rem;
}

.contact-info i {
    color: #F97316;
}

/* Thanks Page Styles */
.thanks-page {
    padding: 100px 0;
    background: #1E293B;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
}

.thanks-content {
    background: rgba(30, 58, 138, 0.7);
    border: 3px solid #F97316;
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.thanks-icon {
    font-size: 4rem;
    color: #4ADE80;
    margin-bottom: 1.5rem;
    animation: bounce 1s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

.thanks-title {
    font-family: 'Press Start 2P', cursive;
    color: #F97316;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.thanks-message {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.thanks-submessage {
    color: #94A3B8;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.thanks-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.thanks-buttons .btn-game {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thanks-social p {
    color: #94A3B8;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(249, 115, 22, 0.2);
    border: 2px solid #F97316;
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #F97316;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content, .thanks-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-title, .thanks-title {
        font-size: 1.4rem;
    }
    
    .thanks-message {
        font-size: 1.1rem;
    }
    
    .thanks-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thanks-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}