:root {
    /* Premium Dark Theme Variables */
    --bg-color: #09090b;
    --surface-color: rgba(24, 24, 27, 0.65); /* Translucent for glass effect */
    --surface-hover: rgba(39, 39, 42, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary-color: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.3);
    --discord-color: #5865F2;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, .logo-nav {
    font-family: 'Outfit', sans-serif;
}

/* Background Image Integration */
.bg-pattern {
    position: fixed;
    inset: 0;
    /* Put your image URL inside the quotes below */
    background: linear-gradient(to bottom, rgba(9, 9, 11, 0.75), rgba(9, 9, 11, 0.95)), 
                url('PASTE_YOUR_IMAGE_URL_HERE');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.glow-blob {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Floating Navigation */
nav {
    position: fixed;
    top: 25px;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    background: rgba(15, 15, 20, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.links {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

/* Buttons */
.btn-discord, .btn-main, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-main {
    background-color: var(--primary-color);
    color: #000 !important;
    font-size: 1.05rem;
}

.btn-main:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main) !important;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

/* Glassmorphism Cards (Rules & Forms) */
.rule-card, .form-box, .glass-panel {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.rule-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Forms & Inputs */
input, textarea, select {
    width: 100%;
    padding: 15px 18px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 8px;
    margin-bottom: 20px;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px var(--primary-glow);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}