: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;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

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;
}

.clay-card,
.clay-btn,
.clay-navbar {
    background: var(--clay-bg-light);
    border-radius: 30px;
    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);
    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 #262323,
        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);
}

.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%;
}

.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 {
    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('https://a1.boltp.com/2026/04/06/69d3850edabfa.png');
    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);
}

.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);
}

.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;
    flex-shrink: 0;
}

.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;
}

/* ========== 已彻底隐藏：玩家区域 + 进度条外框 ========== */
.player-section {
    display: none !important;
}
.player-count,
.current-players,
#current-players,
.max-players,
#max-players,
.progress-bar-box,
.progress-bar-fill {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
}

.ip-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.ip-box {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 0;
    border-radius: 20px;
    width: 100%;
    max-width: 280px;
    justify-content: flex-start;
}

.ip-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.ip-label {
    font-size: 0.7rem;
    opacity: 0.5;
    font-weight: 700;
}

.ip-address {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@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 {
    position: fixed;
    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 {
    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);
}

.clay-footer {
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
    opacity: 0.7;
}

.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);
}
.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; }

.server-info-card, .qq-group-card {
    margin-bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: 1;
    min-width: 600px;
}
.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; }
.clay-navbar.navbar-hidden { transform: translate(-50%, -150%); }

.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: #22c55e; border-radius: 50%; }
body.dark-mode .badge-dot { background: #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-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-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;
}

:root { --brand-green: #22c55e; --brand-green-light: #dcfce7; --card-bg: #fff; }
.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-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(0) rotateX(0); }
.device-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fff;
    border: 14px solid #fff;
    border-radius: 30px;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.2);
    overflow: hidden;
}
.device-image { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.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; }
body.dark-mode .float-card h4 { color: var(--text-dark); }
.float-card p { font-size: 0.85rem; color: #666; line-height: 1.6; }
body.dark-mode .float-card p { color: #aaa; }

.content-wrapper { flex: 0 0 45%; max-width: 600px; }
.tag-pill {
    display: inline-block;
    background: 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: 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: #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, #fff, #f0f0f0);
    box-shadow: 8px 8px 20px #d1d9e6, -8px -8px 20px #fff;
    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 #262323;
    border: 1px solid rgba(255,255,255,0.05);
}
.stat-card:hover { transform: translateY(-5px); }
.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; }

.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 { 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: #9ca3b8; }
.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; }
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; }

.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; }

.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);
    border: 1px solid rgba(255,255,255,0.4);
    font-weight: 60;
    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);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-dark);
}
.toast-content svg { color: var(--primary-green); flex-shrink: 0; }

/* ============================================== */
/* 📱 手机端独立适配 —— 电脑端完全不改动 */
/* ============================================== */
@media (max-width: 768px) {
    /* 导航栏手机适配 */
    .clay-navbar {
        width: 94% !important;
        padding: 12px 20px !important;
        top: 10px !important;
    }
    .logo { font-size: 1.2rem !important; }
    nav ul { gap: 14px !important; }
    .nav-link { font-size: 0.85rem !important; }

    /* 英雄区 */
    .hero-section {
        padding: 80px 16px 20px !important;
    }
    .hero-text-container {
        height: auto !important;
        min-height: 340px !important;
        padding: 30px 20px !important;
        border-radius: 24px !important;
    }
    .hero-text-container h1.clay-text {
        font-size: 2.4rem !important;
    }
    .subtitle {
        font-size: 1rem !important;
        padding: 0 10px !important;
    }

    /* 卡片容器 */
    .cards-container {
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 16px !important;
        margin-top: -30px !important;
        gap: 16px !important;
    }
    .server-info-card,
    .qq-group-card {
        min-width: auto !important;
        width: 100% !important;
        flex-direction: column !important;
        padding: 20px !important;
        border-radius: 24px !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    /* 卡片内部 - 修复图标乱跑 */
    .status-section {
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .status-icon-box {
        flex-shrink: 0 !important;
        width: 50px !important;
        height: 50px !important;
    }
    .status-text {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .player-section {
        display: none !important;
    }
    .ip-section {
        width: 100% !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .ip-box {
        flex: 1 !important;
        max-width: 280px !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .ip-content {
        text-align: center !important;
    }

    /* 加入按钮 */
    .join-btn {
        margin: 0 !important;
        min-width: 88px !important;
        max-width: 96px !important;
        height: 40px !important;
        font-size: 0.85rem !important;
    }

    /* 功能区 */
    .feature-container {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
    .visual-wrapper,
    .content-wrapper {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .float-card {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        margin-top: -40px !important;
        width: 90% !important;
    }
}

@media (max-width: 480px) {
    .hero-text-container h1.clay-text {
        font-size: 2.1rem !important;
    }
    .server-info-card,
    .qq-group-card {
        padding: 18px 16px !important;
        border-radius: 20px !important;
    }
    .join-btn {
        min-width: 80px !important;
        max-width: 88px !important;
        height: 38px !important;
        font-size: 0.8rem !important;
    }
}