:root {
    --primary-color: #00aaff;
    --accent-color: #ff0080;
    --bg-main: #0a0a1a;
    --bg-dark: #050510;
    --bg-purple: #1a0a2e;
    --wallet-orange: #ff6b00;
    --wallet-orange-hover: #ff8c00;
    --text-main: #e0e0e0;
    --text-muted: #ccc;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

img,
video,
svg {
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, 
        var(--bg-dark) 0%,           /* Hero深蓝 */
        var(--bg-main) 20%,          /* 过渡到主色 */
        var(--bg-purple) 35%,          /* NFT部分紫蓝 */
        var(--bg-main) 50%,          /* Mining部分回到主色 */
        var(--bg-purple) 65%,          /* Command部分再次紫蓝 */
        #2e1a0a 80%,          /* Features部分偏红 */
        var(--bg-purple) 95%,          /* Roadmap紫蓝 */
        var(--bg-dark) 100%          /* Footer深色收尾 */
    );
    background-attachment: fixed;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo, .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
}

.logo-img {
    height: 68px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 6px var(--primary-color));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.logo:hover .logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 10px var(--accent-color));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #00aaff;
}

/* Hero Actions Container */
.hero-actions {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
}

/* Watch Trailer Button */
.watch-trailer-btn {
    background: linear-gradient(135deg, #ff0080, #ff4081);
    border: 2px solid transparent;
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 0 25px rgba(255, 0, 128, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.watch-trailer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.watch-trailer-btn:hover::before {
    left: 100%;
}

.watch-trailer-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 0 40px rgba(255, 0, 128, 0.6),
        0 15px 45px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff4081, #ff0080);
    border-color: rgba(255, 255, 255, 0.3);
}

.watch-trailer-btn svg {
    transition: transform 0.3s ease;
}

.watch-trailer-btn:hover svg {
    transform: scale(1.2);
}

/* Wallet Section */
.wallet-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.connect-wallet-btn {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    border: none;
    color: white;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(10, 20, 40, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 170, 255, 0.3);
}

#wallet-address {
    color: #00aaff;
    font-size: 0.9rem;
    font-weight: 500;
}

.disconnect-btn {
    background: rgba(255, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disconnect-btn:hover {
    background: rgba(255, 0, 0, 0.9);
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0a0a1a;
    padding: 2rem;
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    border: 2px solid #00aaff;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.5);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close-btn:hover {
    color: #00aaff;
}

#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg-desktop, .hero-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    margin: 0;
    padding: 0;
    background: #000;
}

.hero-bg-mobile {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 4rem;
    margin: 0;
}

p {
    font-size: 1.5rem;
}

section {
    padding: 4rem 1rem;
    max-width: 100%;
    margin: 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* NFT Section */
#nfts {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

#nfts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 204, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(204, 102, 255, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(0, 204, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

#nfts h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ffcc00, #cc66ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.nfts-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

#nfts-s-tier {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin: 0 auto 2rem auto;
    gap: 1.5rem;
}

#nfts-a-tier {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    gap: 1.5rem;
}

#nfts-b-tier {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.nft-card {
    background: rgba(10, 20, 40, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.2);
    display: flex;
    flex-direction: column;
}

/* 为不同级别设置不同高度 */
.nft-card.rarity-s {
    height: 420px;
}

.nft-card.rarity-a {
    height: 360px;
}

.nft-card.rarity-b {
    height: 320px;
}

.nft-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 170, 255, 0.6), 0 0 80px rgba(0, 170, 255, 0.3);
    border-color: rgba(0, 170, 255, 1);
}

.nft-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 15px;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 1;
    transform: scale(0.8);
}

.nft-card:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.nft-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    border-radius: 17px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.nft-card:hover::after {
    opacity: 1;
}



@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.nft-card.rarity-s {
    border-color: #ffcc00;
    box-shadow: 0 0 20px #ffcc00;
}

.nft-card.rarity-s:hover {
    box-shadow: 
        0 0 30px rgba(255, 204, 0, 0.6),
        0 0 60px rgba(255, 204, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 204, 0, 0.1);
    border-color: #ffcc00;
    transform: translateY(-8px) scale(1.02);
}

