﻿/**
 * 
 *                         🎨 趣崽定制作品                                  
 *   联系QQ：1102689114                                                    
 *   版权所有 © 2024 趣崽工作室                                             
 *   ⚠️ 禁止倒卖、二次分发或用于商业用途                                    
 *   仅供个人学习和非商业用途使用                                           
 * ═
 */
:root {
    --primary-green: #4ade80;
    /* 鲜艳的绿色 */
    --primary-green-dark: #22c55e;
    --bg-light: #F4F5F0;
    --bg-dark: #181818;
    --text-light: #1f2937;
    --text-dark: #f3f4f6;
    --clay-shadow-light: 8px 8px 16px #d1d2cd, -8px -8px 16px rgba(255, 255, 255, 0.15);
    --clay-shadow-dark: 8px 8px 16px #0d0d0d, -8px -8px 16px #232323;
    --clay-bg-light: #F4F5F0;
    --clay-bg-dark: #181818;
    --accent-color: #8b5cf6;
    /* 紫色点缀 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

/* Grid Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(74, 222, 128, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 222, 128, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Claymorphism Utilities */
.clay-card,
.clay-btn,
.clay-navbar {
    background: var(--clay-bg-light);
    border-radius: 30px;
    /* More rounded */
    box-shadow:
        var(--clay-shadow-light),

        inset 2px 2px 4px rgba(255, 255, 255, 0.5),
        inset -2px -2px 4px rgba(0, 0, 0, 0.05);
    /* Inner highlight/shadow for volume */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

body.dark-mode .clay-card,
body.dark-mode .clay-btn,
body.dark-mode .clay-navbar {
    background: var(--clay-bg-dark);
    box-shadow:
        10px 10px 20px #0a0a0a,
        -10px -10px 20px #262626,
        inset 2px 2px 4px rgba(255, 255, 255, 0.05),
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navbar */
.clay-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.clay-btn {
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.clay-btn:active {
    transform: scale(0.95);
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.5);
}

body.dark-mode .clay-btn:active {
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(255, 255, 255, 0.05);
}

.clay-btn.primary {
    background-color: var(--primary-green);
    color: white;
    box-shadow: 6px 6px 12px rgba(74, 222, 128, 0.4), -6px -6px 12px rgba(255, 255, 255, 0.4);
}

body.dark-mode .clay-btn.primary {
    box-shadow: 6px 6px 12px rgba(74, 222, 128, 0.2), -6px -6px 12px rgba(0, 0, 0, 0.5);
}

.icon-btn {
    padding: 0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
}

.floating-toggle {
    position: fixed;
    bottom: 130px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 50px 100px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-container {
    background-image: url('../images/我的世界绿意盎然小径壁纸.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px;
    border-radius: 50px;
    margin-bottom: 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2), 10px 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.hero-text-container h1,
.hero-text-container p {
    position: relative;
    z-index: 1;
}

.hero-text-container h1.clay-text {
    color: white;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
}

h1.clay-text {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary-green);
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 0;
    opacity: 0.9;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Server Info Card Redesign */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1600px;
    margin-bottom: 40px;
    margin-top: -70px;
    position: relative;
    z-index: 20;
    padding: 0 20px;
}

.server-info-card,
.qq-group-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    margin-bottom: 40px;
    background: var(--clay-bg-light);
    border-radius: 40px;
    width: 100%;
    max-width: 900px;
    gap: 20px;
}

body.dark-mode .server-info-card,
body.dark-mode .qq-group-card {
    background: var(--clay-bg-dark);
}

.clay-inset {
    background: var(--clay-bg-light);
    box-shadow: inset 5px 5px 10px rgba(163, 177, 198, 0.6), inset -5px -5px 10px rgba(255, 255, 255, 0.5);
    border-radius: 15px;
}

body.dark-mode .clay-inset {
    background: var(--clay-bg-dark);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.5), inset -5px -5px 10px rgba(255, 255, 255, 0.05);
}

/* Left: Status Section */
.status-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
    max-width: 300px;
}

.status-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.status-dot-large {
    width: 20px;
    height: 20px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
    animation: pulse 2s infinite;
}

.status-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    min-width: 0;
    flex: 1;
}

