@font-face {
    font-family: "Constantine";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Constantine.ttf") format("truetype");
}

@font-face {
    font-family: "Evanescent";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Evanescent.otf") format("opentype"),
         url("../fonts/Evanescent.ttf") format("truetype");
}

/* Zenitha Classic – descarcă de pe dafont.com și pune în assets/fonts/ */
@font-face {
    font-family: "Zenitha Classic";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/ZenithaClassic.otf") format("opentype"),
         url("../fonts/ZenithaClassic.ttf") format("truetype");
}

/* Lineage 2 game font – download as 49_la2font.ttf from fonts2u.com / dafont etc. */
@font-face {
    font-family: "Lineage 2 Font";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/49_la2font.ttf") format("truetype"),
         url("../fonts/Lineage2Font.ttf") format("truetype");
}

:root {
    --bg-body: #15181d;
    --bg-main: #1a1e24;
    --bg-alt: #11141a;
    --bg-dark: #0d0f14;
    --accent: #d3b681;
    --accent-hover: #e3b45b;
    --accent-2: #907b5b;
    --accent-soft: rgba(211, 182, 129, 0.12);
    --text-main: #cbcbcb;
    --text-muted: #9a9ea6;
    --border-soft: rgba(144, 123, 91, 0.25);
    --radius: 6px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
    --transition: 0.2s ease-out;
    --font-body: "Exo 2", "Open Sans", system-ui, sans-serif;
    --font-heading: "Exo 2", system-ui, sans-serif;
    --font-nav: "Alike", "Exo 2", serif;
    /* Hero (design H) – muta titlul "Wrath" mai sus (px) */
    --hero-title-offset-y: -4px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(144, 123, 91, 0.4) transparent;
}
html::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
html::-webkit-scrollbar-track {
    background: transparent;
}
html::-webkit-scrollbar-thumb {
    background: rgba(144, 123, 91, 0.4);
    border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover {
    background: rgba(144, 123, 91, 0.6);
}

html,
body {
    margin: 0;
    padding: 0;
    padding-bottom: 52px; /* spațiu pentru footer fix jos */
    min-height: 100%;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-body);
    background:
        linear-gradient(to bottom, rgba(21, 24, 29, 0.35), rgba(13, 15, 20, 0.55));
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    scroll-behavior: smooth;
}
body input,
body textarea,
body [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
}
/* Video in loc de fundalul cu castel (singurul fundal al paginii) */
body {
    background-image: none !important;
}
/* Video background – full viewport (replaces static bg image) */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}
.bg-video-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(13, 16, 22, 0.35) 0%,
        rgba(13, 15, 20, 0.45) 50%,
        rgba(13, 15, 20, 0.7) 100%);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1.5rem;
    padding: 1.1rem 2rem;
    background: rgba(10, 12, 16, 0.95);
    border-bottom: 2px solid rgba(211, 182, 129, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}
.topbar .logo-left {
    justify-self: start;
}
.topbar .nav {
    justify-self: center;
}
.topbar .logo-right {
    justify-self: end;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.logo-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.logo-link:hover {
    color: inherit;
    transform: translateX(4px);
    opacity: 0.95;
}
.logo-main {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--accent);
}
.logo-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

