/* Main Styles */
:root {
    --deep-purple: #1d102d;
    --electric-teal: #00ffe7;
    --mystic-indigo: #3e2a5a;
    --soft-gold: #ffd36b;
    --dark-bg: #120a1c;
    --text-light: #f1f1f1;
    --text-accent: #00ffe7;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --shadow-glow: 0 0 15px rgba(0, 255, 231, 0.3);
    --shadow-gold: 0 0 15px rgba(255, 211, 107, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(62, 42, 90, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(29, 16, 45, 0.4) 0%, transparent 50%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 255, 231, 0.5);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--electric-teal), transparent);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

a {
    color: var(--text-accent);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--soft-gold);
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--mystic-indigo), var(--deep-purple));
    color: var(--electric-teal);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--electric-teal);
    box-shadow: 0 0 10px rgba(0, 255, 231, 0.3);
    transition: all var(--transition-speed) ease;
}

.cta-button:hover {
    background: linear-gradient(45deg, var(--deep-purple), var(--mystic-indigo));
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 231, 0.5);
    color: var(--electric-teal);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--mystic-indigo) 0%, var(--deep-purple) 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* How It Works Section */
.how-it-works {
    background-color: rgba(29, 16, 45, 0.8);
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/runes-bg.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(62, 42, 90, 0.4);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 231, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed) ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 231, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: var(--deep-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--electric-teal);
    box-shadow: 0 0 15px rgba(0, 255, 231, 0.5);
}

.step-icon i {
    font-size: 32px;
    color: var(--electric-teal);
}

/* Champions Section */
.champions {
    padding: var(--spacing-lg) 0;
    background-color: rgba(29, 16, 45, 0.5);
}

.champions-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.champion {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(62, 42, 90, 0.4);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 231, 0.1);
    transition: all var(--transition-speed) ease;
}

.champion:hover {
    background: rgba(62, 42, 90, 0.6);
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(0, 255, 231, 0.2);
}

.rank {
    width: 40px;
    height: 40px;
    background: var(--deep-purple);
    color: var(--soft-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid var(--soft-gold);
    box-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--electric-teal);
    box-shadow: 0 0 10px rgba(0, 255, 231, 0.3);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.champion-info {
    flex: 1;
}

.champion-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.score-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(to right, var(--electric-teal), var(--soft-gold));
    border-radius: 10px;
}

.badge {
    padding: 5px 10px;
    background: var(--deep-purple);
    border-radius: var(--border-radius);
    color: var(--soft-gold);
    font-size: 0.8rem;
    border: 1px solid var(--soft-gold);
    white-space: nowrap;
}

.badge i {
    margin-right: 5px;
}

/* Responsive styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: auto;
        min-height: 80vh;
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .badge {
        display: none;
    }
    
    .custom-cursor {
        display: none;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .champion {
        flex-wrap: wrap;
    }
}