/* 专业商务风格样式 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
    background: #ffffff;
    min-height: 100vh;
}

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

/* 导航栏 - 专业商务风格 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 50px;
    width: auto;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-left: 0.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    min-width: 200px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: #f9fafb;
    color: #2563eb;
    border-left-color: #2563eb;
}

.dropdown .nav-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
    color: white;
}

.hero-title {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: 2px solid #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about {
    background: white;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.about-text {
    text-align: center;
}

.about-text h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-4px);
    background: white;
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
}

.games {
    background: #f8fafc;
    position: relative;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.game-image {
    position: relative;
    overflow: hidden;
}

.game-screenshot {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.casual-game {
    background: linear-gradient(45deg, #f3f4f6 0%, #e5e7eb 100%);
}

.action-game {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.strategy-game {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.candy-elements, .fruit-elements, .gem-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
}

.candy, .fruit, .gem {
    position: absolute;
    font-size: 2rem;
    animation: magicFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.candy:hover, .fruit:hover, .gem:hover {
    animation-duration: 1s;
    transform: scale(1.2);
}

/* 游戏卡片悬停时的动画增强 */
.game-card:hover .candy,
.game-card:hover .fruit,
.game-card:hover .gem {
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
}

.game-card:hover .explosion,
.game-card:hover .combo {
    animation: magicPulse 0.8s ease-in-out infinite;
}

/* 不同位置的元素动画延迟 */
.candy-1, .fruit-1, .gem-1 { 
    top: 20%; 
    left: 20%; 
    animation-delay: 0s;
}
.candy-2, .fruit-2, .gem-2 { 
    top: 30%; 
    right: 25%; 
    animation-delay: 0.5s;
}
.candy-3, .fruit-3, .gem-3 { 
    bottom: 35%; 
    left: 30%; 
    animation-delay: 1s;
}
.candy-4, .fruit-4, .gem-4 { 
    top: 50%; 
    right: 20%; 
    animation-delay: 1.5s;
}
.candy-5, .fruit-5, .gem-5 { 
    bottom: 20%; 
    right: 35%; 
    animation-delay: 2s;
}

.explosion { 
    top: 40%; 
    left: 45%; 
    animation-delay: 0.8s;
}
.combo { 
    top: 60%; 
    left: 60%; 
    animation-delay: 1.2s;
}

.candy-1::before { content: '⭐'; }
.candy-2::before { content: '💎'; }
.candy-3::before { content: '🔷'; }
.candy-4::before { content: '🔶'; }
.candy-5::before { content: '✨'; }

.fruit-1::before { content: '🎯'; }
.fruit-2::before { content: '⚡'; }
.fruit-3::before { content: '🏆'; }
.fruit-4::before { content: '🎮'; }
.fruit-5::before { content: '🎲'; }

.gem-1::before { content: '💎'; }
.gem-2::before { content: '💍'; }
.gem-3::before { content: '🔷'; }
.gem-4::before { content: '🔶'; }
.gem-5::before { content: '✨'; }

.explosion::before { content: '💥'; }
.combo::before { content: '⚡'; }

.game-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.game-title-overlay h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.8rem;
}

.game-info p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-1px);
}

.game-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.game-stats span {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.game-stats i {
    margin-right: 0.5rem;
    color: #f59e0b;
}

.services {
    background: #f8fafc;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-6px);
    background: white;
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-link {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.service-link:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact {
    background: white;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    space-y: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.contact-item:hover {
    background: white;
    transform: translateX(5px);
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.contact-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.footer {
    background: #1f2937;
    padding: 3rem 0 1rem;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #2563eb;
    padding-left: 5px;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section p i {
    color: #2563eb;
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    /* 显示汉堡菜单 */
    .hamburger {
        display: flex;
    }

    /* 隐藏默认导航菜单 */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        transition: all 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-item {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
        color: #2563eb;
    }

    /* 移动端下拉菜单调整 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(249, 250, 251, 0.9);
        margin-top: 0;
        border-radius: 0;
    }

    .dropdown-menu li a {
        padding: 0.75rem 3rem;
        font-size: 1rem;
        border-left: none;
        border-bottom: 1px solid #e5e7eb;
    }

    /* 调整品牌文字大小 */
    .brand-text {
        font-size: 1.3rem;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .btn {
        width: 200px;
    }

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

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

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about,
    .services,
    .contact {
        padding: 3rem 0;
    }

    .about-content,
    .contact-content {
        gap: 1.5rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 魔法浮动动画 */
@keyframes magicFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.8;
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.05); 
        opacity: 1;
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: translateY(-25px) rotate(-5deg) scale(1.1); 
        opacity: 0.9;
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: translateY(-10px) rotate(3deg) scale(1.05); 
        opacity: 1;
        filter: hue-rotate(270deg);
    }
}

/* 魔法脉冲动画 */
@keyframes magicPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.8;
        filter: brightness(1) saturate(1);
    }
    50% { 
        transform: scale(1.4) rotate(180deg); 
        opacity: 1;
        filter: brightness(1.5) saturate(1.5);
    }
}

/* 魔法闪烁动画 */
@keyframes magicSparkle {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 游戏卡片悬停时的额外魔法效果 */
.game-card:hover::before {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    animation: magicSparkle 1s ease-in-out infinite;
    z-index: 10;
    pointer-events: none;
}

.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1f2937;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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