﻿/* ==========================================================
   L2TORCH
   Dedicated Theme
   ========================================================== */

:root {
    --torch-bg: #080706;
    --torch-bg-dark: #030303;
    --torch-panel: rgba(11, 10, 9, 0.96);
    --torch-gold: #c89549;
    --torch-gold-light: #edc47b;
    --torch-gold-dark: #694521;
    --torch-red: #721d12;
    --torch-red-light: #a73720;
    --torch-text: #e5d7bc;
    --torch-muted: #9f947f;
    --torch-border: rgba(203, 155, 76, 0.38);
    --torch-width: 1400px;
}


/* ==========================================================
   PAGE
   ========================================================== */

body.l2torch-page {
    margin: 0;
    background: radial-gradient( circle at 50% 0%, rgba(127, 69, 27, 0.13), transparent 35% ), var(--torch-bg-dark);
    color: var(--torch-text);
    font-family: Georgia, "Times New Roman", serif;
}


/* ==========================================================
   HEADER
   ========================================================== */

.torch-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: linear-gradient( 180deg, rgba(3, 3, 3, 0.98), rgba(5, 5, 5, 0.9) );
    border-bottom: 1px solid var(--torch-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}


.torch-header-inner {
    width: min(94%, var(--torch-width));
    height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* LOGO */

.torch-header-logo {
    width: 180px;
    display: flex;
    align-items: center;
}


    .torch-header-logo img {
        display: block;
        width: 150px;
        height: auto;
        filter: drop-shadow( 0 3px 8px rgba(0, 0, 0, 0.9) );
    }


/* ==========================================================
   NAVIGATION
   ========================================================== */

.torch-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: clamp(20px, 2.2vw, 42px);
}


    .torch-navigation a {
        position: relative;
        color: #c9c0b0;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1.2px;
        transition: color 0.25s ease;
    }


        .torch-navigation a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -13px;
            width: 0;
            height: 1px;
            background: var(--torch-gold);
            transform: translateX(-50%);
            transition: width 0.25s ease;
        }


        .torch-navigation a:hover {
            color: var(--torch-gold-light);
        }


            .torch-navigation a:hover::after {
                width: 100%;
            }


/* ==========================================================
   HEADER PLAY BUTTON
   ========================================================== */