.status-title {
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.status-badge {
    font-size: 0.7rem;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.status-motd {
    font-size: 0.85rem;
    opacity: 0.7;
    font-family: 'Minecraft', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Center: Player Section */
.player-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1.5;
}

.player-count {
    font-weight: 700;
}

.current-players {
    font-size: 1.8rem;
    font-weight: 900;
}

.max-players {
    font-size: 1rem;
    opacity: 0.6;
}

.progress-bar-box {
    width: 100%;
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    border-radius: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

/* Right: IP Section */
.ip-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.ip-box {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
    border-radius: 20px;
    width: 100%;
    max-width: 280px;
    justify-content: space-between;
}

.ip-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ip-label {
    font-size: 0.7rem;
    opacity: 0.5;
    font-weight: 700;
}

.ip-address {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s ease;
}

body.dark-mode .copy-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

.copy-btn:hover {
    background: var(--primary-green);
    color: white;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Hero Visual (Placeholder for 3D shapes) */
.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.clay-shape {
    position: absolute;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.2), inset 10px 10px 20px rgba(255, 255, 255, 0.4), 10px 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0.5;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -50px;
    background: var(--accent-color);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 900;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

/* Footer */
.clay-footer {
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-visual {
        width: 100%;
        height: 300px;
        margin-top: 50px;
    }

    h1.clay-text {
        font-size: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .clay-navbar {
        width: 95%;
        padding: 15px;
    }

    nav ul {
        gap: 15px;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for cards */
.features-grid .clay-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .clay-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .clay-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* CSS Fixes for Cards */
.server-info-card,
.qq-group-card {
    margin-bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: 1;
    min-width: 600px;
}

body.dark-mode .qq-group-card {
    background: var(--clay-bg-dark);
}

.join-btn {
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    white-space: nowrap;
    margin-left: 15px;
    flex-shrink: 0;
}

.clay-navbar {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.clay-navbar.navbar-hidden {
    transform: translate(-50%, -150%);
}

/* Hero Redesign */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(74, 222, 128, 0.2);
    color: #15803d;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

body.dark-mode .hero-badge {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
}

body.dark-mode .badge-dot {
    background-color: #4ade80;
}

.hero-text-container h1.clay-text {
    font-size: 6rem;
    color: #1e293b;
    text-shadow: 0px 8px 0px #cbd5e1;
    line-height: 1;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

body.dark-mode .hero-text-container h1.clay-text {
    color: #f8fafc;
    text-shadow: 0px 8px 0px #334155;
}

.highlight-green {
    color: #4ade80;
    display: inline-block;
}

.hero-text-container .subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: none;
    font-weight: 500;
}

body.dark-mode .hero-text-container .subtitle {
    color: #94a3b8;
}

/* Hero Layout Fixes */
.hero-text-container {
    align-items: center !important;
}

.hero-badge {
    width: fit-content !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
}

.hero-text-container .subtitle {
    text-align: center !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Color Adjustments */
.hero-text-container h1.clay-text {
    color: #334155 !important;
    text-shadow: 0px 8px 0px #cbd5e1 !important;
}

body.dark-mode .hero-text-container h1.clay-text {
    color: #f8fafc !important;
    text-shadow: 0px 8px 0px #334155 !important;
}

/* Hero Title Refinement */
.hero-text-container h1.clay-text {
    color: #f8fafc !important;
    text-shadow: 0px 8px 0px #334155 !important;
}

.hero-text-container h1.clay-text .highlight-green {
    color: #22C55E !important;
    text-shadow: 0 4px 12px rgba(34, 197, 94, 0.4) !important;
}

/* --- Introduction Block Styles --- */
:root {
    --brand-green: #22c55e;
    --brand-green-light: #dcfce7;
    --card-bg: #ffffff;
}

.feature-container {
    width: 100%;
    max-width: 1500px;
    padding: 0 2rem 4rem 2rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

/* Visual Area */
.visual-wrapper {
    flex: 0 0 50%;
    max-width: 720px;
    position: relative;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tilt-container {
    position: relative;
    width: 100%;
    transform: rotateY(12deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tilt-container:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.device-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fff;
    border: 14px solid #ffffff;
    border-radius: 30px;
    box-shadow:
        0 30px 60px -10px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
}

.device-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.float-card {
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 280px;
    background: var(--card-bg);
    padding: 2rem 1.8rem;
    border-radius: 24px;
    box-shadow:
        20px 20px 50px rgba(0, 0, 0, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.5);
    z-index: 20;
    transform: translateZ(60px);
    text-align: left;
}

body.dark-mode .float-card {
    background: var(--clay-bg-dark);
    box-shadow:
        20px 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
}

.float-card h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-mode .float-card h4 {
    color: var(--text-dark);
}

.float-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    font-weight: 500;
}

body.dark-mode .float-card p {
    color: #aaa;
}

/* Content Area */
.content-wrapper {
    flex: 0 0 45%;
    max-width: 600px;
}

.tag-pill {
    display: inline-block;
    background-color: var(--brand-green-light);
    color: var(--brand-green);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

body.dark-mode .tag-pill {
    background-color: rgba(34, 197, 94, 0.2);
}

.main-heading {
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

body.dark-mode .main-heading {
    color: var(--text-dark);
}

.highlight-text {
    color: var(--brand-green);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='10' viewBox='0 0 40 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q 10 0 20 5 T 40 5' stroke='%2322c55e' stroke-width='4' fill='none' /%3E%3C/svg%3E");
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: 20px 8px;
}

.description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    /* This var might need definition or fallback */
    color: #6b7280;
    margin-bottom: 3.5rem;
}

body.dark-mode .description {
    color: #9ca3af;
}

.stats-grid {
    display: flex;
    gap: 2rem;
}

.stat-card {
    flex: 1;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow:
        8px 8px 20px #d1d9e6,
        -8px -8px 20px #ffffff;
    transition: transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

body.dark-mode .stat-card {
    background: var(--clay-bg-dark);
    box-shadow:
        8px 8px 20px #0a0a0a,
        -8px -8px 20px #262626;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow:
        12px 12px 25px #d1d9e6,
        -12px -12px 25px #ffffff;
}

body.dark-mode .stat-card:hover {
    box-shadow:
        12px 12px 25px #0a0a0a,
        -12px -12px 25px #262626;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

body.dark-mode .stat-num {
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #9ca3af;
}

@media (max-width: 1024px) {
    .feature-container {
        flex-direction: column;
        gap: 5rem;
        padding: 2rem;
    }

    .visual-wrapper,
    .content-wrapper {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .content-wrapper {
        text-align: center;
    }

    .tilt-container {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .float-card {
        right: auto;
        left: 50%;
        bottom: -50px;
        transform: translateX(-50%) translateZ(60px);
        width: 90%;
    }

    .stats-grid {
        justify-content: center;
    }
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Site Footer Styles */
.site-footer {
    margin-top: 50px;
}

.footer-main {
    background: var(--clay-bg-light);
    padding: 60px 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .footer-main {
    background: #1f1f1f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.logo-icon {
    background: var(--primary-green);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.logo-text {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.footer-tagline {
    color: #6b7280;
    max-width: 400px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

body.dark-mode .footer-tagline {
    color: #9ca3af;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: var(--clay-bg-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow:
        4px 4px 8px #d1d2cd,
        -4px -4px 8px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

body.dark-mode .social-icon {
    background: #2a2a2a;
    box-shadow:
        4px 4px 8px #0a0a0a,
        -4px -4px 8px #3a3a3a;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--primary-green);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

body.dark-mode .footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    background: #1f2937;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

body.dark-mode .footer-bottom {
    background: #0f0f0f;
}

.copyright {
    color: #6b7280;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-dot-footer {
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
    animation: pulse 2s infinite;
}

.server-status strong {
    color: var(--primary-green);
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer Bottom Inline Styles */
.footer-bottom-inline {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

body.dark-mode .footer-bottom-inline {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inline .copyright {
    color: #6b7280;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

body.dark-mode .footer-bottom-inline .copyright {
    color: #9ca3af;
}

@media (max-width: 768px) {
    .footer-bottom-inline {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Custom Toast Notification ===== */
.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.custom-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--clay-bg-light);
    border-radius: 16px;
    box-shadow:
        8px 8px 20px rgba(0, 0, 0, 0.15),
        -8px -8px 20px rgba(255, 255, 255, 0.5),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    color: var(--text-light);
}

body.dark-mode .toast-content {
    background: var(--clay-bg-dark);
    box-shadow:
        8px 8px 20px rgba(0, 0, 0, 0.5),
        -8px -8px 20px rgba(255, 255, 255, 0.05),
        inset 1px 1px 2px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

.toast-content svg {
    color: var(--primary-green);
    flex-shrink: 0;
}

/* ===== 移动端响应式设计 ===== */

/* 平板端 (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        padding: 40px 40px 20px 40px;
    }

    .hero-text-container {
        height: 500px;
        padding: 40px;
        border-radius: 30px;
    }

    .hero-text-container h1.clay-text {
        font-size: 4rem;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .server-info-card,
    .qq-group-card {
        min-width: auto !important;
        width: 100% !important;
        max-width: 600px !important;
        flex-wrap: wrap;
    }
}

/* 手机端横屏 (max-width: 768px) */
@media (max-width: 768px) {

    /* 导航栏 */
    .clay-navbar {
        width: 95%;
        padding: 12px 15px;
        top: 10px;
        border-radius: 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo img {
        width: 24px !important;
        height: 24px !important;
    }

    nav ul {
        gap: 10px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
    }

    /* 英雄区 */
    .hero-section {
        padding: 30px 15px 20px 15px;
        padding-top: 80px;
    }

    .hero-text-container {
        height: 400px;
        padding: 30px 20px;
        border-radius: 25px;
    }

    .hero-text-container h1.clay-text {
        font-size: 2.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-text-container .subtitle {
        font-size: 1rem;
    }

    /* 卡片容器 */
    .cards-container {
        padding: 0 15px;
        margin-top: -50px;
    }

    .server-info-card,
    .qq-group-card {
        flex-direction: column;
        padding: 20px;
        border-radius: 25px;
        gap: 15px;
    }

    .card-section {
        width: 100%;
    }

    .status-section {
        max-width: none;
        justify-content: flex-start;
    }

    .player-section {
        align-items: stretch;
    }

    .ip-section {
        justify-content: stretch;
    }

    .ip-box {
        max-width: none;
    }

    .status-motd {
        max-width: none;
    }

    .join-btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    /* 特性区 */
    .feature-container {
        padding: 0 15px 40px 15px;
        gap: 3rem;
    }

    .tilt-container {
        transform: none;
    }

    .float-card {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 20px;
    }

    .content-wrapper {
        text-align: center;
    }

    .main-heading {
        font-size: 2rem;
    }

    .description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.2rem 1.5rem;
    }

    /* 特色功能区 */
    .features-section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .features-grid {
        gap: 25px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-card .icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    /* 页脚 */
    .footer-main {
        padding: 40px 15px 30px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    /* 浮动按钮 */
    .floating-toggle {
        bottom: 100px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* 手机端竖屏 (max-width: 480px) */
@media (max-width: 480px) {

    /* 导航栏 */
    .clay-navbar {
        padding: 10px 12px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        width: 22px !important;
        height: 22px !important;
        margin-right: 5px !important;
    }

    nav ul {
        gap: 8px;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .icon-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    /* 英雄区 */
    .hero-section {
        padding-top: 70px;
    }

    .hero-text-container {
        height: 350px;
        padding: 25px 15px;
        border-radius: 20px;
    }

    .hero-text-container h1.clay-text {
        font-size: 2.2rem;
        text-shadow: 0px 4px 0px #334155 !important;
    }

    .title-line {
        font-size: inherit;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
        margin-bottom: 15px;
    }

    .hero-text-container .subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* 卡片 */
    .cards-container {
        margin-top: -40px;
    }

    .server-info-card,
    .qq-group-card {
        padding: 15px;
        border-radius: 20px;
    }

    .status-icon-box {
        width: 50px;
        height: 50px;
        border-radius: 15px;
    }

    .status-dot-large {
        width: 16px;
        height: 16px;
    }

    .status-title {
        font-size: 1rem;
    }

    .status-motd {
        font-size: 0.75rem;
    }

    .current-players {
        font-size: 1.5rem;
    }

    .ip-address {
        font-size: 0.9rem;
    }

    .copy-btn {
        width: 32px;
        height: 32px;
    }

    /* 特性区 */
    .device-frame {
        border: 8px solid #ffffff;
        border-radius: 20px;
    }

    .float-card {
        padding: 1.5rem 1.2rem;
    }

    .float-card h4 {
        font-size: 0.8rem;
    }

    .float-card p {
        font-size: 0.8rem;
    }

    .tag-pill {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .main-heading {
        font-size: 1.7rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .stat-num {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* 特色功能区 */
    .features-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .feature-card .icon svg {
        width: 40px;
        height: 40px;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* 页脚 */
    .footer-brand {
        margin-bottom: 20px;
    }

    .footer-logo {
        gap: 8px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-bottom-inline .copyright {
        font-size: 0.65rem;
    }

    .server-status {
        font-size: 0.65rem;
    }

    /* 浮动按钮 */
    .floating-toggle {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Toast */
    .toast-content {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}

/* 超小屏幕 (max-width: 360px) */
@media (max-width: 360px) {
    .hero-text-container h1.clay-text {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.6rem;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}