.nav {
    display: flex;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-nav);
    letter-spacing: 0.06em;
}
.nav a {
    padding: 0.85rem 1.7rem;
    position: relative;
    color: var(--text-muted);
    overflow: hidden;
    transition: color 0.3s ease;
}
.nav a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hover), transparent);
    transform: translateX(-50%);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(211, 182, 129, 0.5);
}
.nav a:hover {
    color: var(--accent);
}
.nav a:hover::before {
    width: 85%;
}
.nav a.nav-active {
    color: var(--accent);
}
.nav a.nav-active::before {
    width: 75%;
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
}
/* --- Butoane (fără imagini, doar CSS) --- */
.btn,
.nav-actions .btn-primary,
.nav-actions .btn-outline,
.btn-primary,
.btn-outline {
    background: linear-gradient(180deg, #3a3530 0%, #2a2520 100%);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    padding: 0.4rem 1rem;
    min-height: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: background 0.15s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.15s ease;
}
.btn:hover,
.nav-actions .btn-primary:hover,
.nav-actions .btn-outline:hover,
.btn-primary:hover,
.btn-outline:hover {
    background: linear-gradient(180deg, #454038 0%, #3a3530 100%);
    color: var(--accent-hover);
    border-color: var(--accent-2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    min-height: 20px;
}
.btn:active,
.nav-actions .btn-primary:active,
.nav-actions .btn-outline:active,
.btn-primary:active,
.btn-outline:active {
    background: linear-gradient(180deg, #252220 0%, #1e1b18 100%);
    color: var(--accent);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
    min-height: 20px;
}

.nav-actions .btn-primary,
.btn-primary {
    color: var(--accent);
    border-color: var(--accent-2);
}
.nav-actions .btn-primary:hover,
.btn-primary:hover {
    color: #fff;
    border-color: var(--accent);
    background: linear-gradient(180deg, #4a4538 0%, #3d3828 100%);
}
.nav-actions .btn-outline,
.btn-outline {
    color: var(--accent);
    background: transparent;
}
.nav-actions .btn-outline:hover,
.btn-outline:hover {
    color: var(--accent-hover);
    background: var(--accent-soft);
    border-color: var(--accent-2);
}

.nav-toggle {
    display: none;
    background: rgba(211, 182, 129, 0.15);
    border: 2px solid rgba(211, 182, 129, 0.4);
    color: var(--accent);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.nav-toggle:hover {
    background: rgba(211, 182, 129, 0.25);
    transform: scale(1.05);
}

main {
    max-width: 1900px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
}
main .section-dark.section-page {
    flex: 1;
    min-height: 0;
}

/* Item Shop – tabel mai lat, text pe butoane fără wrap */
main.shop-page {
    max-width: 1600px;
}
#shop-products-table .shop-pay-btn {
    white-space: nowrap;
}

.section-heading {
    text-align: center;
    margin-bottom: 1.25rem;
}
.section-heading .section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    margin: 0 0 0.5rem;
    padding-bottom: 0;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent 5%, rgba(120, 120, 130, 0.55) 17.5%, rgba(120, 120, 130, 0.55) 82.5%, transparent 95%) 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.section-heading .section-title::before {
    content: "";
    width: 40px;
    height: 20px;
    background: url('/assets/img/icons/title_left_decor.png') center / contain no-repeat;
}
.section-heading .section-title::after {
    content: "";
    width: 40px;
    height: 20px;
    background: url('/assets/img/icons/title_right_decor.png') center / contain no-repeat;
}
.section-heading .section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.45;
}

.section {
    margin: 1rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: rgba(17, 20, 26, 0.85);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}
.section-dark {
    position: relative;
    background: linear-gradient(to right,
        transparent 0%,
        transparent 25%,
        rgba(13, 16, 22, 0.2) 32%,
        rgba(13, 16, 22, 0.4) 36%,
        rgba(13, 16, 22, 0.6) 40%,
        rgb(13, 16, 22) 45%,
        rgb(13, 16, 22) 55%,
        rgba(13, 16, 22, 0.6) 60%,
        rgba(13, 16, 22, 0.4) 64%,
        rgba(13, 16, 22, 0.2) 68%,
        transparent 75%,
        transparent 100%);
    border: none;
    box-shadow: none;
    outline: none;
    overflow: visible;
}
.section-dark > * {
    position: relative;
    z-index: 1;
}
.section-page {
    margin-top: 2rem;
    min-height: 50vh;
}
.section h2 {
    font-family: var(--font-heading);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}
.section h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* Hero */
.section-hero {
    display: block;
    text-align: center;
    padding: 2rem 1.5rem;
    margin-top: 0;
    min-height: 35vh;
    background: transparent;
    position: relative;
    font-family: var(--font-heading);
}
.hero-content-centered {
    text-align: center;
    max-width: 100%;
    font-family: inherit;
}
.hero-content-centered h1 {
    font-family: "Jomolhari", var(--font-heading) !important;
    font-size: 4.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #c1a762;
    margin: 0 auto 0.25rem;
    text-transform: uppercase;
    display: block;
    text-align: center;
    width: 100%;
}
.hero-content-centered .hero-high-five {
    font-family: "Jomolhari", var(--font-heading) !important;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #c1a762;
    margin: 0 auto 0.5rem;
    text-transform: uppercase;
    display: block;
    text-align: center;
    width: 100%;
}
.hero-content-centered .hero-dec {
    max-width: 36rem;
    margin: 0 auto 0;
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.45;
    text-align: center;
    display: block;
}
.hero-content-centered .hero-stats {
    justify-content: center;
}
.hero-content-centered .hero-actions {
    justify-content: center;
}
.section-hero > * {
    position: relative;
    z-index: 1;
}
.hero-content {
    text-align: left;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    color: #c1a762;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.section-hero .hero-content-centered h1 {
    font-family: "Jomolhari", var(--font-heading) !important;
    font-weight: 700;
    font-size: 4.25rem;
    margin: 0 auto 0.25rem;
    text-align: center;
    width: 100%;
}
.hero-content p {
    color: var(--text-muted);
    max-width: 32rem;
    font-size: 1.2rem;
    line-height: 1.45;
}
.hero-stats {
    display: flex;
    gap: 1.75rem;
    margin: 0.85rem 0;
}
.stat {
    padding: 1rem 1.75rem;
    border-radius: 0.55rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-soft);
    min-width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
}
.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: inline-block;
    line-height: 1;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 0;
    transform: translateY(1px);
    position: relative;
}
.stat-label::after {
    content: "";
    position: absolute;
    left: -4px;
    bottom: 0;
    width: calc(100% + 8px);
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(120, 120, 130, 0.2) 8%, rgba(120, 120, 130, 0.55) 25%, rgba(120, 120, 130, 0.55) 75%, rgba(120, 120, 130, 0.2) 92%, transparent 100%);
}
.stat-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.35;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.hero-actions .btn {
    padding: 0.75rem 1.85rem;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.35rem;
}
.hero-art {
    position: relative;
    border-radius: var(--radius);
    background: rgba(13, 16, 22, 0.25);
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
}
.hero-art-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== Hero design H – clean minimal ========== */
.hero-design-h {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 78vh;
    padding: 2rem 1.5rem;
    text-align: center;
}
.hero-design-h .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
    width: 100%;
}
.hero-design-h .hero-lineage {
    font-family: "Lineage 2 Font", "Constantine", serif !important;
    font-size: clamp(3.75rem, 12.5vw, 6.25rem);
    font-weight: 400 !important;
    color: var(--accent);
    margin: 0 0 calc(1rem + var(--hero-title-offset-y)) 0;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0.06em;
    transform: scaleY(0.68);
    transform-origin: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
}
.hero-design-h h1 {
    font-family: "Cormorant SC", "Constantine", serif !important;
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 500 !important;
    letter-spacing: 0.18em;
    color: #d2b678;
    margin: 0 0 0.75rem 0;
    padding: 0;
    line-height: 1.05;
    text-transform: uppercase;
    transform: scaleX(0.93) scaleY(0.68);
    transform-origin: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 0 14px rgba(210, 182, 120, 0.22);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hero-design-h .hero-high-five {
    font-family: "Constantine", serif !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400 !important;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    line-height: 1.1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hero-design-h .hero-h-sub-wrap {
    margin-bottom: 2rem;
}
.hero-design-h .hero-h-sub {
    font-size: 1.45rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
    letter-spacing: 0.04em;
}
.hero-design-h .hero-h-sub .hero-h-sub-sep {
    margin: 0 0.5em;
    color: var(--accent);
    opacity: 0.7;
    font-weight: 300;
}
.hero-design-h .hero-h-sub-line {
    position: relative;
    width: 110%;
    max-width: none;
    height: 14px;
    margin: 0 auto;
    transform: translateX(-8%);
    background:
        linear-gradient(90deg, rgba(212, 184, 122, 0), rgba(212, 184, 122, 0.9)) left center / calc(50% - 10px) 2px no-repeat,
        linear-gradient(90deg, rgba(212, 184, 122, 0.9), rgba(212, 184, 122, 0)) right center / calc(50% - 10px) 2px no-repeat;
}
.hero-design-h .hero-h-sub-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(212, 184, 122, 0.95);
    box-shadow: 0 0 0 3px rgba(212, 184, 122, 0.14), 0 0 12px rgba(211, 182, 129, 0.45);
}
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    margin-bottom: 2rem;
}
.hero-stats-about-blocks .about-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.5rem;
    min-height: 5rem;
    background: transparent;
    border-color: rgba(144, 123, 91, 0.4);
    box-sizing: border-box;
}
.hero-stats-about-blocks .about-block h3 {
    display: block;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}
