:root {
    --primary-color: #FF69B4;
    --secondary-color: #FFB6C1;
    --accent-color: #FF1493;
    --text-color: #333;
    --background-color: #FFF5F5;
    --card-background: #FFFFFF;
}

/* Navigation Header Styles */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation {
    width: 100%;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

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

.dropdown-item {
    display: block;
    padding: 0.8rem 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--background-color);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0.5rem 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        margin-top: 0.5rem;
        border-radius: 8px;
    }

    .dropdown-item {
        color: white;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        color: white;
    }

    .dropdown-divider {
        background: rgba(255,255,255,0.2);
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.95) 0%, rgba(255, 20, 147, 0.95) 100%);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-message h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.cookie-message p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-message a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
}

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

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.cookie-btn.reject {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.cookie-btn.reject:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

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

.cookie-btn.settings:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
}

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

.cookie-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background-color: rgba(255,255,255,0.2);
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    max-width: 70%;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

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

.cookie-btn.save:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.cookie-btn.accept-all {
    background: #28a745;
    color: white;
}

.cookie-btn.accept-all:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-modal-content {
        margin: 2% auto;
        width: 95%;
    }

    .cookie-category {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-category p {
        max-width: 100%;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

.hero-split {
    display: flex;
    min-height: 100vh;
    padding: 1rem;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    align-items: flex-start;
}

.content-left {
    flex: 1.2;
    position: sticky;
    top: 1rem;
    height: calc(100vh - 2rem);
    display: flex;
    align-items: center;
    min-width: 500px;
    /* 添加最小宽度确保游戏区域不会太窄 */
}

.content-right {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.hero-content {
    margin-bottom: 2rem;
}

.featured-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

/* Learn More Section */
.learn-more-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-color);
    animation: fadeInUp 0.8s ease-out;
}

.learn-more-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.learn-more-section p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.learn-more-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(255, 182, 193, 0.3) 100%);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.feature-item span:last-child {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

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

.play-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.play-button.secondary {
    background: var(--secondary-color);
    color: var(--text-color);
}

.quick-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.feature-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.game-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 从95vh改为98vh */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.game-preview {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
    /* 添加这行确保iframe内容不会出现滚动条 */
}

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

.steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-background);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

footer {
    background: white;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer nav.footer-links {
    display: flex !important;
    gap: 2rem !important;
    justify-content: center;
}

footer nav.footer-links a {
    color: var(--text-color) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
}

footer nav.footer-links a:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 1200px) {

    /* 将断点从 1024px 提高到 1200px */
    .hero-split {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 1rem;
    }

    .content-left {
        position: relative;
        height: auto;
        min-height: 500px;
        top: 0;
        min-width: 100%;
        max-width: 600px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 2rem auto;
    }

    .content-right {
        padding: 1.5rem;
        gap: 2rem;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }

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

    .cta-buttons {
        flex-direction: column;
        max-width: 400px;
        margin: 2rem auto;
    }

    .play-button {
        width: 100%;
        text-align: center;
    }

    .quick-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .content-right {
        padding: 1rem;
    }

    .featured-text {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    /* Learn More Section Mobile Styles */
    .learn-more-section {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }

    .learn-more-section h3 {
        font-size: 1.5rem;
    }

    .learn-more-section p {
        font-size: 1rem;
    }

    .learn-more-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .feature-item {
        padding: 0.6rem;
    }

    .feature-icon {
        font-size: 1.2rem;
    }

    footer nav.footer-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    .game-wrapper {
        height: auto;
        min-height: 450px;
        max-height: 70vh;
        margin: 1rem auto;
    }

    .cta-buttons {
        max-width: 100%;
    }

    /* 移动端触摸优化 */
    .play-full {
        min-height: 44px;
        font-size: 16px;
        padding: 12px 20px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .play-button {
        min-height: 44px;
        font-size: 16px;
        padding: 12px 20px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* 移动端品牌区域 */
    .brand {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    /* 移动端标题优化 */
    h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    /* 移动端特性卡片 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1rem;
        text-align: center;
    }

    /* 移动端步骤 */
    .step {
        padding: 1rem;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    /* 移动端统计 */
    .quick-stats {
        text-align: center;
    }

    .stat {
        align-items: center;
    }

    /* 移动端Cookie横幅优化 */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-btn {
        min-height: 44px;
        padding: 12px 16px;
        font-size: 14px;
    }
}
.play-full {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-full:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* 全屏时的样式 */
.game-preview:fullscreen {
    width: 100vw;
    height: 100vh;
    background: white;
}

/* 移动端全屏样式 */
.game-wrapper.mobile-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.game-wrapper.mobile-fullscreen .game-preview {
    width: 100%;
    height: 100%;
    max-width: 100vh;
    max-height: 100vw;
    margin: auto;
}

.game-wrapper.mobile-fullscreen .game-overlay {
    background: none;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0;
    bottom: auto;
    left: auto;
}

.game-wrapper.mobile-fullscreen .play-full {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* 移动端游戏容器优化 */
@media (max-width: 768px) {
    .game-wrapper {
        height: auto;
        min-height: 500px;
        max-height: 80vh;
        position: relative;
        margin: 1rem auto;
    }

    .game-preview {
        min-height: 500px;
        max-height: 80vh;
    }

    .content-left {
        position: relative;
        top: 0;
        height: auto;
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

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