* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00f5ff;
    --secondary: #7b2cff;
    --accent: #ff2d95;
    --dark: #0a0a0f;
    --darker: #050508;
    --light: #e0e0e0;
    --glow-primary: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.3);
    --glow-secondary: 0 0 20px rgba(123, 44, 255, 0.5), 0 0 40px rgba(123, 44, 255, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.95);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: var(--glow-primary);
}

.brush-logo {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    border-radius: 2px;
}

.hero {
    text-align: center;
    min-height: auto;
    padding: 3rem 2rem 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.1);
    padding: 20px 30px;
    border-radius: 15px;
    min-width: 120px;
}

.hero-stat strong {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.hero-stat span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: var(--glow-primary);
}

.btn:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.section {
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section.alt {
    background: transparent;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.clan-card {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.clan-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.clan-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.clan-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.clan-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
}

.clan-detail {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.clan-detail:last-child {
    border-bottom: none;
}

.clan-detail .label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.clan-detail .value {
    color: var(--primary);
    font-weight: bold;
}

.about-content {
    display: block;
    max-width: 1200px;
    width: 100%;
}

.about-text {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.feature h4 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

footer {
    background: var(--dark);
    color: var(--light);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        border-top: 1px solid rgba(0, 245, 255, 0.1);
        z-index: 999;
        box-sizing: border-box;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .hero-stat {
        padding: 15px 20px;
    }

    .hero-stat strong {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .brush-logo {
        height: 35px;
        max-width: 120px;
    }
}