.torch-play-button {
    min-width: 145px;
    padding: 12px 25px;
    border: 1px solid var(--torch-gold-dark);
    background: linear-gradient( 180deg, #742517, #3d100a );
    color: #f5dfb5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 0 15px rgba(0,0,0,0.55);
    transition: border-color 0.2s ease, filter 0.2s ease;
}


    .torch-play-button:hover {
        border-color: var(--torch-gold);
        filter: brightness(1.18);
    }


/* ==========================================================
   HERO
   ========================================================== */

.torch-hero {
    position: relative;
    width: 100%;
    min-height: 690px;
    margin-top: 78px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #070605;
}


/*
    Cuando tengamos el background definitivo del mockup:

    wwwroot/Images/servers/l2torch/hero-bg.webp
*/

.torch-hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( 90deg, rgba(4, 3, 2, 0.80) 0%, rgba(4, 3, 2, 0.20) 31%, rgba(4, 3, 2, 0.12) 50%, rgba(4, 3, 2, 0.38) 78%, rgba(4, 3, 2, 0.82) 100% ), linear-gradient( 0deg, rgba(5, 4, 3, 0.94) 0%, transparent 28% ), radial-gradient( circle at 50% 40%, rgba(199, 119, 44, 0.25), transparent 35% ), url("/Images/servers/l2torch/hero-bg.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.01);
}


/* ==========================================================
   HERO CONTENT
   ========================================================== */

.torch-hero-content {
    position: relative;
    z-index: 2;
    width: min(94%, var(--torch-width));
    margin: 100px auto 0;
    display: flex;
    justify-content: center;
}


.torch-hero-brand {
    width: min(650px, 90vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* MAIN LOGO */

.torch-main-logo {
    display: block;
    width: min(430px, 55vw);
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 14px rgba(197, 115, 37, 0.18));
}


.torch-chronicle {
    margin-top: 5px;
    color: #f0ddbb;
    font-size: clamp(19px, 1.7vw, 26px);
    letter-spacing: 3px;
}


.torch-server-type {
    margin-top: 7px;
    color: #e9d3ae;
    font-size: clamp(17px, 1.4vw, 23px);
    letter-spacing: 3px;
}


.torch-divider {
    width: 340px;
    max-width: 70%;
    height: 1px;
    margin: 19px 0 15px;
    background: linear-gradient( 90deg, transparent, var(--torch-gold), transparent );
}


.torch-tagline {
    color: #c9b58f;
    font-size: 12px;
    letter-spacing: 4px;
}


/* ==========================================================
   HERO BUTTONS
   ========================================================== */

.torch-hero-actions {
    margin-top: 31px;
    display: flex;
    gap: 14px;
}


.torch-button {
    min-width: 190px;
    padding: 16px 35px;
    border: 1px solid var(--torch-gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
    transition: filter 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}


.torch-button-primary {
    background: linear-gradient( 180deg, #84291a, #481109 );
    color: #f6dfb6;
}


.torch-button-secondary {
    background: rgba(6, 6, 6, 0.88);
    color: #d7c7aa;
}


.torch-button:hover {
    border-color: var(--torch-gold-light);
    filter: brightness(1.17);
}


/* ==========================================================
   SERVER STATUS
   ========================================================== */

.torch-status-bar {
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--torch-border);
    border-bottom: 1px solid var(--torch-border);
    background: linear-gradient( 180deg, #0d0d0c, #070707 );
}


.torch-status-container {
    width: min(94%, 1200px);
    min-height: 78px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


.torch-status-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 14px 25px;
    border-right: 1px solid rgba(193, 144, 70, 0.18);
}


    .torch-status-item:last-child {
        border-right: 0;
    }


    .torch-status-item div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }


    .torch-status-item small {
        color: #847c70;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 8px;
        letter-spacing: 1.4px;
    }


    .torch-status-item strong {
        color: #ddd1b9;
        font-size: 16px;
        font-weight: normal;
        letter-spacing: 1px;
    }


        .torch-status-item strong.online {
            color: #65c36d;
        }


/* ONLINE DOT */

.torch-status-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #55bd62;
    box-shadow: 0 0 18px rgba(72, 214, 88, 0.60);
}


.torch-status-icon {
    color: #bca06d;
    font-size: 26px;
}


/* ==========================================================
   TEMPORARY NEXT SECTION
   ========================================================== */

.torch-placeholder-section {
    min-height: 430px;
    padding: 95px 30px;
    text-align: center;
    background: radial-gradient( circle at 50% 0%, rgba(162, 99, 36, 0.09), transparent 40% ), #080706;
}


    .torch-placeholder-section span {
        color: var(--torch-gold);
        font-size: 10px;
        letter-spacing: 5px;
    }


    .torch-placeholder-section h2 {
        margin: 15px 0;
        color: #e8d8ba;
        font-size: 37px;
        font-weight: normal;
        letter-spacing: 2px;
    }


    .torch-placeholder-section p {
        width: min(620px, 90%);
        margin: auto;
        color: #938a7c;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 14px;
        line-height: 1.8;
    }


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1000px) {

    .torch-navigation {
        display: none;
    }


    .torch-header-inner {
        justify-content: space-between;
    }


    .torch-hero {
        min-height: 650px;
    }


    .torch-status-container {
        grid-template-columns: repeat(2, 1fr);
    }


    .torch-status-item:nth-child(2) {
        border-right: 0;
    }


    .torch-status-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(193, 144, 70, 0.18);
    }
}


@media (max-width: 600px) {

    .torch-header-inner {
        height: 68px;
    }


    .torch-header-logo img {
        width: 125px;
    }


    .torch-play-button {
        min-width: auto;
        padding: 10px 16px;
        font-size: 11px;
    }


    .torch-hero {
        min-height: 610px;
    }


    .torch-hero-content {
        margin-top: 70px;
    }


    .torch-hero-actions {
        width: 100%;
        flex-direction: column;
    }


    .torch-button {
        width: 100%;
    }


    .torch-status-container {
        grid-template-columns: 1fr;
    }


    .torch-status-item {
        min-height: 70px;
        border-right: 0;
        border-bottom: 1px solid rgba(193, 144, 70, 0.18);
    }


        .torch-status-item:last-child {
            border-bottom: 0;
        }
}
/* ==========================================================
   WHY PLAY L2TORCH
   ========================================================== */

