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

:root {
    --pink: #e84393;
    --pink-dark: #d63384;
    --pink-glow: rgba(232, 67, 147, 0.3);
    --bg-dark: #0a0a0f;
    --bg-card: #13131a;
    --bg-card-hover: #1a1a24;
    --text: #e0e0e0;
    --text-muted: #8a8a9a;
    --text-heading: #ffffff;
    --border: #2a2a3a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--pink);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--pink-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-heading);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--pink);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--pink);
    color: #fff;
}

.btn-primary:hover {
    background: var(--pink-dark);
    color: #fff;
    box-shadow: 0 0 20px var(--pink-glow);
}

.btn-outline {
    background: transparent;
    color: var(--pink);
    border: 2px solid var(--pink);
}

.btn-outline:hover {
    background: var(--pink);
    color: #fff;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: radial-gradient(ellipse at center top, rgba(232, 67, 147, 0.08) 0%, transparent 60%);
}

.hero-logo {
    width: 280px;
    max-width: 80%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px var(--pink-glow));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--pink);
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
}

.hero p {
    max-width: 600px;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Feature Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

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

/* CTA Section */
.cta {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(232, 67, 147, 0.05), transparent);
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Rules Pages */
.page-header {
    padding: 8rem 2rem 3rem;
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(232, 67, 147, 0.08) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.page-header .header-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.rule-section {
    margin-bottom: 3rem;
}

.rule-section h2 {
    font-size: 1.5rem;
    color: var(--pink);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.rule-section h3 {
    font-size: 1.15rem;
    color: var(--text-heading);
    margin: 1.5rem 0 0.75rem;
}

.rule-section p {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.rule-section ul {
    margin: 0.5rem 0 1rem 1.5rem;
    color: var(--text);
}

.rule-section li {
    margin-bottom: 0.5rem;
}

.rule-section strong {
    color: var(--text-heading);
}

.rule-highlight {
    background: var(--bg-card);
    border-left: 3px solid var(--pink);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-logo {
        width: 200px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    .cta h2 {
        font-size: 1.75rem;
    }
}
