/* ── Root ──────────────────────────────────── */
.hp-page {
    --gold: #d4af37;
    --gold-light: rgba(212,175,55,.12);
    --card: #111827;
    --card2: #0d1117;
    --border: rgba(255,255,255,.06);
    --text: #e5e7eb;
    --muted: #9ca3af;
    min-height: 100vh;
}

/* ── HERO ─────────────────────────────────── */
.hp-hero {
    position: relative;
    padding: 60px 0 50px;
    overflow: hidden;
    background: linear-gradient(160deg, #060b14 0%, #0c111a 50%, #091020 100%);
    border-bottom: 1px solid rgba(212,175,55,.1);
}
.hp-hero-bg { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.hp-particle {
    position: absolute;
    border-radius: 50%;
    opacity: .4;
    animation: float linear infinite;
}
.hp-particle.p1 { width:200px; height:200px; background:radial-gradient(circle, rgba(212,175,55,.15) 0%, transparent 70%); top:10%; left:5%; animation-duration:20s; }
.hp-particle.p2 { width:300px; height:300px; background:radial-gradient(circle, rgba(99,102,241,.1) 0%, transparent 70%); top:50%; right:5%; animation-duration:25s; animation-direction:reverse; }
.hp-particle.p3 { width:150px; height:150px; background:radial-gradient(circle, rgba(34,197,94,.1) 0%, transparent 70%); bottom:10%; left:30%; animation-duration:18s; }
.hp-particle.p4 { width:100px; height:100px; background:radial-gradient(circle, rgba(212,175,55,.2) 0%, transparent 70%); top:20%; right:25%; animation-duration:15s; }
@keyframes float {
    0%   { transform: translate(0,0) rotate(0deg); }
    33%  { transform: translate(30px,-20px) rotate(120deg); }
    66%  { transform: translate(-20px,15px) rotate(240deg); }
    100% { transform: translate(0,0) rotate(360deg); }
}
.hp-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hp-glow.gl1 { width:500px; height:500px; background:rgba(212,175,55,.06); top:-100px; left:-100px; }
.hp-glow.gl2 { width:400px; height:400px; background:rgba(99,102,241,.05); bottom:-50px; right:-50px; }

.hp-hero-inner { position:relative; z-index:1; text-align:center; }

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,.1);
    border: 1px solid rgba(212,175,55,.25);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: .5px;
}
.hp-live-dot {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%, 100% { opacity:1; transform:scale(1); }
    50% { opacity:.5; transform:scale(.7); }
}

.hp-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -1px;
}
.hp-title-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f5cc56 50%, #b8960c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hp-hero-sub {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 36px;
    letter-spacing: .3px;
}

/* Search */
.hp-search-wrap { max-width: 560px; margin: 0 auto 32px; }
.hp-search-box {
    position: relative;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    transition: border-color .2s, box-shadow .2s;
}
.hp-search-box:focus-within {
    border-color: rgba(212,175,55,.5);
    box-shadow: 0 0 0 3px rgba(212,175,55,.1);
}
.hp-search-icon { color: var(--muted); flex-shrink:0; width:18px; height:18px; }
.hp-search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    height: 52px;
    caret-color: var(--gold);
}
.hp-search-input::placeholder { color: var(--muted); }
.hp-search-kbd {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px;
    color: var(--muted);
    font-size: 11px;
    padding: 2px 6px;
    font-family: monospace;
    flex-shrink: 0;
}

/* Hero stats */
.hp-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 24px;
}
.hp-hs-item { text-align: center; }
.hp-hs-num { display:block; font-size:22px; font-weight:800; color:var(--gold); line-height:1; }
.hp-hs-label { font-size:11px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.5px; }
.hp-hs-sep { width:1px; height:30px; background:var(--border); }

/* ── LANE NAV ─────────────────────────────── */
.hp-lane-nav {
    background: var(--card2);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.hp-lane-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.hp-lane-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.03);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}
.hp-lane-chip svg { width:16px; height:16px; flex-shrink:0; }
.hp-lane-chip .hp-lane-count {
    font-size:10px; background:rgba(255,255,255,.08); border-radius:10px; padding:1px 6px;
}
.hp-lane-chip:hover,
.hp-lane-chip.active-lane {
    background: var(--gold-light);
    border-color: rgba(212,175,55,.35);
    color: var(--gold);
}

