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

/* Modern CSS Variables */
:root {
    --primary: #FF6B35;
    --secondary: #00A8E8;
    --dark: #0A1A2F;
    --light: #F8F9FF;
    --card-bg: #FFFFFF;
    --text-dark: #2D3748;
    --text-light: #F8F9FF;
    --success: #4BB543;
    --warning: #FFD166;
    --error: #EF476F;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --sparkle: #FFD700;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 26, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.logo:hover .logo-icon::before {
    transform: rotate(45deg) translateY(100%);
}

.logo-text {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.logo:hover .logo-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    opacity: 0.9;
}

nav a:hover {
    opacity: 1;
    color: white;
}

nav a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: var(--transition);
}

nav a:hover::before {
    width: 100%;
}

nav a.active {
    opacity: 1;
    font-weight: 600;
}

nav a.active::before {
    width: 100%;
}

.nav-cta {
    margin-left: 30px;
}

.nav-cta a {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

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

.nav-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.nav-cta a:hover::before {
    left: 100%;
}


/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.95) 0%, rgba(0, 168, 232, 0.15) 100%);
    color: var(--text-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--warning));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Access Form */
.access-form {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.form-group {
    position: relative;
}

.input-group {
    display: flex;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.input-group input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    background: white;
}

.input-group input::placeholder {
    color: #A0AEC0;
}

.btn {
    padding: 18px 35px;
    border: none;
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

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

.btn-primary:hover::before {
    left: 100%;
}

/* Challenge Section */
.challenge-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.03) 0%, rgba(0, 168, 232, 0.05) 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Game Container from game.html - Adapted */
.game-container {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transition: var(--transition);
}

.game-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.game-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: var(--border-radius-md);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.players-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.player {
    padding: 15px;
    border-radius: var(--border-radius-md);
    text-align: center;
    flex: 1;
    transition: var(--transition);
}

.player.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.player-1 {
    background: rgba(255, 107, 53, 0.15);
}

.player-2 {
    background: rgba(0, 168, 232, 0.15);
}

.player-score {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 5px 0;
    color: var(--dark);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.tile {
    aspect-ratio: 1/1;
    background: #e0e0e0;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tile:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tile.flipped {
    background: white;
    color: var(--text-dark);
    transform: rotateY(180deg) scale(-1, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tile.matched {
    background: var(--success);
    color: white;
    cursor: default;
}

.tile.matched.player-1 {
    box-shadow: 0 0 0 3px var(--primary);
}

.tile.matched.player-2 {
    box-shadow: 0 0 0 3px var(--secondary);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.game-btn {
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.game-btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.game-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

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

.game-btn-primary:hover::before {
    left: 100%;
}

.game-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.winner-message {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
    min-height: 24px;
    color: var(--dark);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(0,168,232,0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: var(--transition);
}

.feature-card:hover .feature-title::after {
    width: 100%;
}

.feature-desc {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 20px;
}

/* Footer */
footer {
    position: relative;
    background: var(--dark);
    color: white;
    padding: 100px 0 40px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDEyMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHBhdGggZmlsbD0iIzBBMUEyRiIgZD0iTTAsNjEuNUMyMDAsMTUwIDQwMCw2IDYwMCw0N0M4MDAsODggMTAwMCw2MS41IDEyMDAsOTcuNUMxNDAwLDEzMy41IDAsNjEuNSAwLDYxLjVaIj48L3BhdGg+PC9zdmc+');
    background-size: 1200px 100px;
    transform: rotate(180deg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.5rem;
}

.footer-about p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

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

.footer-links a,
.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
    position: relative;
}

.footer-links a::before,
.contact-info a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.footer-links a:hover,
.contact-info a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::before,
.contact-info a:hover::before {
    width: 100%;
}

.footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.contact-info {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: var(--primary);
}


.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Добавьте это в секцию стилей */
.input-group input:invalid {
    border: 2px solid var(--error);
}

.input-group input:valid {
    border: 2px solid var(--success);
}

.validation-message {
    color: var(--error);
    font-size: 0.9rem;
    margin-top: 8px;
    height: 20px;
    opacity: 0;
    transition: var(--transition);
}

.validation-message.show {
    opacity: 1;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.03) 0%, rgba(0, 168, 232, 0.05) 100%);
}

.feedback-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.feedback-form .form-group {
    margin-bottom: 25px;
    flex: 1;
}

.feedback-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.feedback-form .form-group input,
.feedback-form .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.feedback-form .form-group input:focus,
.feedback-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    background: white;
}

.feedback-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.feedback-form .checkbox-group {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.feedback-form .checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.feedback-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.feedback-form .checkbox-group a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.feedback-form .checkbox-group a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.feedback-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-md);
}


/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}


.cta-section h2 {
    margin-bottom: 30px;
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-btn {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: var(--primary);
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.cta-btn:hover::before {
    left: 100%;
}


/* Responsive Design */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

    nav {
        display: none;
        position: fixed;
        top: 74px;
        left: 0;
        width: 100%;
        background: rgba(10, 26, 47, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    }

    nav.active {
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-cta {
        margin: 20px 0 0;
        width: 100%;
    }

    .nav-cta a {
        display: block;
        text-align: center;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .input-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    }

    .input-group input {
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }

    .game-grid {
        gap: 10px;
        padding: 15px;
    }

    .controls {
        flex-direction: column;
    }

    .game-btn {
        width: 100%;
    }
}