/* ============================================================
   IMPORTACIÓN DE FUENTES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   VARIABLES CSS (Sistema de diseño)
   ============================================================ */
:root {
    /* Fondos */
    --bg: #060D17;
    --panel: #101827;
    --panel2: #182232;

    /* Dorados */
    --gold: #C8AA6E;
    --gold-light: #E0CC9A;

    /* Textos */
    --text: #EDEDED;
    --text2: #8E9BB4;

    /* Bordes */
    --border: #1F2D40;
    --border-gold: rgba(200, 170, 110, 0.25);

    /* Utilidades */
    --hover: rgba(200, 170, 110, 0.06);
    --radius: 16px;
}

/* ============================================================
   RESET GLOBAL
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================================
   ESTILOS BASE DEL BODY
   ============================================================ */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 14, 24, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    max-width: 1400px;
    margin: auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo h1 {
    background: linear-gradient(135deg, #E8D5A3, #C8AA6E, #A8884A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--text2);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
#main-nav {
    display: flex;
    gap: 6px;
}

#main-nav button {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text2);
    cursor: pointer;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

#main-nav button:hover {
    background: var(--hover);
    color: #fff;
    border-color: var(--border-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: 
        linear-gradient(180deg, rgba(6,13,23,0.75) 0%, rgba(6,13,23,0.9) 100%),
        url("img/rift.jpg");
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 900px;
}

.hero-content h2 {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #FFFFFF, #E8D5A3, #C8AA6E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: var(--text2);
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-search input {
    width: 600px;
    max-width: 100%;
    padding: 18px 26px;
    border: 2px solid rgba(200, 170, 110, 0.15);
    border-radius: 50px;
    background: rgba(16, 24, 39, 0.85);
    color: white;
    font-size: 17px;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-search input::placeholder {
    color: rgba(142, 155, 180, 0.6);
}

.hero-search input:focus {
    border-color: var(--gold);
    box-shadow: 
        0 0 0 3px rgba(200, 170, 110, 0.08),
        0 0 20px rgba(200, 170, 110, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   CONTENIDO PRINCIPAL
   ============================================================ */
main {
    flex: 1;
    max-width: 1400px;
    margin: auto;
    padding: 70px 40px;
}

.section {
    display: none;
    animation: fadeIn 0.35s ease-out;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(15px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text2);
    font-size: 18px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--gold-light);
    font-size: 21px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text2);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   FILTROS
   ============================================================ */
#filters {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

#filters input,
#filters select {
    padding: 14px 20px;
    background: var(--panel);
    color: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#filters input:focus,
#filters select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(200, 170, 110, 0.1);
}

#filters input {
    flex: 1;
}

#filters input::placeholder {
    color: rgba(142, 155, 180, 0.5);
}

#filters select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C8AA6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

#filters select option {
    background: #101827;
    color: white;
}

/* ============================================================
   LISTA DE CAMPEONES
   ============================================================ */
#champion-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.champion-card {
    overflow: hidden;
    cursor: pointer;
    background: var(--panel);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.champion-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.champion-icon {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.champion-card:hover .champion-icon {
    transform: scale(1.06);
}

.champion-card h3 {
    padding: 18px 20px 6px;
    font-size: 20px;
    font-weight: 700;
}

.champion-card p {
    padding: 0 20px 20px;
    color: var(--text2);
    font-size: 14px;
}

/* ============================================================
   CONCEPTOS
   ============================================================ */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.concept-card {
    background: var(--panel);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.concept-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* --- ELIMINAR SUBRAYADO Y COLOR AZUL EN ENLACES DE CONCEPTOS --- */
.concept-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.concept-card a h3 {
    color: var(--gold-light);
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 700;
}

.concept-card a p {
    color: var(--text2);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    margin-top: 0;
    padding: 40px 20px 30px;
    border-top: 2px solid var(--border-gold);
    background: linear-gradient(180deg, rgba(6,13,23,0.9) 0%, rgba(6,13,23,1) 100%);
    text-align: center;
    color: var(--text2);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.footer-content p:first-child {
    font-weight: 500;
    color: var(--text);
}

.footer-content a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
    border-bottom: 1px dotted transparent;
}

.footer-content a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(200, 170, 110, 0.3);
    border-bottom-color: var(--gold);
}

.footer-content .separator {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--border-gold);
    margin: 4px 0;
}

footer::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: -42px auto 20px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.2);
}

