/* ==========================================================
   L2DRY
   Global Theme
   ========================================================== */

:root {
    --bg-main: #090a0c;
    --bg-secondary: #0e1013;
    --bg-surface: #14171b;
    --text-main: #e8e5de;
    --text-secondary: #93979d;
    --text-dark: #686c72;
    --accent: #b69a64;
    --accent-light: #d1bb8a;
    --border: rgba(255, 255, 255, 0.08);
    --max-width: 1320px;
}


/* ==========================================================
   RESET
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-main);
    color: var(--text-main);
    font-family: "Segoe UI", Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: linear-gradient( 180deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.55) 70%, transparent 100% );
}

.header-container {
    width: min(92%, var(--max-width));
    height: 92px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* BRAND */

.brand {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 5px;
}

.brand-sub {
    margin-top: 2px;
    color: var(--accent);
    font-size: 8px;
    letter-spacing: 3px;
}


/* NAV */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 38px;
}

    .main-navigation a {
        position: relative;
        color: #c5c5c5;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1.5px;
        transition: color 0.25s ease;
    }

        .main-navigation a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -10px;
            width: 0;
            height: 1px;
            background: var(--accent);
            transition: width 0.25s ease;
        }

        .main-navigation a:hover {
            color: white;
        }

            .main-navigation a:hover::after {
                width: 100%;
            }


/* PLAY BUTTON */

.play-button {
    padding: 13px 28px;
    border: 1px solid var(--accent);
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background 0.25s ease, color 0.25s ease;
}

    .play-button:hover {
        background: var(--accent);
        color: #0a0b0d;
    }


/* ==========================================================
   HERO
   ========================================================== */

.hero {
    position: relative;
    min-height: 860px;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050607;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 28% 48%, rgba(183, 155, 100, 0.11), transparent 32% ), radial-gradient( circle at 78% 45%, rgba(90, 94, 102, 0.08), transparent 34% ), linear-gradient( 115deg, #050607 0%, #0d0f12 48%, #050607 100% );
}

    .hero-background::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(5, 6, 8, 0.55) 0%, rgba(5, 6, 8, 0.15) 45%, rgba(5, 6, 8, 0.45) 100% ), linear-gradient( 0deg, var(--bg-main) 0%, transparent 28% );
    }

.hero-content {
    position: relative;
    z-index: 2;
    width: min(92%, var(--max-width));
    margin: auto;
    padding-top: 70px;
}


/* HERO BRAND */

.hero-brand {
    display: flex;
    align-items: center;
    gap: clamp(55px, 7vw, 110px);
}

.hero-logo {
    display: block;
    width: min(520px, 43vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 25px rgba(182, 154, 100, 0.05));
}

.hero-description {
    max-width: 430px;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 6px;
}

.hero-description p {
    margin: 0 0 38px;
    color: #a0a1a5;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: 1px;
}


/* PRIMARY BUTTON */

.primary-button {
    display: inline-block;
    padding: 17px 34px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #0a0b0d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

    .primary-button:hover {
        background: transparent;
        color: var(--accent-light);
        box-shadow: 0 0 25px rgba(182, 154, 100, 0.10);
    }


/* SCROLL INDICATOR */

.hero-scroll {
    position: absolute;
    bottom: 38px;
    left: 50%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
}

    .hero-scroll span {
        margin-bottom: 12px;
        color: #686b70;
        font-size: 8px;
        letter-spacing: 4px;
    }

    .hero-scroll div {
        width: 1px;
        height: 38px;
        background: linear-gradient( var(--accent), transparent );
    }


/* ==========================================================
   SECTION HEADING
   ========================================================== */

.section-heading {
    max-width: 750px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 5px;
}

.section-heading h2,
.community-content h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 300;
    letter-spacing: 5px;
}

.section-heading p {
    margin: 24px auto 0;
    max-width: 570px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}


/* ==========================================================
   SERVERS
   ========================================================== */

.servers-section {
    position: relative;
    padding: 120px 0 145px;
    background: linear-gradient( 180deg, var(--bg-main) 0%, var(--bg-secondary) 100% );
}

.servers-container {
    width: min(92%, 1050px);
    margin: auto;
}


/* TORCH CARD */

.server-card {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #131518;
}