.nft-card.rarity-a {
    border-color: #cc66ff;
    box-shadow: 0 0 15px #cc66ff;
}

.nft-card.rarity-a:hover {
    box-shadow: 
        0 0 25px rgba(204, 102, 255, 0.6),
        0 0 50px rgba(204, 102, 255, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(204, 102, 255, 0.1);
    border-color: #cc66ff;
    transform: translateY(-6px) scale(1.015);
}

.nft-card.rarity-b {
    border-color: #00ccff;
    box-shadow: 0 0 10px #00ccff;
}

.nft-card.rarity-b:hover {
    box-shadow: 
        0 0 20px rgba(0, 204, 255, 0.6),
        0 0 40px rgba(0, 204, 255, 0.4),
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 0 10px rgba(0, 204, 255, 0.1);
    border-color: #00ccff;
    transform: translateY(-4px) scale(1.01);
}

.rarity-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    pointer-events: none;
}

.nft-card .nft-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.nft-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: transparent;
    transition: opacity 0.3s ease;
}

.nft-card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nft-card-content {
    padding: 0.6rem 0.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.4rem;
}

/* 为不同级别优化内容区域 */
.nft-card.rarity-s .nft-card-content {
    padding: 0.7rem 0.9rem;
    gap: 0.5rem;
}

.nft-card.rarity-a .nft-card-content {
    padding: 0.6rem 0.8rem;
    gap: 0.4rem;
}

.nft-card.rarity-b .nft-card-content {
    padding: 0.5rem 0.7rem;
    gap: 0.3rem;
}

.nft-card h3 {
    margin: 0;
    color: #00aaff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* 为不同级别优化标题 */
.nft-card.rarity-s h3 {
    font-size: 1.15rem;
}

.nft-card.rarity-a h3 {
    font-size: 1.1rem;
}

.nft-card.rarity-b h3 {
    font-size: 1.05rem;
}

.nft-card p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

/* 为不同级别优化段落 */
.nft-card.rarity-s p {
    font-size: 0.92rem;
    line-height: 1.45;
}

.nft-card.rarity-a p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.nft-card.rarity-b p {
    font-size: 0.88rem;
    line-height: 1.35;
}

/* 特殊样式for specialty文本 */
.nft-card p:last-child {
    color: #a0d8ff;
    font-size: 0.85rem;
    font-weight: 500;
}

.nft-card.rarity-s p:last-child {
    font-size: 0.87rem;
}

.nft-card.rarity-a p:last-child {
    font-size: 0.85rem;
}

.nft-card.rarity-b p:last-child {
    font-size: 0.83rem;
}

.nft-card p:last-child {
    margin-bottom: 0;
}

/* Features Section */
#features {
    padding: 5rem 2rem;
    background: rgba(46, 26, 10, 0.3);
    position: relative;
    overflow: hidden;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 170, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

#features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00aaff, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.08) 0%, rgba(255, 0, 128, 0.03) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00aaff, #ff0080);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00aaff;
    box-shadow: 0 15px 40px rgba(0, 170, 255, 0.15);
}

.feature-icon {
    margin-bottom: 1.1rem;
    color: #00aaff;
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    color: #00aaff;
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
}

.feature-card p {
    font-size: 1.02rem;
    color: #ccefff;
    line-height: 1.7;
    margin: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: #00aaff;
}

.feature-card h3 {
    color: #00aaff;
    margin-bottom: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #050510;
}

/* Roadmap Section */
#roadmap {
    padding: 5rem 2rem;
    background: rgba(26, 10, 46, 0.3);
    position: relative;
    overflow: hidden;
}

#roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

#roadmap h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ff0080, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roadmap-container {
    display: flex;
    position: relative;
    overflow-x: auto;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00aaff;
    transform: translateY(-50%);
}

.roadmap-item {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.08) 0%, rgba(0, 170, 255, 0.03) 100%);
    border: 1px solid rgba(255, 0, 128, 0.2);
    border-radius: 20px;
    padding: 2rem;
    min-width: 250px;
    margin: 0 1rem;
    position: relative;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.roadmap-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0080, #00aaff);
}

