:root {
    /* Hextech Colors */
    --hex-blue: #0ac8b9;
    --hex-gold: #c8aa6e;
    --hex-dark-gold: #785a28;
    --hex-bg-dark: #010a13;
    --hex-bg-overlay: rgba(1, 10, 19, 0.9);
    --hex-grey: #a09b8c;
    --hex-light: #cdbe91;
    --hex-danger: #ff4655; /* Valorant style accent, also works for LOL red side */
    --hex-success: #0bc6e3;
    
    --font-main: 'BeaufortforLOL', 'Segoe UI', sans-serif; /* Fallback */
    --font-display: 'Spiegel', 'Arial Black', sans-serif; /* Fallback */
    
    --border-gold: 1px solid var(--hex-gold);
    --glow-blue: 0 0 10px var(--hex-blue);
    --glow-gold: 0 0 15px rgba(200, 170, 110, 0.6);
}

@font-face {
    font-family: 'BeaufortforLOL';
    src: url('https://db.onlinewebfonts.com/t/1f3c30164303358055502597405101d2.woff2') format('woff2');
}

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

body {
    font-family: var(--font-main);
    background-color: var(--hex-bg-dark);
    color: #f0f0f0;
    line-height: 1.5;
    background-image: url('https://images.contentstack.io/v3/assets/blt731acb42bb3d1659/blt40167c1e55047b86/5db05fa0dc674266db3d1324/RiotX_ChampionList_ahri.jpg?quality=90&width=1600'); /* Ahri BG example */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* Global Styles */
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--hex-gold); border-radius: 4px; }

/* Buttons */
.btn-hex {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #1e2328 0%, #1e2328 100%);
    border: 2px solid var(--hex-gold);
    color: var(--hex-light);
    font-family: var(--font-display);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hex::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.4), transparent);
    transition: 0.5s;
}

.btn-hex:hover::before { left: 100%; }
.btn-hex:hover {
    background: var(--hex-gold);
    color: #000;
    box-shadow: var(--glow-gold);
}

.btn-play {
    background: var(--hex-blue);
    border-color: var(--hex-blue);
    color: #fff;
    font-size: 1.2rem;
}
.btn-play:hover {
    background: #08a094;
    box-shadow: var(--glow-blue);
}

/* Header */
.header {
    background: rgba(1, 10, 19, 0.95);
    border-bottom: 2px solid var(--hex-gold);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--hex-gold);
    text-transform: uppercase;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i { color: var(--hex-blue); }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-family: var(--font-display);
    font-weight: bold;
    text-transform: uppercase;
    color: var(--hex-grey);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    position: relative;
    padding: 28px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--hex-blue);
    transition: 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
}

.hero-content {
    max-width: 800px;
    padding-left: 5%;
    animation: slideInLeft 1s ease;
}

.hero-tag {
    color: var(--hex-blue);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(10, 200, 185, 0.5);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    color: var(--hex-grey);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Featured Champions */
.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: var(--hex-light);
    font-style: italic;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before, .section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--hex-gold);
}
.section-title::before { left: -70px; }
.section-title::after { right: -70px; }

.champion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 2rem 0;
}

.champ-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border: 1px solid #333;
    transition: 0.4s;
    cursor: pointer;
}

.champ-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.champ-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    transition: 0.4s;
}

.champ-name {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
    font-style: italic;
}

.champ-title {
    color: var(--hex-blue);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.champ-card:hover {
    border-color: var(--hex-gold);
    transform: translateY(-10px);
    box-shadow: var(--glow-gold);
}
.champ-card:hover img { transform: scale(1.1); }
.champ-card:hover .champ-overlay { transform: translateY(0); }

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: #1e2328;
    border: 1px solid #333;
    transition: 0.3s;
}

.news-item:hover {
    border-color: var(--hex-blue);
    transform: translateY(-5px);
}

.news-img {
    height: 200px;
    overflow: hidden;
}
.news-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.news-item:hover .news-img img { transform: scale(1.1); }

.news-content { padding: 20px; }
.news-cat {
    color: var(--hex-blue);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}
.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}
.news-date { color: #666; font-size: 0.9rem; }

/* Esports Table */
.match-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 35, 40, 0.9);
    border: 1px solid var(--hex-gold);
}

.match-table th, .match-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.match-table th {
    background: rgba(200, 170, 110, 0.1);
    color: var(--hex-gold);
    text-transform: uppercase;
}

.team-cell { display: flex; align-items: center; gap: 10px; }
.team-logo { width: 30px; height: 30px; background: #333; border-radius: 50%; }

/* Footer */
.footer {
    background: #111;
    padding: 50px 0;
    border-top: 2px solid #333;
    margin-top: 50px;
    text-align: center;
    color: #666;
}

.footer-logo {
    font-size: 2rem;
    font-family: var(--font-display);
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

/* Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; } /* Add hamburger later */
    .section-title { font-size: 2rem; }
}
