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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo i {
    color: #fc7839;
    font-size: 1.8rem;
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 20%, 50%, 80%, 100% { opacity: 1; }
    40% { opacity: 0.8; }
    60% { opacity: 0.9; }
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fc7839;
}

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #74addb;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #74addb;
    opacity: 0.1;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(116, 173, 219, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(252, 120, 57, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 222, 72, 0.3) 0%, transparent 50%);
    animation: smoke 6s ease-in-out infinite;
}

@keyframes smoke {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
}

.title-main {
    display: block;
    color: #fff;
}

.title-sub {
    display: block;
    color: #ffde48;
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #f0f0f0;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #fc7839;
    color: #fff;
    box-shadow: 0 10px 30px rgba(252, 120, 57, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(252, 120, 57, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #fc7839;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.game-preview-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-preview-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-preview-image:hover {
    transform: scale(1.05);
}

/* Tile styles removed - now using image instead */

.bbq-character {
    position: absolute;
    top: -5px;
    right: -65px;
    width: 80px;
    height: 80px;
    background: #fc7839;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    animation: grillBounce 2s ease-in-out infinite;
}

@keyframes grillBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* scroll-indicator styles removed */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    font-family: 'Fredoka', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #fc7839;
    border-radius: 2px;
}

.about {
    padding: 100px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 30vw auto 30vw;
    gap: 2vw;
    align-items: center;
    padding: 50px 0;
    max-width: 100%;
}

.about-left {
    text-align: left;
    padding: 30px 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.about-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.about-banner-image {
    width: 33vw;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.about-banner-image:hover {
    transform: scale(1.05);
}

.about-right {
    text-align: left;
    padding: 30px 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.about-left h3,
.about-right h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Fredoka', sans-serif;
    color: #fc7839;
}

.about-left p,
.about-right p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* about-image-placeholder styles removed - now using banner image */

.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-layout {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-right {
    grid-template-columns: 1fr 1fr;
}

.feature-right .feature-content {
    order: 2;
}

.feature-right .feature-visual {
    order: 1;
}

.feature-content {
    padding: 20px;
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.feature-decoration {
    font-size: 4rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.feature-row:hover .feature-decoration {
    transform: scale(1.2) rotate(10deg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #fc7839;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-family: 'Fredoka', sans-serif;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.gallery {
    padding: 100px 0;
    background: #f8f9fa;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    width: calc(100% * 6);
}

.carousel-slide {
    flex: 0 0 calc(100% / 6);
    min-width: calc(100% / 6);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.screenshot-placeholder {
    width: auto;
    height: 500px;
    background: #74addb;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    min-width: 280px;
}

.screenshot-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.screenshot-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fc7839;
}

.game-screenshot {
    width: auto;
    height: 500px;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(252, 120, 57, 0.9);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 80%;
    max-width: 280px;
}

.carousel-slide:hover .carousel-caption {
    opacity: 1;
}

.carousel-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: 'Fredoka', sans-serif;
}

.carousel-caption p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(252, 120, 57, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(252, 120, 57, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(252, 120, 57, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.download {
    padding: 100px 0;
    background: #74addb;
    color: #fff;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
}

.download-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
    color: #fc7839;
}

.download-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qr-code i {
    font-size: 4rem;
    color: #fc7839;
}

.footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo i {
    color: #fc7839;
    font-size: 1.8rem;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #fc7839;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

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

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fc7839;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 10px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 20px 10px 20px 0px;
        justify-items: start;
        align-items: center;
    }

    .hero-text {
        width: calc(100% - 40px);
        max-width: 400px;
        margin: 0 0 0 25px;
        text-align: left;
    }

    .hero-title {
        font-size: 2rem;
        text-align: left;
        line-height: 1.2;
    }

    .hero-tagline {
        text-align: left;
        font-size: 1.1rem;
    }

    .hero-description {
        text-align: left;
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero-visual {
        order: -1;
        width: 100%;
        margin-top: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .game-preview-container {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .game-preview-image {
        max-height: 280px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 30px 0;
    }

    .about-left {
        order: 2;
        margin-right: 0;
        margin-bottom: 20px;
        padding: 25px 20px;
        text-align: center;
    }

    .about-center {
        order: 1;
        margin-bottom: 20px;
    }

    .about-banner-image {
        width: auto;
        height: 200px;
        max-width: 100%;
    }

    .about-right {
        order: 3;
        margin-left: 0;
        padding: 25px 20px;
        text-align: center;
        max-width: none;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        padding: 20px;
    }

    .feature-right {
        direction: ltr;
    }

    .feature-visual {
        order: 1;
        height: 80px;
    }

    .feature-content {
        order: 2;
        padding: 10px;
        text-align: center;
    }

    .feature-decoration {
        font-size: 3rem;
    }

    .carousel-viewport {
        height: 500px;
    }

    .screenshot-placeholder {
        height: 350px;
        min-width: 200px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
    .game-screenshot {
        height: 400px;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 15px 10px 15px 0px;
        gap: 25px;
    }

    .hero-text {
        width: calc(100% - 50px);
        max-width: 320px;
        margin: 0 0 0 25px;
    }

    .hero-title {
        font-size: 1.6rem;
        text-align: left;
        line-height: 1.1;
    }

    .hero-tagline {
        font-size: 1rem;
        text-align: left;
    }

    .hero-description {
        font-size: 0.9rem;
        text-align: left;
        line-height: 1.4;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 200px;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }

    .game-preview-container {
        justify-content: center;
        width: auto;
    }
    
    .game-preview-image {
        max-height: 200px;
    }
    
    .about-banner-image {
        height: 150px;
        max-width: 100%;
    }

    .about-left,
    .about-right {
        padding: 20px 15px;
    }

    .feature-row {
        margin-bottom: 30px;
        padding: 15px;
    }

    .feature-decoration {
        font-size: 2.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}