.roadmap-item:hover {
    transform: translateX(10px);
    border-color: #ff0080;
    box-shadow: 0 15px 40px rgba(255, 0, 128, 0.15);
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -1rem;
    width: 20px;
    height: 20px;
    background: #0a0a1a;
    border: 4px solid #00aaff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.roadmap-item h3 {
    color: #e0e0e0;
}

.roadmap-item ul {
    padding-left: 1rem;
}

.roadmap-item li {
    font-size: 0.9rem;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid #00aaff;
    color: #00aaff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a1a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-nav.active {
    display: flex;
}

.mobile-wallet-section {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mobile-wallet-section .wallet-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    background: rgba(10, 20, 40, 0.8);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.mobile-wallet-section #mobile-wallet-address {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

@media (min-width: 769px) {
    .mobile-wallet-section {
        display: none;
    }
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav li {
    margin: 2rem 0;
}

.mobile-nav a {
    font-size: 2rem;
}

@media (max-width: 768px) {
    nav {
        padding: 0.45rem 1rem;
    }
    .logo-img {
        height: 50px;
    }
    .desktop-nav { display: none; }
    .mobile-nav-toggle { display: block; }
    .hero-bg-desktop { display: none; }
    .hero-bg-mobile { display: block; }
    h1 { font-size: 2.5rem; }
    p { font-size: 1.2rem; }
    .roadmap-container {
        flex-direction: column;
    }
    .roadmap-container::before { display: none; }
    .roadmap-item { margin: 1rem 0; }
    .roadmap-item::before { display: none; }
    
    /* 移动端NFT卡片优化 */
    .nft-card.rarity-s {
        height: 380px;
    }
    
    .nft-card.rarity-a {
        height: 340px;
    }
    
    .nft-card.rarity-b {
        height: 300px;
    }
    
    /* 移动端网格布局调整 */
    #nfts-s-tier {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    #nfts-a-tier {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    
    #nfts-b-tier {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    
    /* 移动端钱包和按钮优化 */
    .wallet-section {
        display: none;
    }
    
    .hero-actions {
        margin-top: 1.5rem;
    }
    
    .watch-trailer-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .modal-content {
        padding: 1rem;
        max-width: 95%;
        margin: 1rem;
    }
    
    .close-btn {
        top: 5px;
        right: 15px;
        font-size: 1.5rem;
    }
}

/* Mining Station Section */
#mining-station {
    padding: 5rem 2rem;
    background: rgba(10, 10, 26, 0.3);
    position: relative;
    overflow: hidden;
}

#mining-station::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0, 170, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#mining-station h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00aaff, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mining-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.1) 0%, rgba(255, 0, 128, 0.05) 100%);
    border: 1px solid rgba(0, 170, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #00aaff;
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00aaff, #ff0080);
    border-radius: 50%;
}

.stat-info h4 {
    margin: 0 0 0.5rem 0;
    color: #00aaff;
    font-size: 1rem;
    font-weight: 600;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.2rem;
}

.stat-unit {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.mining-pools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pool-card {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.08) 0%, rgba(255, 0, 128, 0.03) 100%);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00aaff, #ff0080);
}

.pool-card:hover {
    transform: translateY(-8px);
    border-color: #00aaff;
    box-shadow: 0 15px 40px rgba(0, 170, 255, 0.15);
}

.pool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pool-header h3 {
    margin: 0;
    color: #e0e0e0;
    font-size: 1.3rem;
}

.pool-tier {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.pool-tier.tier-s {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
}

.pool-tier.tier-a {
    background: linear-gradient(135deg, #c0c0c0, #808080);
    color: #000;
}

.pool-tier.tier-b {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: #fff;
}

.pool-stats {
    margin-bottom: 1.5rem;
}

.pool-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: #ccc;
}

.stat-highlight {
    color: #00aaff !important;
    font-weight: bold;
}

.pool-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00aaff, #ff0080);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.pool-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00aaff, #ff0080);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 170, 255, 0.4);
}