/* ── SECTIONS ──────────────────────────────── */
.hp-section { padding: 40px 0; }
.hp-section-alt { background: var(--card2); }
.hp-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.hp-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}
.hp-section-sub { font-size: 13px; color: var(--muted); margin: 0; }

/* Buttons */
.hp-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold), #b8960c);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity .2s, transform .2s;
}
.hp-btn-gold:hover { opacity:.9; transform:translateY(-1px); color:#000; }
.hp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(212,175,55,.4);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all .2s;
}
.hp-btn-outline:hover { background: var(--gold-light); color:var(--gold); }

/* ── FILTER TABS ─────────────────────────── */
.hp-filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.hp-tab {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.hp-tab:hover { border-color: rgba(212,175,55,.3); color: #fff; }
.hp-tab.active {
    background: var(--gold-light);
    border-color: rgba(212,175,55,.4);
    color: var(--gold);
}

/* ── CHAMPION GRID ───────────────────────── */
.hp-champ-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 12px;
}
.hp-champ-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    text-decoration: none;
    transition: all .22s;
    position: relative;
    overflow: hidden;
}
.hp-champ-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .22s;
}
.hp-champ-card:hover { border-color: rgba(212,175,55,.4); transform:translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.hp-champ-card:hover::before { opacity: 1; }
.hp-champ-card.hidden { display: none; }

.hp-champ-img-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}
.hp-champ-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.1);
    transition: border-color .22s;
}
.hp-champ-card:hover .hp-champ-img { border-color: var(--gold); }
.hp-champ-tier {
    position: absolute;
    bottom: -3px;
    right: -3px;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    padding: 1px 5px;
    border-radius: 6px;
    border: 1.5px solid rgba(0,0,0,.4);
    line-height: 1.4;
}
.hp-champ-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 84px;
}
.hp-champ-role {
    font-size: 9px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.hp-no-results {
    text-align: center;
    padding: 60px 0;
    color: var(--muted);
}
.hp-no-results p { margin-top: 12px; font-size: 14px; }

/* ── TIER LIST ───────────────────────────── */
.hp-tier-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.hp-tier-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 80px;
    flex-shrink: 0;
}
.hp-tier-label span {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hp-tier-champions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    flex: 1;
}
.hp-mini-champ {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    width: 62px;
    transition: transform .2s;
}
.hp-mini-champ:hover { transform: translateY(-3px); }
.hp-mini-champ img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.1);
    transition: border-color .2s;
}
.hp-mini-champ:hover img { border-color: var(--gold); }
.hp-mini-champ span {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

/* ── FEATURE CARDS ───────────────────────── */
.hp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.hp-feature-card {
    position: relative;
    padding: 24px 20px;
    border-radius: 14px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all .25s;
    overflow: hidden;
    background: var(--card);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .25s;
}
.fc-blue::after  { background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, transparent 60%); }
.fc-purple::after{ background: linear-gradient(135deg, rgba(168,85,247,.08) 0%, transparent 60%); }
.fc-orange::after{ background: linear-gradient(135deg, rgba(245,158,11,.08) 0%, transparent 60%); }
.fc-green::after { background: linear-gradient(135deg, rgba(34,197,94,.08) 0%, transparent 60%); }
.hp-feature-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.4); }
.hp-feature-card:hover::after { opacity:1; }
.fc-blue:hover  { border-color: rgba(99,102,241,.35); }
.fc-purple:hover{ border-color: rgba(168,85,247,.35); }
.fc-orange:hover{ border-color: rgba(245,158,11,.35); }
.fc-green:hover { border-color: rgba(34,197,94,.35); }

