@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');

:root {
    --color-gold-bright: #d4b3ff;
    --color-gold-medium: #9b5de5;
    --color-gold-dark: #6c2bb8;
    --color-gold-deep: #381466;
    --color-gold-glow: rgba(155, 93, 229, 0.4);
    --color-dark-bg: #080a0b;
    --color-dark-card: rgba(11, 14, 16, 0.85);
    --color-dark-card-hover: rgba(22, 28, 32, 0.95);
    --color-border: rgba(155, 93, 229, 0.35);
    --color-border-bright: rgba(155, 93, 229, 0.75);
    --font-cinzel: 'Cinzel', serif;
    --font-sans: 'Open Sans', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


#intro-hero {
    position: fixed;
    inset: 0;
    height: 100vh;
    z-index: 10;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-kick {
    position: fixed;
    bottom: 24px;
    left: 24px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
}

.kick-btn-hero {
    background: black;
    padding: 4px 0px;
    border-radius: 4px;
    filter: drop-shadow(0 0 15px rgba(0, 128, 0, 0.925));
    transition: all .2s;
}

.kick-btn-hero:hover,
.wsp-btn-hero:hover,
.yt-btn-hero:hover,
.ig-btn-hero:hover {
    transform: scale(1.2);
}

.yt-btn-hero {
    color: #FF0000;
    filter: drop-shadow(0 0 15px #FF0000);
    transition: all .2s;
    font-size: 32px;
}

.ig-btn-hero {
    background: -webkit-linear-gradient(180deg, #405de6, #833ab4, #e1306c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px #0d9484);
    transition: all .2s;
    font-size: 32px;
}

.wsp-btn-hero {
    color: #0d9484;
    filter: drop-shadow(0 0 15px #0d9484);
    transition: all .2s;
    font-size: 32px;
}

/* VIDEO FULLSCREEN */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* CONTENIDO POR ENCIMA */
.intro-logo,
.scroll-indicator {
    position: relative;
    z-index: 2;
}

a header {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(80px);
}

.intro-spacer {
    height: 100vh;
    /* le da scroll real para animar */
}

.intro-logo {
    will-change: transform, opacity;
    filter: drop-shadow(0 0 15px #000);
    animation: scalelogo 5s infinite;
}

.intro-title {
    will-change: transform, opacity;
    font-family: "Cinzel", serif;
    font-size: 48px;
    color: #ffa600;
    margin-top: 10px;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    color: white;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

@keyframes scalelogo {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px #000);
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px var(--color-gold-medium));
    }
}


body {
    background: url(../img/bgh.png) no-repeat fixed;
    background-size: cover;
    background-color: #080A0B !important;
}


nav {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    padding: 15px 0;
    background: linear-gradient(to bottom, rgba(8, 10, 11, 0.95) 0%, rgba(8, 10, 11, 0) 100%);
    transition: background-color .3s ease, padding .3s ease;
}

.logo-header {
    filter: drop-shadow(0px 0px 10px rgb(0, 0, 0));
}

.navbar-nav .nav-item .nav-link {
    font-family: 'Cinzel', serif;
    color: rgb(206, 203, 203);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: .2s color ease-out, .2s transform ease;
    text-decoration: none;
    margin-inline: 16px;
    text-decoration: none;
    margin-inline: 16px;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #f5d78c;
    transform: translateY(-2px);
    text-shadow: 0px 0px 8px rgba(245, 215, 140, 0.4);
}

.nav-lang {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;
    margin-inline: 8px;
}

.form-select {
    background: none !important;
    border: 0px !important;
    border-right: 1px solid white !important;
    border-radius: 0 !important;
    color: white !important;
    margin: 0 !important;
    padding: 0 12px 0 0 !important;
    width: initial !important;
}

.form-select:focus,
.form-select:focus-visible {
    box-shadow: none !important;
}

.form-select option {
    background: black;
}


.header-title {
    font-family: var(--font-cinzel);
    text-transform: uppercase;
    color: var(--color-gold-bright);
    font-size: 48px;
    filter: drop-shadow(0px 0px 10px var(--color-gold-glow));
}

.header-desc {
    font-family: "Bebas Neue", sans-serif;
    color: #f7f7f7bd;
    text-align: center;
    font-size: 20px;
}

.discord-btn {
    background: rgba(114, 137, 218, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);
    border: 1px solid var(--color-gold-medium);
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffffdc;
    font-family: var(--font-sans);
    transition: all .3s ease-out;
    padding: 8px 16px;
    border-radius: 4px;
    filter: drop-shadow(0px 0px 3px black);
}

.discord-btn:hover {
    color: white;
    transform: translateY(-2px);
    background: rgba(114, 137, 218, 0.35);
    box-shadow: 0 4px 20px rgba(114, 137, 218, 0.4);
}

.download-btn {
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-cinzel);
    font-weight: bold;
    background: linear-gradient(180deg, var(--color-gold-medium), var(--color-gold-dark));
    border: 1px solid var(--color-gold-bright);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: all .3s ease-out;
}

.download-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, var(--color-gold-bright), var(--color-gold-medium));
    box-shadow: 0 0 15px var(--color-gold-glow), 0 4px 15px rgba(0,0,0,0.6);
}

.btn-login,
.btn-register {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 4px;
    margin-right: 4px;
    transition: all .2s ease;
    font-family: var(--font-sans);
    font-weight: 600;
}

.btn-login {
    color: var(--color-gold-bright);
    border: 1px solid var(--color-gold-medium);
    background: rgba(201, 163, 92, 0.05);
    text-decoration: none;
}

.btn-login:hover {
    color: #fff;
    background: rgba(201, 163, 92, 0.15);
    border: 1px solid var(--color-gold-bright);
    box-shadow: 0 0 8px rgba(201, 163, 92, 0.3);
}

.btn-register {
    color: #110e08;
    background: linear-gradient(135deg, var(--color-gold-medium) 0%, var(--color-gold-bright) 100%);
    border: 1px solid var(--color-gold-bright);
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-register:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--color-gold-bright) 0%, #fff 100%);
    box-shadow: 0 0 12px var(--color-gold-glow);
}