/* Command Center Section */
#command-center {
    padding: 5rem 2rem;
    background: rgba(26, 10, 46, 0.3);
    position: relative;
    overflow: hidden;
}

#command-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 60%, rgba(255, 0, 128, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#command-center h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ff0080, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.command-container {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.command-dashboard {
    display: grid;
    gap: 2rem;
}

.dashboard-section {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.08) 0%, rgba(0, 170, 255, 0.03) 100%);
    border: 1px solid rgba(255, 0, 128, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
}

.dashboard-section h3 {
    margin: 0 0 1.5rem 0;
    color: #ff0080;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.galaxy-map {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.sector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.sector:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
}

.sector-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #666;
    background: #333;
    transition: all 0.3s ease;
}

.sector.active .sector-dot {
    background: #00aaff;
    border-color: #00aaff;
    box-shadow: 0 0 20px #00aaff;
}

.sector.contested .sector-dot {
    background: #ff0080;
    border-color: #ff0080;
    box-shadow: 0 0 20px #ff0080;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.sector span {
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
}

.fleet-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.fleet-metric {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #00aaff;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #999;
}

.leaderboard {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.08) 0%, rgba(255, 0, 128, 0.03) 100%);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    height: fit-content;
}

.leaderboard h3 {
    margin: 0 0 1.5rem 0;
    color: #00aaff;
    font-size: 1.3rem;
    text-align: center;
}

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

.leaderboard-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.rank {
    font-weight: bold;
    color: #999;
    width: 30px;
}

.rank-1 .rank { color: #ffd700; }
.rank-2 .rank { color: #c0c0c0; }
.rank-3 .rank { color: #cd7f32; }

.commander {
    color: #e0e0e0;
    font-weight: 500;
}

.power {
    color: #00aaff;
    font-weight: bold;
}

/* Coming Soon Badge */
.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff0080, #00aaff);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 10;
    animation: pulse 2s infinite;
}

.preview-notice {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    margin-top: 1rem;
}

.preview-notice p {
    margin: 0;
    color: #ffaa00;
    font-size: 0.9rem;
    font-weight: 500;
}

.pool-btn.disabled {
    background: linear-gradient(135deg, #666, #444);
    cursor: not-allowed;
    opacity: 0.6;
}

.pool-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
    .command-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mining-stats, .mining-pools {
        grid-template-columns: 1fr;
    }
    
    .fleet-stats {
        grid-template-columns: 1fr;
    }
    
    .galaxy-map {
        grid-template-columns: 1fr;
    }
    
    #mining-station h2, #command-center h2 {
        font-size: 2rem;
    }
    
    .stat-card, .pool-card, .dashboard-section, .leaderboard {
        padding: 1.5rem;
    }
    
    .coming-soon-badge {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* 整体连贯性效果 */
main {
    position: relative;
    z-index: 1;
}

/* 性能优化的动效 - 仅在支持硬件加速的设备上启用 */
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    body {
        background-attachment: fixed;
    }
    
    #nfts::before,
    #mining-station::before,
    #command-center::before,
    #features::before,
    #roadmap::before {
        animation: float 8s ease-in-out infinite;
        will-change: transform;
    }
    
    @keyframes float {
        0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
        50% { transform: translate3d(0, -5px, 0) rotateZ(0.5deg); }
    }
}

/* 增强过渡效果 - 性能优化 */
section {
    transition: transform 0.3s ease-out;
}

section:hover {
    transform: translate3d(0, -2px, 0);
}

/* 添加流动的粒子效果 - 优化性能 */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    #nfts::after,
    #mining-station::after,
    #command-center::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(2px 2px at 20px 30px, rgba(0, 170, 255, 0.2), transparent),
            radial-gradient(1px 1px at 90px 40px, rgba(255, 0, 128, 0.2), transparent);
        background-size: 200px 100px;
        animation: particles 25s linear infinite;
        pointer-events: none;
        opacity: 0.4;
        will-change: transform;
    }

    @keyframes particles {
        0% { transform: translate3d(-200px, 0, 0); }
        100% { transform: translate3d(100vw, 0, 0); }
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    body {
        background-attachment: local; /* 移动端性能优化 */
    }
    
    #nfts::after,
    #mining-station::after,
    #command-center::after {
        display: none; /* 移动端禁用粒子动画 */
    }
}

