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

:root {
    --primary-blue: #5DADE2;
    --light-blue: #AED6F1;
    --gray-bg: #2C3E50;
    --gray-light: #5D6D7E;
    --gray-dark: #1A252F;
    --light-green: #58D68D;
    --light-green-dark: #2ECC71;
    --white: #FFFFFF;
    --text-primary: #ECF0F1;
    --text-secondary: #BDC3C7;
    --pixel-size: 4px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--gray-bg) 0%, var(--gray-dark) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.pixel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(93, 173, 226, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(93, 173, 226, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(93, 173, 226, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(93, 173, 226, 0.03) 75%);
    background-size: var(--pixel-size) var(--pixel-size);
    pointer-events: none;
    z-index: 9999;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 37, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 37, 47, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.pixel-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-blue);
    text-shadow: 2px 2px 0 var(--gray-dark);
    letter-spacing: 2px;
}

.pixel-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-green));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.floating-pixels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.pixel {
    position: absolute;
    width: var(--pixel-size);
    height: var(--pixel-size);
    background: var(--primary-blue);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.pixel-1 { top: 10%; left: 5%; animation-delay: 0s; }
.pixel-2 { top: 20%; left: 90%; animation-delay: 0.5s; background: var(--light-green); }
.pixel-3 { top: 60%; left: 3%; animation-delay: 1s; }
.pixel-4 { top: 70%; left: 95%; animation-delay: 1.5s; background: var(--light-green); }
.pixel-5 { top: 30%; left: 85%; animation-delay: 2s; }
.pixel-6 { top: 80%; left: 8%; animation-delay: 2.5s; background: var(--light-green); }
.pixel-7 { top: 40%; left: 92%; animation-delay: 3s; }
.pixel-8 { top: 50%; left: 2%; animation-delay: 3.5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

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

.title-line.highlight {
    background: linear-gradient(90deg, var(--primary-blue), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-description {
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-description p {
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-description p:nth-child(1) { animation-delay: 0.8s; }
.hero-description p:nth-child(2) { animation-delay: 1s; }
.hero-description p:nth-child(3) { animation-delay: 1.2s; }

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 1.4s forwards;
    opacity: 0;
}

.btn {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(93, 173, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(93, 173, 226, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: fadeInRight 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-console {
    width: 400px;
    height: 300px;
    background: linear-gradient(145deg, var(--gray-light), var(--gray-bg));
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: floatConsole 4s ease-in-out infinite;
}

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

.screen {
    width: 100%;
    height: 180px;
    background: var(--gray-dark);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.screen-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #87CEEB 0%, #98FB98 100%);
    position: relative;
    overflow: hidden;
}

.pixel-character {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    background: var(--primary-blue);
    animation: characterJump 2s ease-in-out infinite;
}

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

.pixel-landscape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--light-green);
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 0 20px;
}

.d-pad {
    width: 80px;
    height: 80px;
    position: relative;
}

.d-btn {
    position: absolute;
    width: 25px;
    height: 25px;
    background: var(--gray-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.d-btn:hover {
    background: var(--primary-blue);
}

.d-up { top: 0; left: 50%; transform: translateX(-50%); }
.d-down { bottom: 0; left: 50%; transform: translateX(-50%); }
.d-left { left: 0; top: 50%; transform: translateY(-50%); }
.d-right { right: 0; top: 50%; transform: translateY(-50%); }

.action-btns {
    display: flex;
    gap: 15px;
}

.a-btn, .b-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.a-btn:hover, .b-btn:hover {
    transform: scale(1.1);
    background: var(--light-green);
}

.b-btn {
    background: var(--light-green);
}

.games-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--gray-dark) 0%, var(--gray-bg) 50%, var(--gray-dark) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    background: linear-gradient(145deg, var(--gray-light), var(--gray-bg));
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 173, 226, 0.1), rgba(88, 214, 141, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(93, 173, 226, 0.3);
}

.game-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--gray-dark);
}

.pixel-art-game {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.game-1 {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 100%);
}

.game-1::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.game-2 {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
}

.game-2::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.game-3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-3::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 40px;
    background: var(--light-green);
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
}

.game-4 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.game-4::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--white);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.game-5 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.game-5::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 80px;
    background: var(--primary-blue);
    bottom: 20px;
    left: 30%;
    border-radius: 5px;
}

.game-6 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.game-6::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 40px;
    background: var(--light-green-dark);
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-tag {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.game-info {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.game-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.game-card:hover .game-info h3 {
    color: var(--primary-blue);
}

.game-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.game-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 13px;
}

.stat i {
    color: var(--light-green);
}

.contact-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--gray-dark) 0%, var(--gray-bg) 100%);
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(145deg, var(--gray-light), var(--gray-bg));
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(93, 173, 226, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon::before {
    content: '📞';
    font-size: 24px;
}

.email-icon::before {
    content: '✉️';
    font-size: 24px;
}

.location-icon::before {
    content: '📍';
    font-size: 24px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-text .label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text .value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, var(--gray-light), var(--gray-bg));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
}

.social-icon {
    width: 24px;
    height: 24px;
    background: var(--text-primary);
}

.wechat-icon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.qq-icon {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.douyin-icon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.contact-form {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#contactForm {
    background: linear-gradient(145deg, var(--gray-light), var(--gray-bg));
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--gray-dark);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(93, 173, 226, 0.3);
}

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

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-green));
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-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: left 0.5s ease;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(93, 173, 226, 0.5);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--white);
    border-bottom: 3px solid var(--white);
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: rotate(-45deg) translate(5px, -5px);
}

.footer {
    background: var(--gray-dark);
    padding: 40px;
    text-align: center;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .pixel-text {
    font-size: 24px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-beian {
    margin-bottom: 20px;
}

.footer-beian a {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: linear-gradient(145deg, rgba(93, 173, 226, 0.1), rgba(88, 214, 141, 0.1));
    border: 1px solid rgba(93, 173, 226, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.footer-beian a:hover {
    color: var(--primary-blue);
    background: linear-gradient(145deg, rgba(93, 173, 226, 0.2), rgba(88, 214, 141, 0.2));
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(93, 173, 226, 0.3);
}

.footer-pixels {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-pixel {
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    animation: pixelPulse 1.5s ease-in-out infinite;
}

.footer-pixel:nth-child(2) {
    animation-delay: 0.3s;
    background: var(--light-green);
}

.footer-pixel:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pixelPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-title {
        font-size: 48px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .game-console {
        width: 350px;
        height: 260px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--gray-dark);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .game-console {
        width: 300px;
        height: 220px;
    }

    .screen {
        height: 140px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-text .value {
        font-size: 14px;
    }

    #contactForm {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .game-console {
        width: 260px;
        height: 190px;
    }

    .screen {
        height: 120px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-title {
        font-size: 28px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 12px 15px;
    }
}
