/* width */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d2c38d;
    border: 2px solid #f1f1f1;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #d2c38d;
}

/* ---------------------------
      COLORES PRINCIPALES
----------------------------*/
.text-color-primary {
    color: #d2c38d;
}

.bg-warning {
    background-color: #e8be29 !important;
}

.text-warning {
    color: #e8be29 !important;
}

.btn-color-primary {
    color: #212529 !important;
    background-color: #e8be29;
    border-color: #e8be29;
}

.btn-color-primary:hover {
    color: #212529 !important;
    background-color: #c59505;
    border-color: #c59505;
}

.bg-color-primary {
    color: #212529 !important;
    background-color: #e8be29 !important;
}

.btn-special {
    padding: 6px;
    color: #b4a46b;
    font-weight: bolder;
    background-color: #100f0f;
    border: 6px solid transparent;
    border-image: url(../assets/img/talk_DefaultBg.png) 6 stretch;
}

.btn-special:hover {
    color: #f0eee7;
    background-color: #000000;
}

.btn-normal {
    color: #f0eee7;
    font-weight: bolder;
    border: 1px solid transparent;
    border-image: url(../assets/img/border3.png) 6 stretch;
    transition: all 0.25s;
    background: linear-gradient(180deg, #e8be29 0%, #927303 61%);
    box-shadow: inset 0px 0px 1px 1px #241a06;
}

.btn-normal:hover {
    color: #383014;
    background: linear-gradient(180deg, #e8be29 0%, #e9bb14 61%);

}

.link-cursor:hover {
    cursor: pointer;
}

/* ---------------------------
               MENU
----------------------------*/
.menu-ppal {
    text-align: center;
    display: flex;
    justify-content: space-around;
    font-weight: bold;
    list-style: none;
    padding-inline-start: 0;
}

.menu-ppal-item {
    color: #e4e0d4;
    text-decoration: none;
    width: 10rem;
    position: relative !important;
    display: block;
    border-bottom: 2px solid #007bff00;
    transition: all 0.25s;
}

.menu-ppal-item:hover {
    color: #bebdb8;
    text-decoration: none;
    cursor: pointer;
}

.menu-active {
    color: #d2c38d;
    border-bottom: 2px solid #d2c38d;
}

/* ---------------------------
         PANEL RIGHT
----------------------------*/
.bg-color-panel-right {
    /*background-color: #3e4042;*/
    /*margin-bottom: 20px;*/
    border-radius: 0.25rem;
    /*border: 1px solid #1d1f21;*/
}

.bg-color-title {
    padding: 6px;
    color: #d2c38d;
    font-weight: bolder;
    background-color: #100f0f;
    border: 6px solid transparent;
    border-image: url(./assets/img/talk_DefaultBg.png) 6 stretch;


}

.bg-hero {
    background-image: url(../assets/img/texturesGame/l2ui_ch3/herotower_deco.png);
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: inherit;
}

.bg-color-title2 {
    color: #d2c38d;
    font-weight: bolder;
    text-align: center;
    padding: 6px;
    text-shadow: 1px 1px 5px #000000;
    background-color: #0000004a;
    border: 3px solid transparent;
    border-image: url(../assets/img/border3.png) 8 stretch;
}

/* ---------------------------
         FOOTER
----------------------------*/
.footer {
    width: 100%;
    height: 30px;
    border-top: 1px solid #d2c38d;
    box-shadow: 0px -1px 10px 1px #44250d96;
    color: #d2c38d;
}


/* ---------------------------
         ESTRUCTURA
----------------------------*/
body {
    background-color: #1d1f2128 !important;

}

body::before {
    content: '';
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: url(../assets/img/background_alt.jpg);

    filter: blur(2px) saturate(130%);
}


.panel-border {
    color: rgb(238, 236, 236);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 0.5rem 1rem !important;
    background-color: #000000a8;
    border: 3px solid transparent;
    padding: 20px;
    border-image: url(../assets/img/border3.png) 5 stretch;
    backdrop-filter: blur(15px) saturate(130%);
}


.panel-ppal {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.panel-left {
    width: 75%;
}

.panel-right {
    width: 20%;
}

.bg-dark {
    background-color: #000000a8 !important;
    /*backdrop-filter: blur(2px) saturate(130%);*/
}

.bg-dark::before {
    content: '';
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    filter: blur(10px);
}

/* ---------------------------
             TOP CSS
----------------------------*/
.top-img {}



.top-body {
    /*height: 40px;*/
    padding-left: 16px;
    padding-top: 8px;
    border-bottom: 1px solid #d2c38d;
}

.menu-top {
    text-align: center;
    display: inline-flex;
    font-weight: bold;
    list-style: none;
    padding-inline-start: 0;
    /*padding-left: 16px;*/
}


/* ---------------------------
           LOGO CSS
----------------------------*/
.logo {
    filter: drop-shadow(-3px -3px 2px #111111);
    transition: all 0.25s;
}

.logo:hover {}

/* ---------------------------
         ALERT CSS
----------------------------*/
.alert-windows {
    max-width: 100%;
    min-width: 300px;
    position: fixed;
    left: 1.0rem;
    bottom: 0px;
    z-index: 1050;
    transition: all 1.0s ease-out;

    font-weight: bold;
    box-shadow: rgb(53, 53, 53) 0.3rem 0.3rem 0.8rem !important;

    border: 3px solid transparent !important;
    border-radius: 0.25rem;

    background-origin: padding-box, border-box;
    background-repeat: no-repeat;


    visibility: hidden;
}

.alert-windows-head {
    padding-right: 6px;
    border-radius: 0.5rem;
}

.alert-warning {
    color: rgb(202, 54, 9);
    background-image: linear-gradient(#dddcdc, #ffffff), linear-gradient(135deg, #630f04, #f30b0b 50%);
}

.alert-success {
    color: rgb(3, 107, 20);
    background-image: linear-gradient(#dddcdc, #ffffff), linear-gradient(135deg, #026107, #00e40b 50%);
}

.alert-info {
    color: rgb(51, 51, 51);
    background-image: linear-gradient(#dddcdc, #ffffff), linear-gradient(135deg, #030303, #c5c1c1 50%);
}


.custom-form {
    border: 1px solid #5b5b5b;
    color: #dcdcdc;
    background-color: #26262500;
}

.custom-form:focus {
    color: #000000;
    background-color: #929090;
    border-color: #e8be29;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(255 193 7 / 16%);
}

.l2-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Lineage 2 térkép háttér */
    background-image: url("images/lineage2-map.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, 0.75),
        0 10px 30px rgba(0, 0, 0, 0.35);

    border: 1px solid rgba(180, 130, 40, 0.25);
}

.l2-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.85) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
    z-index: 1;
}

.l2-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 30px 20px;
}

.l2-logo {
    width: 140px;
    max-width: 100%;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
}

.l2-hero h1 {
    margin: 0 0 12px;
    font-size: 52px;
    line-height: 1;
    font-weight: 700;
    color: #d9b24a;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow:
        0 2px 0 #5b3d0c,
        0 4px 14px rgba(0,0,0,0.75);
    font-family: Georgia, "Times New Roman", serif;
}

.l2-hero p {
    margin: 0 auto 24px;
    max-width: 700px;
    font-size: 20px;
    line-height: 1.5;
    color: #f2f2f2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    font-family: Arial, sans-serif;
}

.l2-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.25s ease;
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    font-family: Arial, sans-serif;
}

.btn-gold {
    background: linear-gradient(to bottom, #f1cc67, #b68623);
    color: #2b1b00;
    border-color: #d0a13d;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    filter: brightness(1.05);
}

.btn-dark {
    background: linear-gradient(to bottom, rgba(60,60,60,0.95), rgba(25,25,25,0.95));
    color: #ffffff;
    border-color: rgba(255,255,255,0.12);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    background: linear-gradient(to bottom, rgba(80,80,80,0.95), rgba(35,35,35,0.95));
}

@media (max-width: 768px) {
    .l2-hero {
        min-height: 300px;
    }

    .l2-logo {
        width: 110px;
    }

    .l2-hero h1 {
        font-size: 34px;
    }

    .l2-hero p {
        font-size: 16px;
    }

    .btn {
        min-width: 130px;
        height: 44px;
        font-size: 15px;
    }
}
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 170px;
    height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-gold {
    background: linear-gradient(to bottom, #f1cc67, #b68623);
    color: #2b1b00;
    border: 1px solid #d0a13d;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}

.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-logo::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    mask: url("images/l2-emblem.svg") no-repeat center;
    -webkit-mask: url("images/l2-emblem.svg") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    pointer-events: none;
}

.btn-logo span {
    position: relative;
    z-index: 2;
}
.side-menu {
    width: 240px;
    background: linear-gradient(to bottom, #11161d, #0b0f14);
    border-right: 1px solid rgba(255,255,255,0.06);
}

.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 16px;
    color: #f2f2f2;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: 0.2s ease;
}

.side-link:hover {
    background: rgba(255,255,255,0.04);
    color: #d9b24a;
}

.side-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    opacity: 0.95;
}
.topic-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: start;
}

.topic-main {
    min-width: 0;
}

.topic-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #f0cf8a;
    background: rgba(198, 153, 66, 0.10);
    border: 1px solid rgba(198, 153, 66, 0.28);
    border-radius: 999px;
}

.topic-title {
    margin: 0 0 16px;
    color: #e0b35a;
    font-size: 34px;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    word-break: break-word;
}

.topic-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(198, 153, 66, 0.14);
    border-radius: 8px;
    padding: 18px;
}

.topic-section-title {
    margin: 0 0 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cfa85b;
}

.topic-details {
    color: #f3ede3;
    font-size: 15px;
    line-height: 1.75;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.topic-side {
    min-width: 0;
}

.server-box {
    background: linear-gradient(to bottom, rgba(212, 166, 74, 0.10), rgba(255,255,255,0.03));
    border: 1px solid rgba(212, 166, 74, 0.35);
    border-radius: 10px;
    padding: 16px;
    box-shadow:
        inset 0 0 20px rgba(212, 166, 74, 0.05),
        0 8px 25px rgba(0,0,0,0.22);
}

.server-box-title {
    margin: 0 0 10px;
    color: #e0b35a;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.server-box-value {
    color: #fff3d2;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
}

.mb-3 {
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .topic-layout {
        grid-template-columns: 1fr;
    }

    .topic-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .panel-border {
        padding: 14px;
    }

    .topic-content,
    .server-box {
        padding: 14px;
    }

    .topic-title {
        font-size: 24px;
    }

    .topic-details {
        font-size: 14px;
    }
}