/* STARX WAR 新玩法新版块追加样式 */

/* 首屏节点募集看板样式 */
.project-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #a0d8ff;
    letter-spacing: 1px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.node-mint-box {
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 170, 255, 0.25);
    border-radius: 20px;
    padding: 1.8rem;
    max-width: 500px;
    margin: 2rem auto 0 auto;
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.15), inset 0 0 15px rgba(255, 255, 255, 0.02);
    text-align: left;
}

.node-mint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.node-mint-count {
    color: var(--primary-color);
}

.node-progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.node-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary-color);
}

.node-mint-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

/* 代币分配与交易税制版块 */
.tokenomics-intro {
    text-align: center;
    max-width: 800px;
    margin: -1.5rem auto 3rem auto;
}

.tokenomics-intro p {
    font-size: 1.15rem;
    color: #ccefff;
}

.tokenomics-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.token-dist-card, .tax-card {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.06) 0%, rgba(255, 0, 128, 0.03) 100%);
    border: 1px solid rgba(0, 170, 255, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.token-dist-card h3, .tax-card h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.45rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 170, 255, 0.15);
    padding-bottom: 0.8rem;
}

.dist-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dist-item-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.dist-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
}

.dist-bar-fill {
    height: 100%;
    border-radius: 5px;
}

.tax-subtext {
    color: #999;
    font-size: 0.95rem;
    margin-top: -0.8rem;
    margin-bottom: 2rem;
}

.tax-features {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.tax-feat-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.tax-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.tax-feat-item:hover .tax-icon {
    border-color: var(--primary-color);
    background: rgba(0, 170, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 170, 255, 0.25);
}

.tax-icon-svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    filter: drop-shadow(0 0 4px rgba(255, 0, 128, 0.3));
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tax-feat-item:hover .tax-icon-svg {
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(0, 170, 255, 0.5));
    transform: rotate(5deg) scale(1.05);
}

.tax-desc h4 {
    margin: 0 0 0.4rem 0;
    color: #ffffff;
    font-size: 1.05rem;
}

.tax-desc p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}

/* 六大玩法网格 */
.play-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.play-card {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.06) 0%, rgba(255, 0, 128, 0.03) 100%);
    border: 1px solid rgba(0, 170, 255, 0.18);
    border-radius: 20px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.play-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.play-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 35px rgba(255, 0, 128, 0.15);
}

.play-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 15px;
    right: 20px;
    transition: color 0.3s;
}

.play-card:hover .play-num {
    color: rgba(255, 0, 128, 0.15);
}

.play-card h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.play-card p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 三重盈利收益与核心优势 */
.earnings-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.earn-card {
    background: rgba(10, 20, 40, 0.5);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.earn-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 170, 255, 0.15);
}

.earn-icon {
    margin-bottom: 1.5rem;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.earn-icon-svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 6px rgba(0, 170, 255, 0.3));
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.earn-card:hover .earn-icon-svg {
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.5));
    transform: scale(1.1);
}

.earn-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.earn-card p {
    color: #ccc;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.advantages-box {
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.4) 0%, rgba(10, 10, 26, 0.4) 100%);
    border: 1px solid rgba(255, 0, 128, 0.15);
    border-radius: 24px;
    padding: 3rem;
    margin-top: 4rem;
}

.advantages-box h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.adv-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.adv-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 170, 255, 0.3);
    transform: translateX(8px);
}

.adv-item span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.6;
    width: 40px;
    flex-shrink: 0;
}

.adv-item h4 {
    margin: 0;
    font-size: 1.15rem;
    color: #ffffff;
    width: 200px;
    flex-shrink: 0;
}

.adv-item p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 响应式适配微调 */
@media (max-width: 992px) {
    .tokenomics-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .play-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .earnings-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .adv-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .adv-item h4 {
        width: auto;
    }
}

