@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #0a0c10;
    --bg-light: #12151c;
    --text-primary: #ffffff;
    --text-secondary: #a0a5b5;
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --glass-bg: rgba(18, 21, 28, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, rgba(10,12,16,0) 70%);
    z-index: -1;
}

.bg-glow-2 {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(16,25,45,0.8) 0%, rgba(10,12,16,0) 70%);
    z-index: -1;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-primary {
    background: linear-gradient(45deg, #d4af37, #b58a1c);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 4px 15px var(--gold-glow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

/* Sections */
section {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
#hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.hero-image img {
    width: 100%;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Typography */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--gold);
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rule-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.rule-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 35, 45, 0.6);
    border-color: var(--gold-glow);
}

.rule-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -1rem;
}

.rule-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.rule-card p {
    color: var(--text-secondary);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    #hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}