.header-card {
    background: var(--color-dark-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--color-border);
    color: white !important;
    margin-block: 12px;
    padding: 16px 48px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    transition: all .3s ease;
}

.header-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-bright);
    box-shadow: 0 0 15px var(--color-gold-glow), 0 8px 25px rgba(0, 0, 0, 0.6);
}

.dot-color {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold-bright);
    border-radius: 100%;
}


.fa-angles-down {
    animation-name: float;
    animation-duration: 1s;
    /* Duration of one cycle */
    animation-iteration-count: infinite;
    /* Makes it loop forever */
    animation-timing-function: ease-in-out;
    /* Smooths the start and end */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.news-title {
    background: -webkit-linear-gradient(135deg, var(--color-gold-bright), var(--color-gold-medium) 50%, var(--color-gold-dark));
    -webkit-background-clip: text;
    font-size: 48px !important;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-viewnews {
    border: 1px solid var(--color-gold-medium);
    color: var(--color-gold-bright);
    border-radius: 4px;
    padding: 6px 18px;
    text-decoration: none;
    font-family: var(--font-cinzel);
    font-weight: 600;
    transition: all .3s ease;
}

.btn-viewnews:hover {
    border-color: var(--color-gold-bright);
    color: #fff;
    box-shadow: 0 0 10px var(--color-gold-glow);
}

.btn-viewnews i {
    transition: all .2s;
}

.btn-viewnews:hover i {
    transform: translateX(4px);
}

.content-img {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.nw-hover:hover .content-img {
    border-color: var(--color-border-bright);
    box-shadow: 0 0 15px var(--color-gold-glow);
}

.content-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.5s ease;
}

.text-img {
    border-radius: 0px 0px 4px 4px;
    border-top: none;
    background-color: rgba(8, 10, 11, 0.85);
    position: absolute;
    bottom: 0%;
    color: white;
    font-family: var(--font-sans);
    padding: 15px 20px;
    font-size: 24px;
    width: 100%;
}

.btn-morenews {
    color: var(--color-gold-bright) !important;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-weight: bold;
}

.nw-hover {
    text-decoration: none;
    color: white;
}

.nw-hover:hover .content-img img {
    transform: scale(1.1);
}

.nw-hover .fa-angle-right {
    transition: all .2s ease;
}

.nw-hover:hover .fa-angle-right {
    transform: translateX(4px);
}

.minicard-news {
    border: 1px solid var(--color-border);
    background: var(--color-dark-card);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nw-hover:hover .minicard-news {
    border-color: var(--color-border-bright);
    box-shadow: 0 0 15px var(--color-gold-glow);
}

.minicard-news img {
    width: 100%;
    border-radius: 4px 4px 0px 0px;
}

/* NAVBAR BASE */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        padding 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;

    padding: 0;
    z-index: 20;
}

.navbar.nav--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* LOGO */
.navbar img {
    transition: width 0.35s ease;
}

/* ESTADO SCROLL */
.navbar.nav--scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 20px 0;
}


/* LOGO CHICO */
.navbar.nav--scrolled .img-resize-scroll {
    width: 96px !important;
}

body.has-sticky-nav {
    /* removed padding-top to prevent background jumping */
}

/* MEDIA QUERY PARA MÓVILES */
@media (max-width: 768px) {
    body.has-sticky-nav {
        /* removed padding-top to prevent background jumping */
    }

    .navbar.nav--scrolled {
        padding: 8px 0;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        margin-inline: 8px;
    }

    .form-select.nav-lang {
        font-size: 0.9rem;
    }
}

.navbar-toggler-icon {
    filter: invert(1) !important;
    border: white !important;
}

.ranking-section {
    height: 50vh;
    background: url('../img/bgrank.png') no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 20px 10px black;
}

.footer-t {
    font-family: var(--font-cinzel);
    background: -webkit-linear-gradient(135deg, var(--color-gold-bright), var(--color-gold-medium) 50%, var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer ul li::marker {
    color: rgba(255, 166, 0, 0.692) !important;
}

footer ul li a {
    text-decoration: none;
    color: rgb(206, 203, 203);
    transition: all .2s;
}

footer ul li a:hover {
    color: rgba(255, 166, 0, 0.692);
    margin-left: 4px;
}

footer .btn-instagram,
footer .btn-discord,
footer .btn-tiktok,
footer .btn-kick {
    padding: 8px;
    color: rgb(206, 203, 203);
    text-decoration: none;
    border-radius: 4px;
    border: 4px solid #080A0B;
    transition: all .2s;
}

footer .btn-instagram:hover {
    background: rgba(255, 0, 170, 0.384);
    border: 4px solid rgba(255, 0, 170, 0.384);
}

footer .btn-discord:hover {
    background: #7289da91;
    border: 4px solid #7289da91;
}

footer .btn-tiktok:hover {
    background: #ff005163;
    border: 4px solid #ff005163;
}

footer .btn-kick:hover {
    background: linear-gradient(90deg, #00e701, black);
    border: 4px solid #00e701;
    color: #000;
}

.about-title {
    font-family: 'Cinzel', sans-serif;
    color: white;
}

.separator-ft {
    display: flex;
    align-items: center;
    padding: 1px;
}

.separator-ft .separator-body {
    background: linear-gradient(90deg, transparent, rgba(155, 93, 229, 0.6), transparent);
    margin: 0 auto;
    width: 100%;
    padding: 1px 10%;
    filter: drop-shadow(0px 0px 8px rgba(155, 93, 229, 0.8));
}

.card-about {
    position: relative;
    width: 260px;
    padding-top: 70px;
    background: linear-gradient(180deg, #120f0c, #060504);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.7),
        inset 0 0 20px var(--color-gold-deep);
    text-align: center;
    font-family: var(--font-cinzel);
    overflow: visible;
    transition: all .3s ease;
}

/* IMAGEN QUE SOBRESALE */
.card-img {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 15px 25px rgb(86, 56, 118));
    transition: all .3s ease;
}

.card-img img {
    width: 160px;
    pointer-events: none;
    transition: all .3s ease;
}

/* CONTENIDO */
.card-content {
    padding: 20px 15px 22px;
}

.card-content h4 {
    font-size: 15px;
    color: #ffcf8b;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 180, 90, 0.6);
}

.card-content span {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    color: #ff7a1a;
    font-weight: bold;
    text-shadow:
        0 0 12px rgba(255, 120, 40, 0.9),
        0 0 25px rgba(255, 80, 20, 0.6);
    transition: all .3s ease;
}

/* DETALLE DECORATIVO */
.card-about::before {
    content: "✦";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff9c3a;
    font-size: 22px;
    text-shadow: 0 0 12px rgba(255, 140, 60, 0.8);
}


.card-about:hover img {
    transform: translateY(-5%);
}

.card-about:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--color-border-bright);
    box-shadow:
        0 0 25px var(--color-gold-glow),
        0 15px 35px rgba(0, 0, 0, 0.8),
        inset 0 0 20px var(--color-gold-deep);
}

.ranking-card {
    background: var(--color-dark-card) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
}

.ranking-card:hover {
    border-color: var(--color-border-bright) !important;
    box-shadow: 0 0 20px var(--color-gold-glow), 0 8px 30px rgba(0, 0, 0, 0.7) !important;
    transform: translateY(-5px);
}

.lang-select {
    position: relative;
    width: 120px;
    font-family: 'Cinzel', serif;
    cursor: pointer;
}

.lang-select .selected {
    background: linear-gradient(180deg, #2b1a0e, #140b05);
    border: 1px solid #c9a35c;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f5d78c;
}

.lang-select img {
    width: 22px;
    height: 14px;
    border-radius: 2px;
}

.lang-select .options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #140b05;
    border: 1px solid #c9a35c;
    display: none;
    z-index: 99;
    color: white;
    padding-left: initial;
}

.lang-select .options li {
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-select .options li:hover {
    background: rgba(201,163,92,0.15);
}

.footer-wrapper {
    background: #080A0B;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.l2-ranking-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    font-family: var(--font-sans);
}

.l2-ranking-table th {
    font-family: var(--font-cinzel);
    color: var(--color-gold-bright);
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 2px solid var(--color-gold-medium);
    text-shadow: 0 0 10px var(--color-gold-glow);
    font-size: 16px;
    text-align: center;
}

.l2-ranking-table td {
    padding: 12px 16px;
    color: rgb(206, 203, 203);
    text-align: center;
    background: rgba(8, 10, 11, 0.6);
    border-top: 1px solid rgba(155, 93, 229, 0.1);
    border-bottom: 1px solid rgba(155, 93, 229, 0.1);
    transition: all .2s;
}

.l2-ranking-table td:first-child {
    border-left: 1px solid rgba(155, 93, 229, 0.1);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.l2-ranking-table td:last-child {
    border-right: 1px solid rgba(155, 93, 229, 0.1);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.l2-ranking-row:hover td {
    background: rgba(155, 93, 229, 0.15);
    border-color: rgba(155, 93, 229, 0.4);
    box-shadow: inset 0 0 10px rgba(155, 93, 229, 0.2);
}

.rank-gold {
    color: #ffd700 !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    font-size: 18px;
}

.rank-silver {
    color: #e3e4e5 !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(227, 228, 229, 0.6);
    font-size: 17px;
}

.rank-bronze {
    color: #cd7f32 !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(205, 127, 50, 0.6);
    font-size: 16px;
}

.streambox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Cinzel', serif;
}

/* BOTÓN */
.streambox-toggle {
    background: linear-gradient(180deg, #2b1a0e, #120905);
    border: 1px solid #c9a35c;
    color: #f5d78c;
    padding: 10px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(201,163,92,.25);
}

.streambox-toggle i {
    color: #ff3b3b;
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* PANEL */
.streambox-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 260px;
    background: #0b0e10;
    border: 1px solid #c9a35c;
    box-shadow: 0 0 40px rgba(0,0,0,.7);
    border-radius: 8px;
    padding: 12px;
    display: none;
}

.streambox-panel h4 {
    color: #f5d78c;
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(201,163,92,.3);
    padding-bottom: 6px;
}

/* ITEMS */
.stream-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: background .2s ease;
}

.stream-item strong {
    color: #fff;
    font-size: 14px;
}

.stream-item span {
    font-size: 12px;
    color: #bdbdbd;
}

.stream-item:hover {
    background: rgba(201,163,92,.12);
}

/* ICONOS */
.stream-item i,
.stream-item img {
    width: 22px;
    height: 22px;
}

/* COLORES PLATAFORMAS */
.stream-item.kick i,
.stream-item.kick span { color: #2dff1f; }

.stream-item.twitch i { color: #9146ff; }
.stream-item.youtube i { color: #ff0000; }

.has-sticky-nav main {
    margin-top: 90px;
}