.hero-stats-about-blocks .about-block .list {
    margin: 0;
    padding: 0;
}
.hero-stats-about-blocks .about-block .list li {
    display: block;
    padding: 0.2rem 0;
    line-height: 1.5;
    white-space: normal;
}
.hero-stats-about-blocks .about-block h3 {
    display: block;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}
.hero-stats-about-blocks .about-block .hero-stat-line {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-family: "Constantine", serif;
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
}
.hero-stats-about-blocks .about-block .hero-stat-line strong {
    color: var(--accent);
    margin-right: 0.35em;
}
.hero-design-h .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.hero-design-h .hero-actions .btn {
    font-size: 1.1rem;
    padding: 0.9rem 2.25rem;
    min-width: 160px;
}








.feature-card {
    padding: 1.25rem;
    border-radius: var(--radius);
    background: rgba(13, 16, 22, 0.9);
    border: 1px solid var(--border-soft);
}
.feature-card h3 {
    margin-top: 0;
}
.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Why play / Melior-style sections */
.why-play-section,
.core-features-section,
.join-community-section {
    margin: 0.75rem 0;
}
.why-play-section {
    position: relative;
}
.why-play-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
}
.why-play-section .section-heading,
.why-play-section .why-play-cards-wrap {
    position: relative;
    z-index:1;
}
.core-features-section {
    position: relative;
}
.core-features-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    pointer-events: none;
}
.core-features-section .section-heading,
.core-features-section .row {
    position: relative;
    z-index: 1;
}
.why-play-cards-wrap {
    position: relative;
    padding-left: 2rem;
    padding-right: 2rem;
}
.why-play-cards-wrap .row {
    position: relative;
    z-index: 1;
}
.why-play-cards-wrap::before,
.why-play-cards-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    pointer-events: none;
    z-index: 0;
}
.why-play-cards-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(13, 16, 22, 0.98) 0%, transparent 100%);
}
.why-play-cards-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(13, 16, 22, 0.98) 0%, transparent 100%);
}
.why-play-card {
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(13, 16, 22, 0.95);
    border: 1px solid var(--border-soft);
    height: 100%;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.why-play-card:hover {
    border-color: rgba(211, 182, 129, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.why-play-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.why-play-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.core-feature-card {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: rgba(13, 16, 22, 0.9);
    border: 1px solid var(--border-soft);
    height: 100%;
    text-align: center;
}
.core-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin: 0 0 0.3rem;
    color: var(--text-main);
}
.core-feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}
.core-feature-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}
.core-feature-link:hover {
    color: var(--accent-hover);
}

