* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overscroll-behavior: none;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #0099ff;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-glow: rgba(0, 255, 136, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    overscroll-behavior: none;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 48%, var(--primary-color) 49%, var(--primary-color) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--secondary-color) 49%, var(--secondary-color) 51%, transparent 52%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.03;
    z-index: 0;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0, 20px 20px;
    }

    100% {
        background-position: 40px 40px, 60px 60px;
    }
}

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

header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px var(--accent-glow));
    animation: pulse 3s ease-in-out infinite;
    border-radius: 10px;
}

@keyframes pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 20px var(--accent-glow));
    }

    50% {
        filter: drop-shadow(0 0 30px var(--accent-glow));
    }
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px var(--accent-glow));
    }

    50% {
        filter: drop-shadow(0 0 20px var(--accent-glow));
    }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 5px 0;
}

.subtitle-zh {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

main {
    padding: 40px 20px;
}

section {
    margin-bottom: 40px;
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
}

.card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h2::before {
    content: '⚡';
    font-size: 1.8rem;
}

.intro-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

.contact-card.discord:hover {
    border-color: #5865F2;
    background: rgba(88, 101, 242, 0.1);
}

.contact-card.instagram:hover {
    border-color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
}

.contact-card.email:hover {
    border-color: var(--secondary-color);
    background: rgba(0, 153, 255, 0.1);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rule-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(0, 255, 136, 0.05);
    border-left-width: 5px;
}

.rule-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 50px;
}

.rule-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.resources-intro {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.resources-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.resource-link:hover {
    border-color: var(--secondary-color);
    background: rgba(0, 153, 255, 0.1);
    transform: translateX(10px);
}

.link-icon {
    font-size: 1.8rem;
}

footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    margin-top: 60px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .logo-section {
        flex-direction: column;
        gap: 15px;
    }

    .rule-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .card {
        padding: 20px;
    }

    .card h2 {
        font-size: 1.5rem;
    }
}