:root {
    --bg-dark: rgb(9, 15, 37);
    --text-light: #ffffff;
    --primary-blue: #4facfe;
    --primary-cyan: #00f2fe;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    /* Reference uses asset-019.png as global background */
    background-image: url('../img/asset-019.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    color: var(--text-light);
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 172, 254, 0.2);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu li a {
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
}

.nav-actions {
    flex-shrink: 0;
}

.download-btn {
    height: 50px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* Common Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 100px; /* Added padding to prevent overlap */
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 1;
}

.game-logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    animation: fadeInOpacity 1s ease-in,
             logoFloat 2.2s ease-in-out 0.2s infinite alternate,
             logoGlow 4.2s ease-in-out 0.8s infinite;
    will-change: transform, filter;
}

.game-title-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 20px 0;
    animation: fadeIn 1.5s ease-in;
}

.hero-buttons {
    display: flex;
    gap: 120px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 2s ease-in;
}

.download-with-note {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-note {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.92;
    margin-top: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.btn-download {
    cursor: pointer;
    height: 70px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-download:hover {
    transform: scale(1.1) translateY(-3px);
    filter: brightness(1.2) drop-shadow(0 5px 15px rgba(79, 172, 254, 0.4));
}

.shine-effect {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -120%;
    left: -160%;
    width: 60%;
    height: 340%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: shineSweep 3.2s linear infinite;
    pointer-events: none;
}

@keyframes shineSweep {
    0% { left: -160%; }
    100% { left: 160%; }
}

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

@keyframes fadeInOpacity {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes logoFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-24px); }
}

@keyframes logoGlow {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(79,172,254,0)); }
    50% { filter: brightness(1.08) drop-shadow(0 0 16px rgba(79,172,254,0.45)); }
}

/* Features Icons */
.features-icons {
    background: transparent;
    padding: 20px 0 30px;
    position: relative;
    margin-top: -40px;
    z-index: 2;
}

.icons-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-10px);
}

.icon-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.icon-item span {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

/* Skin Free & Music Box Section Common */
.skin-free-section, .music-box-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
    position: relative;
}

.skin-container-bg {
    background-image: url('../img/asset-013.png');
}

.music-container-bg {
    background-image: url('../img/asset-022.png');
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.section-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.skin-showcase, .music-showcase {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feature-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Game Modes Section */
.game-modes-section {
    padding: 80px 0;
    text-align: center;
}

.modes-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modes-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* SEO Footer Content */
.seo-footer-content {
    background: rgba(15, 15, 30, 0.6);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-text-block h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-blue);
    padding-left: 10px;
}

.seo-text-block p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.seo-text-block strong {
    color: #fff;
}

.seo-keywords-tag {
    margin-top: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.seo-keywords-tag span {
    font-weight: bold;
    margin-right: 5px;
}

.seo-keywords-tag h1, 
.seo-keywords-tag h2, 
.seo-keywords-tag h3 {
    font-size: 13px;
    font-weight: normal;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: default;
}

.seo-keywords-tag h1:hover, 
.seo-keywords-tag h2:hover, 
.seo-keywords-tag h3:hover {
    background: rgba(79, 172, 254, 0.2);
    border-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Section */
.footer-section {
    padding: 60px 0 30px;
    text-align: center;
}

.footer-image {
    max-width: 1000px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.footer-info {
    margin-top: 20px;
}

.icp-info p, .police-info, .company-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0;
}

.police-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.police-badge {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    
    .hero-section { min-height: 70vh; padding-top: 90px; }
    .hero-buttons { gap: 24px; flex-direction: column; }
    .game-logo { max-width: 180px; }
    .game-title-img { max-width: 280px; }
    .btn-download { height: 50px; }
    
    .icons-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .skin-free-section, .music-box-section { padding: 40px 20px; min-height: 400px; }
    .content-container { padding: 30px 20px; }
    .section-title { font-size: 2rem; }
    
    .footer-section { padding: 30px 0 20px; }
}

@media (max-width: 480px) {
    .icons-container { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 1.8rem; }
    .skin-free-section, .music-box-section { padding: 30px 20px; min-height: 350px; }
}