.hp-fc-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items:center; justify-content:center;
    margin-bottom: 4px;
}
.fc-blue  .hp-fc-icon { background:rgba(99,102,241,.15); color:#818cf8; }
.fc-purple.hp-fc-icon, .fc-purple .hp-fc-icon { background:rgba(168,85,247,.15); color:#c084fc; }
.fc-orange .hp-fc-icon{ background:rgba(245,158,11,.15); color:#fcd34d; }
.fc-green  .hp-fc-icon{ background:rgba(34,197,94,.15);  color:#6ee7b7; }

.hp-feature-card h3 { font-size:16px; font-weight:700; color:#fff; margin:0; }
.hp-feature-card p  { font-size:13px; color:var(--muted); margin:0; line-height:1.5; }
.hp-fc-arrow { color:var(--muted); font-size:16px; margin-top:auto; transition:transform .2s, color .2s; }
.hp-feature-card:hover .hp-fc-arrow { transform:translateX(4px); color:var(--gold); }

/* ── NEWS ────────────────────────────────── */
.hp-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}
.hp-news-card {
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all .25s;
}
.hp-news-card:hover { border-color: rgba(212,175,55,.3); transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.4); }
.hp-news-img-wrap { overflow:hidden; aspect-ratio:16/9; }
.hp-news-img-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.hp-news-card:hover .hp-news-img-wrap img { transform:scale(1.05); }
.hp-news-body { padding:16px; flex:1; display:flex; flex-direction:column; gap:6px; }
.hp-news-date {
    display:flex; align-items:center; gap:5px;
    font-size:11px; color:var(--muted); font-weight:600;
}
.hp-news-date svg { color:var(--gold); }
.hp-news-title {
    font-size:14px; font-weight:700; color:#fff;
    line-height:1.45;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    line-clamp: 2;
    margin:0;
}
.hp-news-featured .hp-news-title { font-size:18px; -webkit-line-clamp:3; line-clamp:3; }
.hp-news-excerpt {
    font-size:13px; color:var(--muted); line-height:1.5; margin:0;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    line-clamp: 2;
}

/* ── LIGHT MODE ─────────────────────────── */
html.light-mode .hp-hero { background: linear-gradient(160deg,#f0f4ff,#fff,#f8f9ff); border-color:rgba(212,175,55,.2); }
html.light-mode .hp-hero-title { color:#1e293b; }
html.light-mode .hp-title-gradient { background:linear-gradient(135deg,#b8960c,#d4af37); -webkit-background-clip:text; background-clip:text; }
html.light-mode .hp-hero-sub { color:#64748b; }
html.light-mode .hp-search-box { background:#fff; border-color:rgba(0,0,0,.1); box-shadow:0 2px 8px rgba(0,0,0,.06); }
html.light-mode .hp-search-input { color:#1e293b; }
html.light-mode .hp-hero-stats { background:#fff; border-color:rgba(0,0,0,.08); box-shadow:0 2px 8px rgba(0,0,0,.06); }
html.light-mode .hp-lane-nav { background:#f8fafc; border-color:rgba(0,0,0,.06); }
html.light-mode .hp-lane-chip { background:#fff; border-color:rgba(0,0,0,.08); color:#64748b; }
html.light-mode .hp-champ-card { background:#fff; border-color:rgba(0,0,0,.07); }
html.light-mode .hp-champ-name { color:#1e293b; }
html.light-mode .hp-feature-card { background:#fff; border-color:rgba(0,0,0,.07); }
html.light-mode .hp-feature-card h3 { color:#1e293b; }
html.light-mode .hp-section-alt { background:#f1f5f9; }
html.light-mode .hp-news-card { background:#fff; border-color:rgba(0,0,0,.07); }
html.light-mode .hp-news-title { color:#1e293b; }
html.light-mode .hp-tier-row { background:#fff; border-color:rgba(0,0,0,.07); }
html.light-mode .hp-tab { background:#fff; border-color:rgba(0,0,0,.08); color:#64748b; }
html.light-mode .hp-tab.active { background:var(--gold-light); }

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {
    .hp-news-grid { grid-template-columns: 1fr 1fr; }
    .hp-news-featured { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .hp-hero { padding: 56px 0 48px; }
    .hp-hero-title { font-size: 2rem; }
    .hp-hero-stats { gap: 14px; padding: 10px 18px; }
    .hp-hs-num { font-size:18px; }
    .hp-champ-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
    .hp-champ-img-wrap, .hp-champ-img { width:50px; height:50px; }
    .hp-hero-stats { flex-wrap: wrap; }
    .hp-news-grid { grid-template-columns: 1fr; }
    .hp-feature-grid { grid-template-columns: 1fr 1fr; }
    .hp-section { padding: 40px 0; }
    .hp-filter-tabs { gap: 5px; }
    .hp-tab { font-size: 12px; padding: 6px 12px; }
}
@media (max-width: 480px) {
    .hp-feature-grid { grid-template-columns: 1fr; }
    .hp-champ-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
}