/* ============================================================
   SCROLLBAR Y SELECCIÓN
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(200, 170, 110, 0.25);
    border-radius: 10px;
}

::selection {
    background: rgba(200, 170, 110, 0.25);
    color: #fff;
}

/* ============================================================
   RESPONSIVE (mismos bloques que tenías, solo los mantengo)
   ============================================================ */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 24px;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    #champion-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 12px;
    }
    .logo {
        text-align: center;
    }
    .logo h1 {
        font-size: 28px;
    }
    .logo span {
        font-size: 11px;
    }
    #main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    #main-nav button {
        padding: 10px 18px;
        font-size: 13px;
    }
    #hero {
        min-height: 380px;
        padding: 60px 20px;
    }
    .hero-content h2 {
        font-size: 36px;
        letter-spacing: -1px;
    }
    .hero-content p {
        font-size: 17px;
        margin-bottom: 30px;
    }
    .hero-search input {
        width: 100%;
        max-width: 500px;
        padding: 16px 22px;
        font-size: 16px;
    }
    main {
        padding: 50px 24px;
    }
    .section-header h2 {
        font-size: 34px;
    }
    .section-header p {
        font-size: 17px;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 24px 20px;
    }
    .feature-card h3 {
        font-size: 18px;
    }
    .feature-card p {
        font-size: 14px;
    }
    .concept-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .concept-card {
        padding: 24px 20px;
    }
    .concept-card h3 {
        font-size: 18px;
    }
    .concept-card p {
        font-size: 14px;
    }
    #champion-list {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 16px;
    }
    .champion-icon {
        height: 200px;
    }
    .champion-card h3 {
        font-size: 17px;
        padding: 14px 16px 4px;
    }
    .champion-card p {
        font-size: 13px;
        padding: 0 16px 16px;
    }
    #filters {
        flex-direction: column;
        gap: 12px;
    }
    #filters input,
    #filters select {
        width: 100%;
        padding: 14px 18px;
        font-size: 15px;
        border-radius: 12px;
    }
    footer {
        margin-top: 60px;
        padding: 32px 20px 24px;
    }
    .footer-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px 16px;
        gap: 8px;
    }
    .logo h1 {
        font-size: 22px;
    }
    .logo span {
        font-size: 9px;
        letter-spacing: 0.8px;
    }
    #main-nav {
        gap: 4px;
    }
    #main-nav button {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 20px;
    }
    #hero {
        min-height: 280px;
        padding: 40px 16px;
    }
    .hero-content h2 {
        font-size: 26px;
        letter-spacing: -0.5px;
        margin-bottom: 16px;
    }
    .hero-content p {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.5;
    }
    .hero-search input {
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 30px;
        max-width: 100%;
    }
    main {
        padding: 30px 16px;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .section-header h2 {
        font-size: 26px;
    }
    .section-header p {
        font-size: 15px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .feature-card {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .feature-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    .feature-card p {
        font-size: 14px;
    }
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .concept-card {
        padding: 18px 16px;
        border-radius: 14px;
    }
    .concept-card h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }
    .concept-card p {
        font-size: 14px;
    }
    #champion-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
    .champion-icon {
        height: 160px;
    }
    .champion-card {
        border-radius: 14px;
    }
    .champion-card h3 {
        font-size: 16px;
        padding: 10px 12px 4px;
    }
    .champion-card p {
        font-size: 12px;
        padding: 0 12px 14px;
    }
    #filters {
        gap: 10px;
    }
    #filters input,
    #filters select {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
    }
    #filters select {
        background-position: right 12px center;
    }
    footer {
        margin-top: 40px;
        padding: 24px 16px 18px;
    }
    .footer-content p {
        font-size: 0.8rem;
    }
    .footer-content .separator {
        width: 30px;
    }
    footer::before {
        width: 40px;
        margin: -32px auto 16px;
    }
}

@media (max-width: 360px) {
    .logo h1 {
        font-size: 18px;
    }
    #main-nav button {
        padding: 4px 10px;
        font-size: 10px;
    }
    .hero-content h2 {
        font-size: 22px;
    }
    .hero-content p {
        font-size: 13px;
    }
    .hero-search input {
        padding: 10px 14px;
        font-size: 13px;
    }
    .section-header h2 {
        font-size: 22px;
    }
    .section-header p {
        font-size: 14px;
    }
    #champion-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .champion-icon {
        height: 130px;
    }
    .champion-card h3 {
        font-size: 14px;
        padding: 8px 10px 2px;
    }
    .champion-card p {
        font-size: 11px;
        padding: 0 10px 10px;
    }
    .feature-card,
    .concept-card {
        padding: 14px 12px;
    }
    .feature-card h3,
    .concept-card h3 {
        font-size: 15px;
    }
    .feature-card p,
    .concept-card p {
        font-size: 13px;
    }
    #filters input,
    #filters select {
        padding: 10px 12px;
        font-size: 13px;
    }
}