.join-community-section {
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
}
.join-community-section .section-heading,
.join-community-section .join-community-actions {
    position: relative;
    z-index: 1;
}
.join-community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.join-community-actions .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Lists */
.list {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0;
}
.list li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.list-numbered {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About page blocks */
.about-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 720px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .about-blocks {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}
.about-block {
    padding: 1.25rem 1.5rem;
    background: rgba(21, 24, 29, 0.6);
    border: 1px solid var(--border-soft);
    border-radius: 0.5rem;
}
.about-block h3 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Table */
.table-wrapper {
    margin-top: 0.75rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 860px;
    max-height: 720px;
    overflow: auto;
    border-radius: 0.5rem;
    border: 1px solid var(--border-soft);
}
.table-wrapper .table .rankings-empty-row td {
    color: var(--text-muted);
}
.table-wrapper .table {
    margin-bottom: 0;
    width: 100%;
    table-layout: fixed;
}
.table-wrapper .table {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.03em;
}
.table-wrapper .table thead th {
    background: rgba(144, 123, 91, 0.2);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    font-weight: 600;
    border-color: var(--border-soft);
}
.table-wrapper .table td,
.table-wrapper .table th {
    border-color: var(--border-soft);
    padding: 0.6rem 0.6rem;
    font-size: 0.95rem;
    text-align: center !important;
    vertical-align: middle;
}
.table-wrapper .table th:first-child,
.table-wrapper .table td:first-child {
    width: 36px;
    min-width: 36px;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}
.table-wrapper .table thead th {
    text-align: center !important;
}
.table-wrapper .table-dark {
    --bs-table-bg: rgba(13, 16, 22, 0.95);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
}

.table-wrapper .table tr.rankings-row-with-line td {
    border-bottom: 1px solid rgba(144, 123, 91, 0.45);
}

.rankings-pagination,
.rankings-pagination-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.75rem;
}
.rankings-pagination-inner {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.rankings-pagination-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 0.5rem;
}
.rankings-pagination-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 0.5rem;
    background: rgba(21, 24, 29, 0.9);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    color: var(--text-main);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.rankings-pagination-btn:hover:not(:disabled) {
    background: rgba(144, 123, 91, 0.2);
    border-color: var(--accent);
    color: var(--accent);
}
.rankings-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.rankings-pagination-num {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(144, 123, 91, 0.25);
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.rankings-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.rankings-search-input {
    max-width: 280px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: rgba(21, 24, 29, 0.95);
    border: 1px solid rgba(144, 123, 91, 0.35);
    border-radius: 8px;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rankings-search-input::placeholder {
    color: var(--text-muted);
}
.rankings-search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(211, 182, 129, 0.15);
}
.rankings-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.rankings-checkbox-label input[type="checkbox"] {
    accent-color: var(--accent);
    cursor: pointer;
}
.rankings-checkbox-label:hover {
    color: var(--text-main);
}

.rankings-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.premium-blocks {
    display: grid;
    gap: 2rem;
    margin-top: 1rem;
}
.premium-block {
    margin-bottom: 0.5rem;
}
.premium-block-title {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-soft);
}
.premium-block-title.premium-yes {
    color: var(--accent);
}
.premium-block-title.premium-no {
    color: var(--text-muted);
}