@media (max-width: 768px) {
    .play-grid {
        grid-template-columns: 1fr;
    }
    
    .earnings-container {
        grid-template-columns: 1fr;
    }
    
    .advantages-box {
        padding: 1.5rem;
    }
}

/* Language Switch Button Styles */
.lang-switch-btn {
    background: rgba(0, 170, 255, 0.05);
    border: 1px solid rgba(0, 170, 255, 0.3);
    color: #e0e0e0;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-switch-btn:hover {
    border-color: #00aaff;
    color: #00aaff;
    background: rgba(0, 170, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.25);
    transform: translateY(-1px);
}

.lang-switch-btn:active {
    transform: translateY(0);
}

.mobile-wallet-section {
    gap: 1rem;
}

/* Mobile adaptation layer */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        background-attachment: local;
    }

    body,
    button,
    a,
    p,
    li,
    span,
    h1,
    h2,
    h3,
    h4 {
        overflow-wrap: break-word;
    }

    header {
        background: rgba(5, 5, 16, 0.9);
    }

    nav {
        width: 100%;
        padding: 0.45rem 0.85rem;
        gap: 0.75rem;
    }

    .logo-img {
        height: 42px;
        max-width: 156px;
    }

    .mobile-nav-toggle {
        min-width: 56px;
        min-height: 36px;
        padding: 0.45rem 0.7rem;
        border-radius: 8px;
        font-size: 0.82rem;
        line-height: 1;
        background: rgba(0, 170, 255, 0.08);
    }

    .mobile-nav {
        padding: 5.25rem 1.25rem 2rem;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .mobile-nav ul {
        width: min(100%, 320px);
        margin: 0;
    }

    .mobile-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-nav a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .mobile-wallet-section {
        width: min(100%, 320px);
        margin-top: 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .mobile-wallet-section .wallet-info {
        width: 100%;
        padding: 0.85rem 1rem;
    }

    .lang-switch-btn,
    .connect-wallet-btn,
    .disconnect-btn {
        max-width: 100%;
        white-space: normal;
    }

    main {
        width: 100%;
        overflow: hidden;
    }

    section {
        width: 100%;
        padding: 3rem 1rem;
        overflow: hidden;
        transform: none;
    }

    section:hover {
        transform: none;
    }

    #hero {
        min-height: min(86svh, 640px);
        height: auto;
        padding: 4.35rem 1rem 1.8rem;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.8rem;
    }

    .hero-bg-desktop,
    .hero-bg-mobile {
        width: 100%;
        height: 100%;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(5, 5, 16, 0.26) 0%, rgba(5, 5, 16, 0.62) 54%, rgba(5, 5, 16, 0.84) 100%);
    }

    .hero-content {
        width: min(100%, 360px);
        margin: clamp(0.5rem, 3.5svh, 1.75rem) auto 0;
        padding: 0;
    }

    .project-tag {
        padding: 0.36rem 0.85rem;
        margin-bottom: 0.8rem;
        font-size: 0.72rem;
        line-height: 1;
        letter-spacing: 1.1px;
        border-radius: 999px;
    }

    .hero-title,
    h1 {
        font-size: clamp(1.55rem, 6.8vw, 1.95rem);
        line-height: 1.08;
        letter-spacing: 0;
        max-width: 12.5em;
        margin: 0 auto;
    }

    .hero-subtitle,
    p {
        font-size: 1rem;
        line-height: 1.38;
    }

    .hero-subtitle {
        max-width: 22rem;
        margin: 0.75rem auto 0;
        letter-spacing: 0;
        color: #c7eaff;
    }

    .node-mint-box {
        width: 100%;
        max-width: 360px;
        margin: 1rem auto 0;
        padding: 1rem;
        border-radius: 14px;
        background: rgba(10, 16, 34, 0.72);
    }

    .node-mint-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
        align-items: start;
        margin-bottom: 0.75rem;
        font-size: 0.92rem;
        line-height: 1.15;
    }

    .node-mint-count {
        text-align: right;
        font-size: 0.92rem;
        line-height: 1.15;
    }

    .node-progress-bar {
        height: 7px;
        margin-bottom: 0.75rem;
    }

    .node-mint-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.28rem;
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .hero-actions {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        z-index: 2;
        width: min(100%, 360px);
        margin: 0 auto;
    }

    .watch-trailer-btn {
        min-height: 50px;
        margin: 0 auto;
        padding: 0.72rem 1.25rem;
        gap: 0.55rem;
        border-radius: 999px;
        font-size: 0.88rem;
        line-height: 1.05;
        letter-spacing: 0.4px;
        box-shadow: 0 0 22px rgba(255, 0, 128, 0.36);
    }

    .watch-trailer-btn svg {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
    }

    h2,
    #nfts h2,
    #mining-station h2,
    #command-center h2,
    #features h2,
    #roadmap h2,
    .advantages-box h2 {
        font-size: clamp(1.55rem, 6.2vw, 2rem);
        line-height: 1.15;
        margin-bottom: 1.5rem;
        letter-spacing: 0;
    }

    #nfts,
    #mining-station,
    #command-center,
    #features,
    #roadmap {
        padding: 3.25rem 1rem;
    }

    #nfts h2,
    #features h2,
    #roadmap h2 {
        background: none;
        -webkit-text-fill-color: currentColor;
        color: #dff7ff;
    }

    .nfts-grid {
        width: 100%;
        gap: 0.85rem;
        margin-bottom: 1rem;
    }

    #nfts-s-tier,
    #nfts-a-tier,
    #nfts-b-tier {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .nft-card,
    .nft-card.rarity-s,
    .nft-card.rarity-a,
    .nft-card.rarity-b {
        display: grid;
        grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
        align-items: stretch;
        height: auto;
        min-height: 0;
        border-radius: 12px;
        transform: none;
    }

    .nft-card:hover,
    .nft-card.rarity-s:hover,
    .nft-card.rarity-a:hover,
    .nft-card.rarity-b:hover {
        transform: none;
    }

    .nft-card .nft-media {
        height: 100%;
        min-height: 112px;
        border-radius: 10px 0 0 10px;
    }

    .nft-card-content,
    .nft-card.rarity-s .nft-card-content,
    .nft-card.rarity-a .nft-card-content,
    .nft-card.rarity-b .nft-card-content {
        min-width: 0;
        padding: 0.75rem 0.72rem;
        gap: 0.32rem;
        justify-content: center;
    }

    .nft-card h3,
    .nft-card.rarity-s h3,
    .nft-card.rarity-a h3,
    .nft-card.rarity-b h3 {
        font-size: 0.88rem;
        line-height: 1.2;
    }

    .nft-card p,
    .nft-card.rarity-s p,
    .nft-card.rarity-a p,
    .nft-card.rarity-b p,
    .nft-card p:last-child {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .rarity-label {
        top: 7px;
        right: 7px;
        padding: 3px 6px;
        border-radius: 999px;
        font-size: 0.62rem;
    }

    .tokenomics-intro {
        margin: -0.5rem auto 1.5rem;
    }

    .tokenomics-intro p {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .tokenomics-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }

    .token-dist-card,
    .tax-card,
    .play-card,
    .earn-card,
    .advantages-box,
    .roadmap-item {
        border-radius: 14px;
    }

    .token-dist-card,
    .tax-card {
        padding: 1rem;
    }

    .token-dist-card h3,
    .tax-card h3 {
        font-size: 1.05rem;
        line-height: 1.25;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }

    .dist-list {
        gap: 0.9rem;
    }

    .dist-item-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.25rem;
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .tax-subtext {
        margin: -0.35rem 0 1rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .tax-features {
        gap: 1rem;
    }

    .tax-feat-item {
        gap: 0.75rem;
    }

    .tax-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .tax-icon-svg {
        width: 20px;
        height: 20px;
    }

    .tax-desc h4 {
        font-size: 0.92rem;
        line-height: 1.25;
    }

    .tax-desc p {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .play-grid,
    .earnings-container {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .play-card {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.25rem 0.75rem;
        padding: 0.95rem;
    }

    .play-num {
        position: static;
        grid-row: 1 / span 2;
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255, 0, 128, 0.4);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ff6bb7;
        background: rgba(255, 0, 128, 0.08);
        font-size: 0.9rem;
        line-height: 1;
    }

    .play-card h3 {
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.25;
    }

    .play-card p {
        font-size: 0.78rem;
        line-height: 1.42;
    }

    .earnings-container {
        margin-bottom: 2rem;
    }

    .earn-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.15rem 0.8rem;
        padding: 1rem;
        text-align: left;
    }

    .earn-icon {
        grid-row: 1 / span 2;
        height: 42px;
        margin: 0;
    }

    .earn-icon-svg {
        width: 38px;
        height: 38px;
    }

    .earn-card h3 {
        margin: 0;
        font-size: 0.98rem;
        line-height: 1.25;
    }

    .earn-card p {
        font-size: 0.78rem;
        line-height: 1.42;
    }

    .advantages-box {
        margin-top: 2rem;
        padding: 1rem;
    }

    .advantages-box h2 {
        margin-bottom: 1.25rem;
    }

    .adv-grid {
        gap: 0.75rem;
    }

    .adv-item {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 0.2rem 0.75rem;
        align-items: start;
        padding: 0.85rem;
        transform: none;
    }

    .adv-item:hover {
        transform: none;
    }

    .adv-item span {
        grid-row: 1 / span 2;
        width: 34px;
        font-size: 1rem;
        line-height: 1.2;
    }

    .adv-item h4 {
        width: auto;
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .adv-item p {
        font-size: 0.78rem;
        line-height: 1.42;
    }

    .roadmap-container {
        width: 100%;
        flex-direction: column;
        overflow: visible;
        gap: 0.85rem;
        padding: 0;
    }

    .roadmap-container::before,
    .roadmap-item::before {
        display: none;
    }

    .roadmap-item {
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 1rem;
    }

    .roadmap-item h3 {
        margin-top: 0.25rem;
        font-size: 0.98rem;
        line-height: 1.25;
    }

    .roadmap-item ul {
        margin: 0.75rem 0 0;
        padding-left: 1.1rem;
    }

    .roadmap-item li {
        font-size: 0.78rem;
        line-height: 1.45;
        margin-bottom: 0.35rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.85rem;
    }
}

@media (max-width: 390px) {
    nav {
        padding-inline: 0.7rem;
    }

    .logo-img {
        height: 38px;
        max-width: 142px;
    }

    #hero {
        min-height: min(84svh, 600px);
        padding-inline: 0.85rem;
    }

    .hero-content,
    .hero-actions,
    .node-mint-box {
        max-width: 100%;
    }

    .hero-title,
    h1 {
        font-size: clamp(1.45rem, 6.8vw, 1.65rem);
    }

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

    .watch-trailer-btn {
        padding-inline: 1rem;
        font-size: 0.82rem;
    }

    .nft-card-content,
    .nft-card.rarity-s .nft-card-content,
    .nft-card.rarity-a .nft-card-content,
    .nft-card.rarity-b .nft-card-content {
        padding: 0.55rem;
    }

    .nft-card,
    .nft-card.rarity-s,
    .nft-card.rarity-a,
    .nft-card.rarity-b {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .nft-card .nft-media {
        min-height: 104px;
    }
}

/* Navigation hardening for narrow screens */
.desktop-nav {
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {
    header {
        min-height: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    nav {
        max-width: none;
    }

    header nav > .desktop-nav,
    header nav > .wallet-section {
        display: none !important;
    }

    header nav > .mobile-nav-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        position: relative;
        z-index: 1002;
    }

    header nav > .logo {
        min-width: 0;
        max-width: calc(100% - 72px);
    }

    .mobile-nav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        background: var(--bg-dark);
        z-index: 1001;
    }

    .mobile-nav.active {
        display: flex !important;
    }

    html.nav-open,
    body.nav-open {
        overflow: hidden;
    }

    .mobile-nav a {
        color: var(--text-main);
        text-decoration: none;
        font-weight: 800;
    }

    .mobile-nav a:hover,
    .mobile-nav a:focus-visible {
        color: var(--primary-color);
    }
}