.torch-features {
    position: relative;
    padding: 70px 0 80px;
    background: radial-gradient( ellipse at 50% 0%, rgba(154, 91, 34, 0.10), transparent 45% ), linear-gradient( 180deg, #090806 0%, #050504 100% );
    border-bottom: 1px solid var(--torch-border);
}


/* TITLE */

.torch-section-title {
    margin-bottom: 42px;
    text-align: center;
}

    .torch-section-title h2 {
        margin: 0;
        color: #ead9ba;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 32px;
        font-weight: normal;
        letter-spacing: 2px;
    }

    .torch-section-title p {
        margin: 12px 0 0;
        color: #a98756;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 11px;
        letter-spacing: 3px;
    }


/* ORNAMENT */

.torch-title-divider {
    width: 260px;
    margin: 13px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .torch-title-divider span {
        flex: 1;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(199, 151, 74, 0.6) );
    }

        .torch-title-divider span:last-child {
            background: linear-gradient( 90deg, rgba(199, 151, 74, 0.6), transparent );
        }

    .torch-title-divider i {
        width: 7px;
        height: 7px;
        margin: 0 10px;
        border: 1px solid var(--torch-gold);
        transform: rotate(45deg);
    }


/* FEATURE GRID */

.torch-features-grid {
    width: min(94%, 1200px);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid rgba(199, 151, 74, 0.30);
    background: rgba(5, 5, 4, 0.55);
}


/* FEATURE */

.torch-feature {
    min-height: 185px;
    padding: 29px 22px 25px;
    text-align: center;
    border-right: 1px solid rgba(199, 151, 74, 0.22);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

    .torch-feature:last-child {
        border-right: 0;
    }

    .torch-feature:hover {
        background: radial-gradient( circle at 50% 25%, rgba(180, 111, 42, 0.12), transparent 60% );
        box-shadow: inset 0 0 25px rgba(180, 111, 42, 0.04);
    }


/* ICON */

.torch-feature-icon {
    width: 47px;
    height: 47px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(204, 157, 82, 0.65);
    border-radius: 50%;
    color: var(--torch-gold-light);
    font-size: 20px;
    box-shadow: inset 0 0 12px rgba(181, 112, 43, 0.08);
}


/* TEXT */

.torch-feature h3 {
    margin: 0 0 12px;
    color: #dcc7a1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 1px;
}

.torch-feature p {
    max-width: 170px;
    margin: auto;
    color: #827b70;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.65;
}


/* ==========================================================
   FEATURES RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .torch-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .torch-feature {
        border-bottom: 1px solid rgba(199, 151, 74, 0.22);
    }

        .torch-feature:nth-child(even) {
            border-right: 0;
        }

        .torch-feature:last-child {
            grid-column: 1 / -1;
            border-bottom: 0;
        }
}


@media (max-width: 550px) {

    .torch-features {
        padding: 55px 0;
    }

    .torch-features-grid {
        grid-template-columns: 1fr;
    }

    .torch-feature {
        min-height: 160px;
        border-right: 0;
        border-bottom: 1px solid rgba(199, 151, 74, 0.22);
    }

        .torch-feature:last-child {
            grid-column: auto;
        }
}
/* ==========================================================
   SERVER INFORMATION
   ========================================================== */

.torch-server-info {
    position: relative;
    padding: 80px 0 90px;
    background: radial-gradient( ellipse at 50% 50%, rgba(128, 72, 26, 0.07), transparent 55% ), #050504;
    border-bottom: 1px solid var(--torch-border);
}


.torch-info-grid {
    width: min(92%, 1350px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(199, 151, 74, 0.30);
    background: rgba(8, 7, 6, 0.75);
}


.torch-info-card {
    position: relative;
    min-height: 250px;
    padding: 30px 28px;
    border-right: 1px solid rgba(199, 151, 74, 0.20);
}


    .torch-info-card:last-child {
        border-right: 0;
    }


.torch-info-number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(199, 151, 74, 0.18);
    font-size: 28px;
    letter-spacing: 1px;
}


.torch-info-card h3 {
    margin: 0 0 28px;
    color: var(--torch-gold-light);
    font-size: 17px;
    font-weight: normal;
    letter-spacing: 2px;
}


.torch-info-row {
    min-height: 48px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(199, 151, 74, 0.12);
}


    .torch-info-row:last-child {
        border-bottom: 0;
    }


    .torch-info-row span {
        color: #8f8779;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 13px;
        letter-spacing: 0.6px;
        line-height: 1.35;
    }



    .torch-info-row strong {
        color: #e2c995;
        font-size: 14px;
        font-weight: normal;
        line-height: 1.35;
        text-align: right;
    }


.torch-info-more {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}


    .torch-info-more .torch-button {
        min-width: 250px;
    }


/* RESPONSIVE */

@media (max-width: 950px) {

    .torch-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .torch-info-card:nth-child(2) {
        border-right: 0;
    }

    .torch-info-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(199, 151, 74, 0.20);
    }
}


@media (max-width: 550px) {

    .torch-info-grid {
        grid-template-columns: 1fr;
    }

    .torch-info-card {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(199, 151, 74, 0.20);
    }

        .torch-info-card:last-child {
            border-bottom: 0;
        }
}
/* ==========================================================
   FULL SERVER INFORMATION
   ========================================================== */

html {
    scroll-behavior: smooth;
}

.torch-info-hero {
    padding: 85px 30px 65px;
    background: radial-gradient( ellipse at 50% 0%, rgba(148, 82, 28, 0.15), transparent 55% ), #070605;
    border-bottom: 1px solid var(--torch-border);
}

.torch-info-hero-content {
    width: min(92%, 1200px);
    margin: auto;
    text-align: center;
}

.torch-info-eyebrow {
    color: var(--torch-gold);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
}

.torch-info-hero h1 {
    margin: 15px 0 0;
    color: #ead9ba;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: normal;
    letter-spacing: 3px;
}

.torch-info-hero p {
    margin: 18px 0 0;
    color: #9b9181;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}


/* ==========================================================
   GUIDE LAYOUT
   ========================================================== */

.torch-guide {
    background: radial-gradient( circle at 60% 20%, rgba(132, 74, 27, 0.06), transparent 35% ), #050504;
}

.torch-guide-container {
    width: min(92%, 1350px);
    margin: auto;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}


/* ==========================================================
   SIDEBAR
   ========================================================== */

.torch-guide-sidebar {
    position: sticky;
    top: 105px;
    padding: 70px 0;
}

.torch-guide-sidebar-title {
    display: block;
    margin-bottom: 22px;
    color: #776e60;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
}

.torch-guide-nav {
    border-top: 1px solid rgba(199, 151, 74, 0.25);
}

    .torch-guide-nav a {
        padding: 15px 5px;
        display: flex;
        align-items: center;
        gap: 15px;
        border-bottom: 1px solid rgba(199, 151, 74, 0.12);
        color: #938a7c;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 12px;
        letter-spacing: 1px;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }

        .torch-guide-nav a span {
            color: #66543a;
            font-family: Georgia, "Times New Roman", serif;
            font-size: 11px;
        }

        .torch-guide-nav a:hover,
        .torch-guide-nav a.active {
            padding-left: 12px;
            color: var(--torch-gold-light);
        }

            .torch-guide-nav a.active span {
                color: var(--torch-gold);
            }

.torch-guide-back {
    margin-top: 30px;
    display: inline-block;
    color: #a98756;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
}


/* ==========================================================
   GUIDE CONTENT
   ========================================================== */

.torch-guide-content {
    padding: 20px 0 100px;
}

.torch-guide-section {
    padding: 70px 0;
    scroll-margin-top: 100px;
    border-bottom: 1px solid rgba(199, 151, 74, 0.18);
}

    .torch-guide-section:last-child {
        border-bottom: 0;
    }


/* SECTION HEADING */

.torch-guide-heading {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

    .torch-guide-heading > span {
        color: rgba(199, 151, 74, 0.35);
        font-size: 34px;
    }

    .torch-guide-heading small {
        display: block;
        margin-bottom: 5px;
        color: #8c7049;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 9px;
        letter-spacing: 3px;
    }

    .torch-guide-heading h2 {
        margin: 0;
        color: #e3cfaa;
        font-size: 25px;
        font-weight: normal;
        letter-spacing: 2px;
    }


/* INTRODUCTION */

.torch-guide-intro {
    width: min(760px, 100%);
    margin: 0 0 30px;
    color: #9d9588;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}


/* ==========================================================
   INFORMATION TABLE
   ========================================================== */

.torch-guide-table {
    width: 100%;
    border-top: 1px solid rgba(199, 151, 74, 0.28);
}

.torch-guide-row {
    min-height: 55px;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(200px, 1.2fr);
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(199, 151, 74, 0.12);
    transition: background 0.2s ease;
}

    .torch-guide-row:hover {
        background: rgba(164, 100, 38, 0.035);
    }

    .torch-guide-row span {
        color: #81796d;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 13px;
    }

    .torch-guide-row strong {
        color: #dfc89d;
        font-size: 14px;
        font-weight: normal;
        text-align: right;
    }


/* ==========================================================
   INFORMATION NOTE
   ========================================================== */

.torch-guide-note {
    margin-top: 30px;
    padding: 22px 25px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 25px;
    border: 1px solid rgba(199, 151, 74, 0.25);
    background: linear-gradient( 90deg, rgba(125, 68, 24, 0.10), rgba(8, 7, 6, 0.4) );
}

    .torch-guide-note > span {
        color: var(--torch-gold-light);
        font-size: 13px;
        letter-spacing: 2px;
    }

    .torch-guide-note p {
        margin: 0;
        color: #aaa092;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 13px;
        line-height: 1.7;
    }


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .torch-guide-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .torch-guide-sidebar {
        position: relative;
        top: auto;
        padding: 35px 0 10px;
    }

    .torch-guide-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

        .torch-guide-nav a {
            padding: 13px 10px;
        }

    .torch-guide-back {
        margin-top: 20px;
    }

    .torch-guide-content {
        padding-top: 0;
    }
}


@media (max-width: 550px) {

    .torch-info-hero {
        padding: 60px 20px 45px;
    }

    .torch-guide-nav {
        grid-template-columns: 1fr;
    }

    .torch-guide-section {
        padding: 50px 0;
    }

    .torch-guide-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

        .torch-guide-row strong {
            text-align: left;
        }

    .torch-guide-note {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}