.rankings-tabs .nav-link {
    background: rgba(13, 16, 22, 0.9);
    color: var(--text-muted);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
}
.rankings-tabs .nav-link:hover {
    color: var(--accent);
    border-color: var(--accent-2);
}
.rankings-tabs .nav-link.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
}

.vip-yes { color: #e3b45b; font-weight: 600; }
.vip-no { color: var(--text-muted); }

.table-wrapper .table td.char-name-no-vip,
.table-wrapper .table .char-name-no-vip,
.table-wrapper .table.table-dark td.char-name-no-vip,
.table-wrapper .table.table-dark .char-name-no-vip {
    color: #9a9ea6 !important;
    --bs-table-color: #9a9ea6;
}

.country-flag-wrap { display: inline-block; vertical-align: middle; }
.country-flag { width: 24px; height: auto; display: block; border-radius: 2px; }

.status-online {
        color: #2ecc71;
        font-weight: 600;
        background: rgba(46, 204, 113, 0.08);
        padding: 2px 8px;
        border-radius: 6px;
        box-shadow: 0 0 1px rgba(46, 204, 113, 0.2), 0 0 6px rgba(46, 204, 113, 0.06);
    }
    .status-offline {
        color: #e74c3c;
        font-weight: 500;
        background: rgba(231, 76, 60, 0.08);
        padding: 2px 8px;
        border-radius: 6px;
        box-shadow: 0 0 1px rgba(231, 76, 60, 0.2), 0 0 6px rgba(231, 76, 60, 0.06);
    }

    .btn-unstuck {
        background: linear-gradient(180deg, #3a3530 0%, #2a2520 100%);
        border: 1px solid var(--border-soft);
        border-radius: var(--radius);
        color: var(--text-main);
        min-height: 18px;
        padding: 0.25rem 0.75rem;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        outline: none;
        line-height: 1;
        display: inline-block;
        vertical-align: middle;
    }
    .table-wrapper .table td.unstuck-cell {
        border-bottom: none;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-right: 1.25rem;
        line-height: 1;
        vertical-align: middle;
        text-align: center;
    }
    .btn-unstuck:hover {
        background: linear-gradient(180deg, #454038 0%, #3a3530 100%);
        color: var(--accent-hover);
        border-color: var(--accent-2);
        min-height: 18px;
    }
    .btn-unstuck:active {
        background: linear-gradient(180deg, #252220 0%, #1e1b18 100%);
        color: var(--accent);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
        min-height: 18px;
    }

/* Same font as hero stats (XP/SP) - Open Sans */
.section-normal-font,
.section-normal-font * {
    font-family: var(--font-body) !important;
}

/* Shop */
.shop-item {
    padding: 1.25rem;
    border-radius: var(--radius);
    background: rgba(13, 16, 22, 0.9);
    border: 1px solid var(--border-soft);
}
.shop-item h3 {
    font-family: var(--font-heading);
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--text-main);
}
.shop-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.shop-item .price {
    margin: 0.5rem 0 0.5rem;
    font-weight: 600;
    color: var(--accent);
}
.shop-item .btn {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Pay with PayPal / Pay with Card – aceeași lățime */
#shop-products-table td > .d-flex {
    display: flex !important;
    gap: 0.25rem;
}
#shop-products-table td > .d-flex .shop-pay-btn {
    flex: 1 1 0;
    min-width: 0;
}

/* Gallery */
.gallery-item {
    aspect-ratio: 16/10;
    border-radius: var(--radius);
    background: rgba(13, 16, 22, 0.9);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modals */
.modal-dark .modal-content {
    background: #0d0f14;
    border: 1px solid var(--border-soft);
}
.modal-dark .modal-header {
    border-color: var(--border-soft);
}
.modal-dark .form-control {
    background: #15181d;
    border-color: var(--border-soft);
    color: var(--text-main);
}

/* Footer – bară fixă jos de tot, ca în mockup */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #cbcbcb;
    text-align: center;
    background: #0d0f14;
    border-top: 1px solid rgba(144, 123, 91, 0.2);
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}
.footer-sep {
    color: var(--text-muted);
    pointer-events: none;
}
.footer a {
    color: #cbcbcb;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer a:hover {
    color: var(--accent-hover);
}
.footer a[href="contact.html"]:hover {
    color: #e3b45b;
}

/* Responsive */
@media (max-width: 992px) {
    .section-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        text-align: center;
    }
    .hero-design-h {
        min-height: 70vh;
        padding: 1.5rem 1rem;
    }
    .hero-stats-row {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-art {
        min-height: 200px;
    }
    .nav-toggle {
        display: block;
    }
    .nav {
        display: none;
    }
    .nav.show {
        display: flex;
    }
    .topbar .logo-right {
        display: none;
    }
}
@media (max-width: 768px) {
    .topbar {
        padding: 1rem;
    }
    .nav {
        position: absolute;
        right: 0;
        top: 100%;
        flex-direction: column;
        background: rgba(10, 12, 16, 0.98);
        padding: 1rem;
        border-bottom-left-radius: 8px;
        border-left: 2px solid rgba(211, 182, 129, 0.3);
        border-bottom: 2px solid rgba(211, 182, 129, 0.3);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        display: none;
        gap: 0.4rem;
        font-size: 1.25rem;
    }
    .nav a {
        padding: 0.9rem 1.5rem;
    }
    .nav.show {
        display: flex;
    }
    .nav-actions {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    main {
        padding-inline: 1rem;
    }
    .section-heading .section-title {
        font-size: 1.5rem;
    }
}