.server-card-background {
    position: absolute;
    inset: 0;
    /*
        Después usamos una imagen exclusiva de L2Torch.
    */

    background: radial-gradient( circle at 78% 45%, rgba(190, 91, 25, 0.22), transparent 28% ), linear-gradient( 115deg, #111317, #20150f 65%, #090a0c );
    transition: transform 0.8s ease;
}

.server-card:hover .server-card-background {
    transform: scale(1.025);
}


.server-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(7, 8, 10, 0.97) 0%, rgba(7, 8, 10, 0.83) 45%, rgba(7, 8, 10, 0.2) 100% );
}


.server-card-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 620px;
    padding: 55px 65px;
}


.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca09f;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 3px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #73a96b;
    box-shadow: 0 0 8px rgba(115, 169, 107, 0.5);
}

.server-card p {
    margin: 28px 0;
    color: #8d9197;
    font-size: 14px;
    line-height: 1.8;
}


.server-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 35px;
}

    .server-tags span {
        padding: 7px 11px;
        border: 1px solid rgba(255,255,255,0.08);
        color: #777b80;
        font-size: 8px;
        letter-spacing: 1.5px;
    }


.server-button {
    display: inline-block;
    padding: 14px 25px;
    border: 1px solid #94522b;
    color: #c27b4c;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background 0.25s ease, color 0.25s ease;
}

    .server-button:hover {
        background: #a35c31;
        color: #090a0c;
    }


/* ==========================================================
   COMMUNITY
   ========================================================== */

.community-section {
    padding: 145px 5%;
    border-top: 1px solid var(--border);
    background: radial-gradient( circle at 50% 0%, rgba(183,155,100,0.07), transparent 35% ), var(--bg-main);
}

.community-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

    .community-content p {
        max-width: 650px;
        margin: 30px auto 0;
        color: var(--text-secondary);
        font-size: 15px;
        line-height: 1.9;
    }


/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    border-top: 1px solid var(--border);
    background: #07080a;
}

.footer-container {
    width: min(92%, var(--max-width));
    margin: auto;
    padding: 75px 0;
    display: flex;
    justify-content: space-between;
}


.footer-logo {
    display: block;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 5px;
}

.footer-brand p {
    margin-top: 10px;
    color: var(--text-dark);
    font-size: 11px;
    letter-spacing: 2px;
}


.footer-links {
    display: flex;
    gap: 90px;
}

    .footer-links > div {
        display: flex;
        flex-direction: column;
        gap: 11px;
    }

.footer-title {
    margin-bottom: 7px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-links a {
    color: #777b80;
    font-size: 12px;
    transition: color 0.2s ease;
}

    .footer-links a:hover {
        color: white;
    }


.footer-bottom {
    padding: 22px;
    border-top: 1px solid var(--border);
    color: #494c50;
    text-align: center;
    font-size: 10px;
    letter-spacing: 1px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }

    .hero {
        min-height: 760px;
        height: auto;
        padding: 130px 0 90px;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-brand {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .hero-logo {
        width: min(480px, 70vw);
    }

    .hero-description {
        max-width: 520px;
    }

        .hero-description p {
            font-size: 19px;
        }

    .server-card-content {
        padding: 45px 32px;
    }

    .server-logo {
        width: 270px;
    }

    .footer-container {
        flex-direction: column;
        gap: 50px;
    }

    .footer-links {
        gap: 45px;
        flex-wrap: wrap;
    }
}


@media (max-width: 550px) {

    .header-container {
        height: 78px;
    }

    .brand-main {
        font-size: 21px;
    }

    .play-button {
        padding: 10px 17px;
    }

    .hero {
        min-height: 700px;
        padding-top: 110px;
    }

    .hero-logo {
        width: 88vw;
    }

    .hero-eyebrow {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .hero-description p {
        font-size: 16px;
    }

    .servers-section {
        padding: 90px 0;
    }

    .server-card {
        min-height: 520px;
    }

    .server-logo {
        width: 235px;
    }

    .footer-links {
        flex-direction: column;
    }
}
.server-logo-container {
    margin: 24px 0 18px;
}

.server-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 20px rgba(190, 91, 25, 0.08));
}
.l2torch-hero {
    padding: 150px 40px;
    text-align: center;
}

.l2torch-logo {
    width: 350px;
    max-width: 90%;
}
