/* ===================================
   COMBINED CSS - CAMBLEND
   Modern styling with preserved layout
   =================================== */

/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===== CSS RESET & BASE ===== */
main,
details {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

template,
[hidden] {
    display: none
}

/* ===== MODERN CSS VARIABLES (UNIFIED) ===== */
/* ===== LIGHT THEME — BRAND PALETTE (EXTREME MAKEOVER) ===== */
:root {
    /* === BRAND (LIGHT) — noua paletă === */
    --brand-900: #311D3F;
    /* headings / accent puternic */
    --brand-700: #E23E57;
    /* linkuri / action */
    --brand-500: #88304E;
    /* accent secundar */
    --brand-300: #522546;
    /* adâncime / umbre calde */

    /* Semantic mapping (LIGHT) */
    --primary-color: #2c2c2c;
    --heading-color: var(--brand-900);
    --link-color: var(--brand-700);
    --link-color-hover: #B62F45;
    /* red ușor mai închis */

    /* Page & surfaces (LIGHT) */
    --bg-header-elements: #2a2a2a;
    --bg-color: #FFF4F6;
    /* fundal cald, vizibil diferit */
    --container: #FFFFFF;
    --comm2: #FCE9EE;
    /* tint pt. “plin” jos */
    --blockquote: #FCEFF3;
    --comments-border: rgba(226, 62, 87, 0.45);
    /* derivat din #E23E57 */
    --hr: rgba(226, 62, 87, 0.45);

    /* Card preset (fancy) */
    --fancy-bg: linear-gradient(180deg, var(--container) 0%, var(--comm2) 100%);
    --fancy-bg-hover: linear-gradient(180deg, #ffffff 0%, #FDE6EC 100%);
    --fancy-sh: 0 6px 14px rgba(0, 0, 0, .10);
    --fancy-sh-hover: 0 12px 24px rgba(0, 0, 0, .14);

    /* Buttons (LIGHT) */
    --btn-color: var(--brand-900);
    --btn-border: rgba(226, 62, 87, .60);
    --btn-bg: #FFE7EC;
    --btn-bg-hover: #FFDDE5;
    --btn-bg-image: none;
    --btn-bg-image-hover: none;
    --text-shadow: none;

    /* Shadows / relief (LIGHT) */
    --entry-box-shadow: 0 10px 24px rgba(226, 62, 87, .14), 0 6px 16px rgba(0, 0, 0, .10);

    /* Diverse păstrate */
    --overlay-box-shadow: 0 0 0 9999px rgba(221, 221, 221, .7);
    --comm: #f9fafb;
    --pattern: rgba(238, 238, 238, .8);
    --radius: 10px;
    --radius-sm: 6px;
    --success: #10b981;
    --danger: #ef4444;
    --accent: #ec4899;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, .10);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .10);

    /* NOTĂ: în blocul tău exista dublură pentru --textarea; păstrează DOAR asta: */
    --textarea: #FFF0F4;
    /* fond inputs Light */
}

/* ===== DARK THEME — BRAND PALETTE (MAKEOVER) ===== */
/* ===== DARK THEME — MAKEOVER PALETTE ===== */
[data-theme="dark"] {
    /* Paletă nouă */
    --dark-900: #222831;
    /* background principal */
    --dark-700: #393E46;
    /* suprafețe/carduri */
    --dark-ink: #EEEEEE;
    /* text principal */
    --accent: #00ADB5;
    /* accent (linkuri/butoane) */

    /* Semantic mapping */
    --bg-color: var(--dark-900);
    --container: var(--dark-700);
    --comm2: var(--dark-900);
    /* pentru gradientele verticale */
    --blockquote: #2B3137;
    --comments-border: rgba(238, 238, 238, 0.12);
    --hr: rgba(238, 238, 238, 0.12);
    --textarea: #2F353B;
    /* un pas mai închis decât containerul, pentru relief */
    --bg-header-elements: var(--dark-ink);
    /* face textele mici (short-info) albe pe dark */

    /* Text & links */
    --primary-color: var(--dark-ink);
    --heading-color: #E8EEF2;
    --link-color: var(--accent);
    --link-color-hover: #64E1E6;

    /* Buttons */
    --btn-color: var(--dark-ink);
    --btn-border: rgba(0, 173, 181, 0.45);
    --btn-bg: #2F353B;
    --btn-bg-hover: #374047;
    --btn-bg-image: none;
    --btn-bg-image-hover: none;
    --text-shadow: none;
    --bg-header-elements: var(--dark-ink);
    /* <— NOU: face hamburgerul și textele „short-info” lizibile */

    /* Shadows */
    --entry-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.30);
    --shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.45);
}


/* ===== BASE STYLES (ENHANCED) ===== */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    font-size: 18px;
}

body {
    font: 15px "Inter", "Open Sans", sans-serif;
    background: var(--bg-color);
    color: var(--primary-color);
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: left;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Light-only page background (dark nu e afectat) */
html:not([data-theme="dark"]) body {
    background:
        radial-gradient(1200px 600px at 80% -200px, rgba(226, 62, 87, .12), transparent 60%),
        radial-gradient(900px 520px at -120px 420px, rgba(136, 48, 78, .10), transparent 60%),
        var(--bg-color);
}

/* BODY — doar pentru dark (paleta nouă) */
[data-theme="dark"] body {
    background:
        radial-gradient(1200px 600px at 75% -200px, rgba(0, 173, 181, 0.10), transparent 60%),
        radial-gradient(900px 500px at -120px 380px, rgba(0, 173, 181, 0.06), transparent 60%),
        var(--bg-color);
    color: var(--primary-color);
}

*,
::before,
::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* ===== UTILITY CLASSES ===== */
.clearfix::before,
.clearfix::after,
.row::before,
.row::after {
    content: "";
    display: table
}

.clearfix::after,
#content::after,
.row::after {
    clear: both
}

.overflow {
    overflow: hidden
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    margin: 0 0 -4px;
}

img.thumb,
img.photo,
video {
    width: 100%
}

/* ===== TYPOGRAPHY (ENHANCED) ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.5em;
    font-size: 1rem;
    color: var(--heading-color);
    margin: 0;
    padding: 10px 0;
    text-transform: capitalize;
    font-weight: 600;
}

h1 {
    font-size: 1.1rem;
    color: var(--link-color);
    font-weight: 700
}

ol,
ul {
    list-style: none;
    padding: 0;
    margin: 0
}

p {
    padding: 5px 0;
    font-size: .9rem
}

/* ===== LINKS (ENHANCED) ===== */
a,
a:visited,
a:active,
a:hover {
    text-decoration: none;
    color: var(--link-color);
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-color-hover);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* ===== ACCESSIBILITY & MODERN FEATURES ===== */
:root {
    accent-color: var(--link-color);
}

/* Placeholder-uri — contrast corect pe Light și Dark */
html:not([data-theme="dark"]) ::placeholder {
    color: #6b7280;
    /* mai închis pe light, se vede mai clar */
    opacity: .9;
}

[data-theme="dark"] ::placeholder {
    color: #9aa3af;
    /* rămâne lizibil pe dark */
    opacity: .9;
}

/placeholder,
html:not([data-theme="dark"]) textarea:-ms-input-placeholder {
    color: #6b7280;
    opacity: 1;
}

::selection {
    background: var(--link-color);
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--link-color);
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme]) {
        color-scheme: dark;
    }
}

.cap {
    text-transform: capitalize
}

.adult-warning::before {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    content: "";
    background: url(/img/18+.svg) no-repeat;
}

/* ===== HEADER (PRESERVED LAYOUT) ===== */
.header {
    position: fixed;
    width: 100%;
    z-index: 3;
    background: var(--bg-color);
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header.sticky {
    border-bottom: 1px solid #888;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.28);
}

/* ===== CONTENT ===== */
#content {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 100%;
    margin: 0 auto;
    padding: 65px 10px 5px;
}

/* ===== POST LAYOUT (PRESERVED) ===== */
.post {
    max-width: 90rem;
    margin: 0 auto
}

.post h1 {
    padding-bottom: 20px;
    text-align: center
}

/* ===== FOOTER ===== */
.footer {
    clear: both;
    width: 100%;
    max-width: 90rem;
    padding: 10px 16px;
    margin: 0 auto;
    font-size: .79rem;
    text-align: center;
    border-top: solid 1px var(--footer-border);
}

.footer-padd {
    padding-bottom: 3em
}

/* ===== NAVIGATION ELEMENTS (PRESERVED) ===== */
.search-button {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 0;
    left: 6px;
    cursor: pointer;
    z-index: 1;
    transition: .7s cubic-bezier(0.23, 1, 0.32, 1);
}

.search-button::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 16px;
    width: 0;
    height: 3px;
    margin-top: -1px;
    background-color: var(--bg-header-elements);
    transform: rotate(-45deg);
    transform-origin: right top;
}

.search-button::after {
    content: "";
    position: absolute;
    bottom: 13px;
    right: 15px;
    width: 15px;
    height: 3px;
    margin-bottom: 0;
    background-color: var(--bg-header-elements);
    transform: rotate(45deg);
    transform-origin: right bottom;
}

.search-icon {
    position: absolute;
    display: block;
    top: 20%;
    left: 20%;
    width: 37%;
    height: 37%;
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    border-color: var(--bg-header-elements);
}

.search-button.active::before,
.search-button.active::after {
    width: 30px
}

.search-button.active .search-icon {
    width: 0;
    height: 0;
    border-color: transparent
}

.search-button::before,
.search-button::after,
.search-button .search-icon {
    transition: all .3s ease-in-out
}

.search.show-search-form {
    visibility: visible;
    transform: translateY(0px);
    transition: .7s cubic-bezier(0.23, 1, 0.32, 1);
}

#logo img {
    width: 141px;
    height: 30px;
    transition: .7s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-button {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 0;
    right: 6px;
    z-index: 10;
    transition: .7s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-button span {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -1.5px;
}

.nav-button span,
.nav-button span::before,
.nav-button span::after {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--bg-header-elements);
    outline: 1px solid transparent;
    transition-property: background-color, transform;
    transition-duration: .3s;
}

.nav-button span::before,
.nav-button span::after {
    position: absolute;
    content: "";
}

.nav-button span::before {
    top: -9px
}

.nav-button span::after {
    top: 9px
}

.nav-button.clicked span {
    background-color: transparent
}

.nav-button.clicked span::before {
    background-color: #fff;
    transform: translateY(9px) rotate(45deg);
}

.nav-button.clicked span::after {
    background-color: #fff;
    transform: translateY(-9px) rotate(-45deg);
}

.label-plus,
.nav-button:hover,
.drawer-control {
    cursor: pointer
}

.sum {
    color: #999;
    font-size: 13px;
    float: right;
    letter-spacing: 0
}

aside {
    text-align: center;
    margin-top: 30px
}

/* ===== GRID SYSTEM (PRESERVED) ===== */
.item,
[class*="col-"] {
    position: relative;
    min-height: 1px;
    padding: 0 6px;
    margin: 0 auto;
}

.col-12,
.col-6 {
    text-align: center
}

.item {
    padding: 9px 6px
}

.item p {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* ===== MODERN CARD STYLING (ENHANCED FANCY) ===== */
.fancy {
    position: relative;
    padding-bottom: 5px;
    box-shadow: var(--fancy-sh);
    background: var(--fancy-bg);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    overflow: hidden;
}

.fancy:hover {
    box-shadow: var(--fancy-sh-hover);
    background: var(--fancy-bg-hover);
    transform: translateY(-2px);
}

/* ===== MODERN BORDERS ===== */
.border-box {
    margin: 15px 0;
    padding: 5px 15px;
    border: 1px solid var(--comments-border);
    border-radius: var(--radius);
}

.border-box-img {
    margin: 10px 0;
    border: 1px solid var(--heading-color);
    border-radius: 20px;
}

/* ===== FONTAWESOME ICONS (PRESERVED) ===== */
.arrowup::before,
.arrowdown::before,
.arrowright::before,
.searches::before,
.link-button-w100::before,
.trophy::before,
.all::before,
.female::before,
.male::before,
.couple::before,
.transsexual::before,
.offline-model::before,
.cam::before,
.prev::before,
#member-area a::before {
    font: 1rem fontawesome;
    margin-right: 5px;
}

[class*='lv-']::after,
.external-link::after,
.follow::after,
.next::after {
    content: "\f105";
    font: 1rem fontawesome;
    margin-left: 5px;
}

[class*='lv-']::after {
    content: "\f112"
}

.external-link::after {
    content: "\f08e"
}

.follow::after {
    content: "\f064"
}

.arrowup::before {
    content: "\f176";
    color: #35ab35
}

.arrowdown::before {
    content: "\f175";
    color: #c00
}

.prev::before {
    content: "\f104"
}

.searches::before {
    content: "\f002"
}

.arrowright::before {
    content: "\f178"
}

.trophy::before {
    content: "\f091"
}

.all::before {
    content: "\f2c0"
}

.cam::before {
    content: "\f03d";
    color: #35ab35
}

.offline-model::before {
    content: "\f235";
    color: #c00
}

.alert::before,
.flash::before,
.reply::before,
.like::before,
.dislike::before,
.warning::before {
    content: "\f071";
    color: #c00;
    font: 1.2rem fontawesome;
    margin-right: 5px;
}

.like::before {
    content: "\f164";
    color: #35ab35
}

.dislike::before {
    content: "\f165"
}

.reply::before {
    content: "\f112";
    color: var(--primary-color)
}

.flash::before {
    content: "\f0e7";
    color: var(--link-color)
}

.login::before {
    content: "\f09c"
}

.register::before {
    content: "\f090"
}

.logout::before {
    content: "\f023"
}

.user::before {
    content: "\f007"
}

.admin::before {
    content: "\f21b"
}

.fav::before {
    content: "\f004"
}

.alert::before {
    content: "\f0f3"
}

a.twitter::before {
    font: 2rem fontawesome;
    color: #1da1f2;
    content: "\f099"
}

/* ===== INFO SECTIONS ===== */
.info {
    font-size: .79rem;
    padding-top: 10px
}

/* Stil pentru .location (fără background și border) */
.location {
    font-size: .79rem;
    text-align: center;
    padding: 15px 0;
    /* aliniat cu .cam */
    margin: 0;
    /* elimină spațiul suplimentar */
}

/* .small-right – variantă simplă, aliniată cu <h2> */
.small-right {
    font-size: .79rem;
    text-align: center;
    /* păstrează comportamentul actual al .col-6 */
    padding: 10px 0;
    /* identic cu <h2> (10px 0) */
    margin: 0;
    /* elimină spațiul care strica alinierea */
    background: none;
    /* elimină box-ul */
    border: none;
    border-radius: 0;
}

.small-right::after {
    font: 1rem fontawesome;
    margin-left: 7px;
    content: "\f0da";
}

.location li {
    margin-right: 5px;
    display: inline-block
}

.location li::before {
    font: .83rem fontawesome;
    margin-right: 5px;
    content: "\f0da";
}

.location li:nth-child(1)::before {
    content: "\f124"
}

.location li:nth-child(2)::before {
    content: "\f015"
}

/* ===== CATEGORIES ===== */
.category {
    font-size: .95rem;
    margin: 5px 0;
    text-align: center
}

.cat-abs {
    font-size: .92em;
    z-index: 3;
    position: fixed;
    top: 0;
    right: 0;
    background: var(--bg-color);
    width: 100%;
    padding: 7px;
    border-bottom: 1px solid #000;
    transform: translateY(41px);
    transition: all .5s ease-out;
}

.category li {
    padding: 0 0 1px 5px;
    margin-top: 8px;
    display: inline-block;
}

.category li::after {
    font: 1rem fontawesome;
    margin-left: 10px;
    content: "\f0da";
}

.cat-title {
    padding-bottom: 0;
    text-align: center
}

.cat-abs li::before,
.cat-abs li::after {
    font: 1em fontawesome
}

.category li a.active {
    color: var(--bg-header-elements)
}

.cat-bottom {
    padding: 10px 0;
    text-align: left
}

.cat-bottom li {
    display: block;
    padding: 0 0 2px 7%
}

.cat-title li:first-child,
.cat-bottom li:first-child {
    display: block;
    font-size: 1.05em;
}

/* ===== MODERN IMAGE CONTAINERS ===== */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: var(--radius);
    overflow: hidden;
}

.image-container::before {
    content: "";
    display: block
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.02)
}

/* ===== OPACITY EFFECTS (hibrid: touch = vizibil, desktop = pe hover) ===== */
.opacity a span {
    /* default: vizibil (pentru touch / fără hover) */
    opacity: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    font-size: .8em;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 2;
}

/* Pe dispozitive care AU hover, revenim la comportamentul “apare la hover” */
@media (hover: hover) {
    .opacity a span {
        opacity: 0;
    }

    .opacity:hover a span {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.03);
    }
}

.opacity:hover img {
    transition: all .6s ease-out;
    opacity: .5;
}

/* ===== OVERLAY ELEMENTS ===== */
.over {
    color: #eee;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.over-left {
    position: absolute;
    left: 5px;
    top: 0
}

.over-right {
    position: absolute;
    right: 5px;
    top: 0
}

/* ===== SHORT INFO SECTIONS ===== */
.short-info {
    position: relative;
    padding: 5px;
    color: var(--bg-header-elements);
    text-align: left;
}

.short-info p {
    padding: 0;
    font-size: .72rem;
    line-height: 1.6em;
}

.name,
p.name {
    padding-right: 52px;
    font-weight: 600;
    font-size: .85rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

p.cam,
p.offline-model {
    padding-top: 10px
}

h2.cam,
h2.offline-model {
    text-transform: none;
    font-weight: 400;
    font-size: .9rem;
    line-height: initial;
    padding-bottom: 0;
    color: var(--primary-color);
}

.age {
    position: absolute;
    right: 5px;
    top: 6px;
    text-align: right;
    font-size: .71rem;
    line-height: 1.6em;
}

/* ===== TOOLS SECTION ===== */
.tools {
    position: absolute;
    right: 5px;
    bottom: 4px
}

.tools a,
.tools i {
    font-size: 1.05rem;
    position: relative;
    margin-left: 7px;
}

.tools a {
    text-shadow: 0 1px 1px rgba(74, 74, 74, .6)
}

/* ===== MODERN FEATURES (ENHANCED) ===== */
.features {
    max-width: 190px;
    position: absolute;
    left: 5px;
    top: 5px;
    height: auto;
    text-align: left;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
}

.features i {
    position: relative;
    cursor: help;
    text-shadow: 0 1px 3px rgba(36, 36, 36, 0.9);
    margin-right: 5px;
    margin-bottom: 5px;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.features i:hover {
    transform: scale(1.15)
}

.profile .features {
    left: 10px;
    max-width: 280px;
    position: relative;
}

.profile .features i,
.features a {
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.profile .features i:hover,
.features a:hover {
    transform: scale(1.15)
}

.features a {
    text-shadow: 0 1px 2px rgba(74, 74, 74, .7)
}

/* ===== LINKS SECTION ===== */
.links {
    padding: 10px 0;
    font-size: .9em
}

.links .link-button-w100 {
    text-align: left
}

/* ===== TOP BAR & BAR ===== */
.top-bar,
.bar {
    font-weight: 600;
    color: var(--bg-header-elements);
    background: var(--pattern) url(/img/pattern.png);
    height: 2em;
    margin: -2em 0 0;
    position: relative;
}

.top-bar {
    margin: 0 0 -2em
}

.bar>.cam,
.bar>.offline-model,
.title {
    text-align: center;
    line-height: 30px;
    padding: 0 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: .86rem;
}

/* ===== STATUS COLORS ===== */
i.feature-status-0,
.offline,
.status-0,
.error {
    color: #c00
}

i.feature-status-1,
.away {
    color: grey
}

i.feature-status-2,
.in-member-chat {
    color: #7474fe
}

i.feature-status-3,
.in-private-chat {
    color: #fe4efe
}

i.feature-status-4,
.in-group-chat {
    color: orange
}

i.feature-status-5,
.in-free-chat {
    color: #fff
}

i.feature-status-6,
.online {
    color: #04d604
}

a,
i.fa-icon,
i.fa-spot {
    color: var(--link-color)
}

a:hover {
    color: var(--link-color-hover)
}

/* ===== LOGO IMAGES ===== */
img.site-logo {
    width: 100px;
    height: 25px;
    position: absolute;
    left: 5px;
    top: -3.8em;
    border: none;
    opacity: .8;
}

img.site-big-logo {
    width: 200px;
    aspect-ratio: 4/1
}

img.site-small-logo {
    width: 100px;
    aspect-ratio: 4/1
}

img.user-img {
    width: 240px;
    aspect-ratio: 4/3
}

/* ===== VIEWERS ===== */
.viewers {
    background: rgba(15, 15, 15, 0.4);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 12px;
    color: #fff;
    position: absolute;
    right: 5px;
    top: -4.6em;
    border: none;
    z-index: 1;
}

.viewers .fa-eye {
    margin-right: 5px
}

.glam .viewers {
    top: -2.6em
}

.identical .glam .viewers {
    top: -4.6em
}

/* ===== MORE INFO ===== */
.fa.more-info {
    cursor: help;
    float: right;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.more-info-box {
    pointer-events: none;
    font-size: .9rem;
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: 100%;
    color: #ddd;
    background: #666;
    border: 1px solid #444;
    width: 100%;
    height: auto;
    padding: 10px;
    z-index: 2;
    transition: all .5s ease-out;
}

.more-info:hover .more-info-box {
    opacity: 1
}

/* ===== LANGUAGES (ENHANCED) ===== */
.language {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 46px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap-reverse;
    max-height: 125px;
}

.language img {
    width: 16px;
    height: 12px;
    margin: 0 0 5px 5px;
    padding: 0;
    cursor: help;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.flag {
    width: 24px;
    height: 18px;
    margin: 0 5px -4px;
    padding: 0;
    cursor: help;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.lang img,
.flag-small {
    margin-right: 5px;
    margin-bottom: -1px;
    width: 16px;
    height: 12px;
    padding: 0;
    cursor: help;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.languages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* centrează conținutul pe orizontală */
    gap: 12px;
    padding: 0;
    margin: 0 auto;
    /* centrează containerul dacă are lățime fixă */
    list-style: none;
    text-align: center;
    /* textul de sub steaguri rămâne centrat */
}

.languages li {
    /* layout vertical: flag sus, text jos */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    /* fără “pill” vizual */
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;

    /* tipografie neutră, moștenește culoarea din temă */
    font-size: 0.9rem;
    font-weight: 500;
    color: inherit;

    transition: transform .2s ease;
}

.languages li:hover {
    /* fără highlight de fundal; păstrează doar un micro-lift, dacă vrei */
    background: none;
    transform: translateY(-1px);
}

.languages li img {
    width: 24px;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: none;
    /* fără umbră pe steag */
}


/* ===== MODERN TOOLTIPS ===== */
.tooltip {
    text-transform: capitalize;
    background: rgba(15, 23, 42, 0.92);
    bottom: 100%;
    color: #e5e7eb;
    display: block;
    margin-bottom: 15px;
    opacity: 0;
    padding: 8px 10px;
    pointer-events: none;
    position: absolute;
    width: auto;
    white-space: nowrap;
    transform: translateY(10px);
    transition: all .5s ease-out;
    font-size: 14px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
    z-index: 1000;
}

.left-arrow {
    left: -3px
}

.right-arrow {
    right: -3px
}

.tooltip::before {
    bottom: -20px;
    content: "";
    display: block;
    height: 20px;
    left: 0;
    position: absolute;
    width: 100%;
}

.tooltip::after {
    border-left: solid transparent 10px;
    border-right: solid transparent 10px;
    border-top: solid #555 10px;
    bottom: -9px;
    content: "";
    height: 0;
    margin-left: 0;
    position: absolute;
    width: 0;
}

.left-arrow::after {
    left: 0
}

.right-arrow::after {
    right: 0
}

i:hover .tooltip,
a:hover .tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0px);
}

.features a .tooltip,
.fa-twitter .tooltip {
    white-space: pre-line
}

.site-icon .tooltip {
    font-size: 13px
}

/* ===== RATING SYSTEM ===== */
.totalrate {
    width: 100%;
    position: relative;
    display: none;
    padding-bottom: 5px;
    font-size: .9rem;
}

.vote>span {
    font-size: .78rem;
    display: none;
    margin-top: 4px;
}

.vote {
    position: relative;
    width: 100%;
    padding: 5px 0;
    text-align: center;
}

.vote.with-rating {
    background: var(--blockquote);
    border-radius: var(--radius-sm);
    border: 1px solid var(--comments-border);
}

.stars,
.rating {
    width: 100px
}

.stars {
    position: relative;
    height: 20px;
    margin: 0 auto;
    background: url(/img/star_blank.png) repeat-x top left;
}

.rating {
    position: absolute;
    top: 0;
    left: 0
}

.thank {
    line-height: 20px;
    font-weight: 600;
    font-size: 1em
}

.totalrate>span {
    padding-right: 4px
}

.rating span {
    width: 10px;
    float: left;
    cursor: pointer
}

.star_n {
    position: relative;
    background: url(/img/star_voted.png) repeat-x top left;
}

.with-rating .totalrate,
.with-rating>span {
    display: block
}

.no-results,
.loading {
    padding: 10px;
    border-bottom: 1px solid #888;
    color: #c00;
}

/* ===== MODERN FORMS (ENHANCED) ===== */
textarea,
input,
input[type="radio"]+label,
input[type="checkbox"]+label::before,
select option,
select {
    width: 100%;
    padding: 1em;
    line-height: 1.3em;
    color: var(--primary-color);
    background-color: var(--textarea);
    border: 1px solid var(--comm2);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

textarea:focus,
input:focus {
    outline: 0;
    border-color: var(--link-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.input-icon::before {
    font-size: .95rem
}

.status-1,
.status-2,
.status-3,
.status-4,
.status-5,
.status-6,
.loading,
input:focus+.input-icon,
textarea:focus+.input-icon {
    color: green;
}

input:focus+.input-icon::after,
textarea:focus+.input-icon::after {
    border-right-color: #66bc08;
}

/* ===== RADIO & CHECKBOX INPUTS ===== */
input[type="radio"] {
    display: none
}

input[type="radio"]+label,
select {
    display: inline-block;
    width: 50%;
    text-align: center;
    float: left;
    border-radius: 0;
}

input[type="radio"]+label:first-of-type {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

input[type="radio"]+label:last-of-type {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

input[type="radio"]+label i {
    padding-right: .4em
}

input[type="radio"]:checked+label,
input:checked+label::before {
    background-color: #66bc08;
    color: #fff;
    border-color: green;
}

input[type="checkbox"] {
    display: none
}

input[type="checkbox"]+label {
    position: relative;
    display: block;
    padding-left: 1.6em;
}

input[type="checkbox"]+label::before {
    position: absolute;
    top: .2em;
    left: 0;
    display: block;
    width: 1.2em;
    height: 1.2em;
    padding: 0;
    content: "";
}

input[type="checkbox"]+label::after {
    position: absolute;
    top: .4em;
    left: .2em;
    color: #fff;
    opacity: 0;
    font: .8em fontawesome;
    content: "\f00c";
}

input:checked+label::after {
    opacity: 1
}

select {
    height: 3.4em;
    line-height: 2
}

select:first-of-type {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

select:last-of-type {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

select:focus,
select:active,
.search input:focus {
    outline: 0
}

/* ===== INPUT GROUPS ===== */
.input-group {
    margin-bottom: .9em
}

.input-group::before,
.input-group::after {
    content: "";
    display: table
}

.input-group::after {
    clear: both
}

.input-group-icon {
    position: relative
}

.input-group-icon textarea,
.input-group-icon input {
    padding-left: 4.4rem;
    padding-right: 25px;
}

.input-group-icon .input-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 3.4rem;
    height: 3.4rem;
    line-height: 3rem;
    text-align: center;
    pointer-events: none;
}

.input-group-icon .input-icon::after {
    position: absolute;
    top: .6rem;
    bottom: .9rem;
    left: 3.4rem;
    display: block;
    border-right: 1px solid var(--comm2);
    content: "";
    transition: .35s ease-in-out;
}

.input-info::before {
    content: "\f05a";
    position: absolute;
    right: 2px;
    top: 1px;
    font: 1.1rem fontawesome;
    cursor: help;
}

.input-group .tooltip {
    width: 100%;
    bottom: 100%;
    white-space: pre-line;
    text-transform: none;
    margin-right: 3px;
    margin-bottom: 10px;
}

.togglePassword {
    position: absolute;
    right: 2px;
    top: 0;
    border: none;
    background: transparent;
    color: var(--primary-color);
    cursor: help;
}

.togglePassword .fa-eye::before {
    font: 1.1rem fontawesome
}

/* === INPUT GROUPS — BORDER FIN (LIGHT) === */
html:not([data-theme="dark"]) .input-group input,
html:not([data-theme="dark"]) .input-group textarea {
    /* păstrăm bg-ul actual din var(--textarea) */
    border-color: rgba(175, 23, 64, 0.45);
    /* fin, în ton cu paleta light */
}

/* Focus pe Light: contur discret pe accentul brand */
html:not([data-theme="dark"]) .input-group input:focus,
html:not([data-theme="dark"]) .input-group textarea:focus {
    border-color: var(--link-color);
    box-shadow: 0 0 0 3px rgba(175, 23, 64, 0.18);
}

/* === INPUT GROUPS — BORDER FIN (DARK) === */
[data-theme="dark"] .input-group input,
[data-theme="dark"] .input-group textarea {
    border-color: rgba(238, 238, 238, 0.16);
    /* gri deschis, subtil pe dark */
}

/* Focus pe Dark: contur pe accentul #00ADB5 */
[data-theme="dark"] .input-group input:focus,
[data-theme="dark"] .input-group textarea:focus {
    border-color: var(--link-color);
    box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.25);
}

/* ===== MODERN CONTAINERS (ENHANCED) ===== */
.container {
    display: flow-root;
    position: relative;
    max-width: 40em;
    padding: 1em;
    margin: 1.5em auto;
    background-color: var(--container);
    box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.3);
    text-align: left;
    border-radius: var(--radius);
}

#captchaInput {
    width: 4em;
    margin: 0 1em 1em;
    height: 2.5em
}

#captchaText {
    font-size: 1rem
}

/* ===== MODERN BUTTONS (COMPLETELY ENHANCED) ===== */
input.button,
.button,
a.button,
input[type="submit"],
input[type="button"] {
    width: auto;
    background: var(--success);
    border: none;
    box-shadow: none;
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    font-family: inherit;
}

input.button:hover,
.button:hover,
a.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: #059669;
    box-shadow: none;
    transform: translateY(-2px);
}

.back-to-top {
    /* placement: fixed to viewport, right-aligned */
    position: fixed;
    right: 16px;
    bottom: 80px;
    left: auto;
    /* cancel any accidental left */
    top: auto;

    /* layering & box model */
    z-index: 1000;
    /* keep it above cards/images */
    width: 44px;
    /* round button */
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 9999px;
    /* perfect circle */

    /* behavior */
    cursor: pointer;
    text-align: center;
    display: none;
    /* your JS toggles this to block */
    transition: transform .15s ease, box-shadow .2s ease;

    /* NOTE: visuals (colors/border) remain inherited from .lite-grey-button */
}

.back-to-top::before {
    font: 1.4em fontawesome;
    content: "\f102";
    line-height: 1;
}

.highlight {
    color: var(--link-color);
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== LEVEL COMMENTS ===== */
[class*='lv-'] {
    border-left: 1px solid var(--comments-border);
    border-radius: 1.2rem 0 0 1.2rem;
}

/* ===== MODERN COMMENTS SYSTEM (ENHANCED) ===== */
.emComments {
    margin: 10px auto;
    text-align: left;
    border-radius: var(--radius);
    overflow: visible;
    margin-top: 20px;
}

.emComments .user {
    font: .95rem fontawesome
}

.emAddComment {
    clear: left;
    float: none;
    overflow: hidden;
    display: block;
    padding-top: 10px;
    margin-top: 20px;
}

.emComment,
.emInfoMessage {
    font-size: .9rem;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(249, 250, 252, 0.95) 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: var(--radius);
    clear: left;
    float: none;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 15px;
    display: block;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 0 15px rgba(139, 92, 246, 0.03);
    transition: all 0.2s ease;
}

.emComment:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(203, 213, 225, 0.8);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 0 25px rgba(139, 92, 246, 0.08);
    transform: translateY(-1px);
}

[data-theme="dark"] .emComment {
    background: linear-gradient(145deg,
            var(--container) 0%,
            rgba(35, 41, 55, 0.95) 100%);
    border-color: var(--comments-border);
    color: #cbd5e1;
}

[data-theme="dark"] .emComment:hover {
    background: var(--comm2);
    border-color: #4a5568;
}

.emInfoMessage {
    text-align: center;
    font-weight: 600;
}

.emCommentImage {
    color: #35ab35;
    float: left;
    padding-left: .7rem;
    padding-top: 3px;
}

.emCommentText {
    padding-left: 2rem
}

.emCommentInto .reply::before,
.emCommentInto .dislike::before,
.emCommentInto .like::before {
    font-size: .9rem;
    margin-right: 4px;
}

.emCommentInto .like {
    color: #35ab35
}

.emCommentInto em {
    font-weight: 600
}

.emCommentInto a:hover {
    color: var(--bg-header-elements)
}

.emCommentInto {
    padding: 10px 0 0 .7rem;
    font-size: .83rem;
    border-top: 1px solid rgba(226, 232, 240, 0.4);
    margin-top: 10px;
    padding-top: 10px;
}

[data-theme="dark"] .emCommentInto {
    border-top-color: var(--comments-border);
}

.emdate {
    display: block;
    padding-bottom: 7px;
    font-size: .75rem;
    color: #64748b;
    opacity: 0.8;
}

[data-theme="dark"] .emdate {
    color: #94a3b8
}

.reply {
    padding-top: 5px
}

.emShowAllComments,
.emHideAllComments {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(249, 250, 252, 0.95) 100%);
    border: 1px solid rgba(203, 213, 225, 0.6);
    border-radius: var(--radius-sm);
    clear: left;
    float: none;
    margin-bottom: 15px;
    padding: 12px 20px;
    display: block;
    font-size: .95rem;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.emShowAllComments:hover,
.emHideAllComments:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--link-color);
    transform: translateX(5px);
}

[data-theme="dark"] .emShowAllComments,
[data-theme="dark"] .emHideAllComments {
    background: linear-gradient(145deg,
            var(--container) 0%,
            rgba(35, 41, 55, 0.95) 100%);
    border-color: var(--comments-border);
    color: var(--primary-color);
}

[data-theme="dark"] .emShowAllComments:hover,
[data-theme="dark"] .emHideAllComments:hover {
    background: var(--comm2);
    border-color: var(--link-color);
}

#emContent,
.emContent {
    font-size: .9rem
}

.emSenderName {
    font-weight: 700;
    font-size: 1rem;
    color: #35ab35;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .emSenderName {
    background: linear-gradient(135deg, #fb923c, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.emAddComment input.button {
    margin-bottom: 10px
}

/* Comments rules link - simple text */
.emAddComment a.next-button[href*="comments-rules"] {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-left: 20px;
    color: #64748b;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: normal;
    display: inline;
    transition: color 0.2s ease;
}

.emAddComment a.next-button[href*="comments-rules"]:hover {
    color: var(--link-color);
    text-decoration: underline;
    transform: none;
}

[data-theme="dark"] .emAddComment a.next-button[href*="comments-rules"] {
    color: #94a3b8;
}

[data-theme="dark"] .emAddComment a.next-button[href*="comments-rules"]:hover {
    color: var(--link-color);
}

/* ===== EMOJI MODAL ===== */
.em-emoji-modal {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0 16px;
}

.em-emoji-modal-content {
    background-color: var(--container);
    margin: 10% auto;
    border: 1px solid var(--hr);
    max-width: 320px;
    border-radius: 8px;
    position: relative;
    max-height: 180px;
    overflow-y: auto;
}

.em-emoji-header {
    padding: 0 14px;
    position: sticky;
    width: 100%;
    height: 44px;
    top: 0;
    left: 0;
    background: var(--comm2);
    border-bottom: solid 1px var(--hr);
}

.em-emoji-btn {
    font-size: 1.2rem;
    border: none;
    background: none;
    cursor: pointer;
    padding: 5px;
    transition: transform .2s;
}

.em-emoji-btn:hover {
    transform: scale(1.3);
    background: var(--comm2);
    border-radius: 50%;
}

.em-emoji-trigger {
    position: absolute;
    right: 10px;
    top: 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
    color: #6b7280;
    padding: 0 6px;
}

.em-emoji-trigger:hover {
    color: #374151;
    transform: scale(1.1);
}

[data-theme="dark"] .em-emoji-trigger {
    color: #94a3b8
}

[data-theme="dark"] .em-emoji-trigger:hover {
    color: #cbd5e1
}

.em-emoji-close {
    color: var(--link-color);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}

.em-emoji-close:hover {
    color: var(--link-color-hover)
}

.emoji-category {
    border-bottom: 1px solid var(--hr);
    padding: 0 7px 7px;
}

.emoji-category:last-child {
    border-bottom: none
}

.emoji-category h5 {
    padding-left: 7px;
    font-size: 1em;
}

.emoji-group {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
}

/* ===== PAGINATION (ENHANCED) ===== */
#pagination {
    padding: 10px 0;
    position: relative;
    width: 100%
}

a.page,
a.link-button-w100,
a.button,
.button {
    cursor: pointer;
    text-align: center;
    margin: 0;
    padding: 7px 15px;
    border: 0;
    transition: all .2s;
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

a.page {
    margin: 5px
}

a.link-button-w100 {
    width: 100%;
    margin: 5px 0;
}

.prev-button {
    float: left
}

.next-button {
    float: right
}

.prevnext {
    margin: 15px 0;
    float: left;
    width: 100%
}

/* ===== MODERN BUTTON STYLES ===== */
a.red-button,
.red-button {
    color: white;
    border: none;
    text-shadow: none;
    background: var(--danger);
    position: relative;
    overflow: visible;
}

a.red-button:hover,
.red-button:hover {
    color: white;
    background: #dc2626;
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.28);
    transform: none;
    filter: brightness(1.05);
}

a.green-button,
.green-button {
    color: white;
    border: none;
    text-shadow: none;
    background: var(--success);
    position: relative;
    overflow: visible;
}

a.green-button:hover,
.green-button:hover {
    color: white;
    background: #059669;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.28);
    transform: none;
    filter: brightness(1.05);
}

a.lite-grey-button,
.lite-grey-button {
    color: var(--btn-color);
    border: 2px solid var(--btn-border);
    background: var(--btn-bg);
    text-shadow: var(--text-shadow);
    font-weight: 600;
    position: relative;
    transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

a.lite-grey-button:hover,
.lite-grey-button:hover {
    color: var(--link-color);
    background: var(--btn-bg-hover);
    border-color: rgba(175, 23, 64, 0.45);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* (Recomandat) tranziții line pentru stări */
a.lite-grey-button,
.lite-grey-button {
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* ===== LISTS ===== */
.textlist,
.numlist {
    text-align: justify;
    margin: 10px 0 3px;
    font-size: .89rem;
}

.numlist>li:first-child {
    counter-reset: li
}

.textlist li,
.numlist li {
    padding-bottom: 7px
}

.numlist>li::before {
    counter-increment: li;
    content: counters(li, ".");
    color: var(--link-color);
    display: inline-block;
    padding-right: 10px;
    direction: rtl;
    font-weight: 800;
    font-size: 1rem;
}

.zero>li::before {
    content: counter(li, decimal-leading-zero)
}

.textlist>li::before {
    content: "\f192";
    font-family: fontawesome;
    color: var(--link-color);
    display: inline-block;
    padding-right: 10px;
}

.numlist h2,
.textlist h2,
.numlist h3,
.textlist h3 {
    display: inline
}

.label-plus::before {
    font: 1.2rem fontawesome;
    content: "\f055";
    padding-left: 10px;
    float: right;
    padding-top: 2px;
}

p .label-plus::before {
    font: 1rem fontawesome
}

/* ===== MODERN BLOCKQUOTE ===== */
blockquote {
    font-size: .88rem;
    overflow: hidden;
    position: relative;
    border-left: 5px solid var(--hr);
    padding: 2em 1.5em 1.5em;
    background: var(--blockquote);
    margin: 10px 0;
    text-align: justify;
    border-radius: var(--radius-sm);
}

blockquote::after,
blockquote::before {
    content: "\f10e";
    font: 1.1rem fontawesome;
    position: absolute;
    color: var(--hr);
    bottom: 3px;
    right: 8px;
}

blockquote::before {
    content: "\f10d";
    top: 4px;
    left: 8px;
}

blockquote p {
    text-align: justify
}

.border-left {
    text-align: left;
    margin: 10px auto 15px;
    border-left: 2px solid var(--link-color);
}

.border-left li {
    padding: 3px 0 3px 15px
}

/* ===== MODERN PROFILE GRID (ENHANCED) ===== */
.profile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    grid-gap: 12px;
    padding: 0;
    width: 100%;
    margin: 5px 0 20px;
}

.post .profile {
    width: calc(100% - 12px);
    margin: 5px -6px 20px 6px;
}

/* ===== MODERN ENTRY & PROFILE ITEMS (COMPLETELY ENHANCED) ===== */
/* ===== MODERN ENTRY & PROFILE ITEMS — LIGHT (PLIN STATIC, BRAND) ===== */
html:not([data-theme="dark"]) .entry,
html:not([data-theme="dark"]) .profile-item {
    background: linear-gradient(180deg, var(--container) 0%, var(--comm2) 100%);
    border: 1px solid var(--comments-border);
    text-align: center;
    position: relative;
    border-radius: var(--radius);
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    overflow: visible;
    box-shadow:
        0 10px 24px rgba(226, 62, 87, .16),
        0 6px 16px rgba(0, 0, 0, .10),
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(226, 62, 87, .20);
}

/* Enhanced styling for post page items */
/* Lăsăm .entry cu look-ul actual (dacă vrei exact la fel ca înainte) */
.post .entry {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(251, 252, 253, 0.95) 100%);
    border: 1px solid rgba(203, 213, 225, 0.6);
    outline: none;
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* PROFILE-ITEM (LIGHT) — volum "plin" și în stare normală */
.post .profile-item {
    /* Gradient de volum, identic ca logică cu dark, dar pe paleta light */
    background: linear-gradient(180deg, var(--comm2) 0%, var(--container) 100%);
    /* Border puțin mai prezent ca să decupeze de fundal */
    border: 1px solid rgba(203, 213, 225, 0.85);
    outline: none;

    /* Umbre: una externă discretă + două insets ca "highlight" sus/jos
       -> creează curbura chiar fără hover */
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.08),
        /* separare de fundal (extern) */
        inset 0 1px 0 rgba(255, 255, 255, 0.90),
        /* highlight sus */
        inset 0 -1px 0 rgba(203, 213, 225, 0.60);
    /* umbră jos */

    border-radius: var(--radius);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* .entry – păstrăm look-ul tău actual la hover */
.post .entry:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(148, 163, 184, 0.8);
    transform: translateY(-1px);
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.20),
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* PROFILE-ITEM (LIGHT) — hover ușor mai pronunțat, fără "salt" vizual */
.post .profile-item:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
    border-color: rgba(148, 163, 184, 0.85);
    transform: translateY(-1px);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.12),
        /* un pic mai puternic pe hover */
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(203, 213, 225, 0.65);
}

/* Apply same styling to .glam boxes for visual unity */
.post .glam {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(251, 252, 253, 0.95) 100%);
    border: 1px solid rgba(203, 213, 225, 0.6);
    border-radius: var(--radius);
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow: hidden;
}

.post .glam:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(148, 163, 184, 0.8);
    transform: translateY(-1px);
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.20),
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Dark theme pentru .post .glam - FIX ADĂUGAT */
[data-theme="dark"] .post .glam,
[data-theme="dark"] .glam {
    background: linear-gradient(180deg, var(--comm2) 0%, var(--container) 100%);
    border: 1px solid var(--comments-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .20);
    border-radius: var(--radius);
}

[data-theme="dark"] .post .glam:hover {
    background: linear-gradient(180deg,
            #323a4f 0%,
            var(--comm2) 100%);
    border-color: #4a5568;
    transform: translateY(-1px);
    box-shadow:
        0 0 30px rgba(251, 146, 60, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Dark theme variants */
[data-theme="dark"] .post .profile-item,
[data-theme="dark"] .post .entry,
[data-theme="dark"] .item .fancy,
[data-theme="dark"] .entry {
    background: linear-gradient(180deg,
            var(--comm2) 0%,
            var(--container) 100%);
    border: 1px solid var(--comments-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .post .profile-item:hover,
[data-theme="dark"] .post .entry:hover,
[data-theme="dark"] .item .fancy:hover,
[data-theme="dark"] .entry:hover {
    background: linear-gradient(180deg,
            #2F353B 0%,
            var(--container) 100%);
    border-color: rgba(238, 238, 238, 0.18);
    box-shadow:
        0 0 28px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.35);
    /* umbre externe, fără highlight alb */
}

.entry {
    grid-column: span 4;
    grid-row: span 1;
    padding: 10px 10px 20px;
}

.entry p {
    padding: 10px 0
}

.profile-item {
    transition: all 0.2s ease;
}

.profile-item p {
    overflow-wrap: break-word;
    font-size: .85rem;
    padding: 5px;
}

/* Enhanced text styling */
/* PROFILE-ITEM (LIGHT) — static cu volum + shadow circular */
.post .profile-item {
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
    border: 1px solid rgba(203, 213, 225, 0.55);
    /* border mai discret */
    outline: none;
    box-shadow:
        0 0 28px rgba(0, 0, 0, 0.10),
        /* glow circular */
        0 8px 18px rgba(0, 0, 0, 0.06),
        /* umbră cădere */
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(203, 213, 225, .55);
    border-radius: var(--radius);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.post .profile-item:hover {
    background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
    border-color: rgba(148, 163, 184, 0.75);
    transform: translateY(-1px);
    box-shadow:
        0 0 36px rgba(0, 0, 0, 0.14),
        /* glow mai pronunțat */
        0 12px 24px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(203, 213, 225, .60);
}

[data-theme="dark"] .post .profile-item p:first-child,
[data-theme="dark"] .post .entry p:first-child {
    color: #94a3b8;
    font-weight: 600;
}

.profile-item p:first-child {
    text-transform: capitalize;
    font-weight: 800;
}

.item-2 {
    grid-column: span 2;
    grid-row: span 1
}

.item-4 {
    grid-column: span 4;
    grid-row: span 1
}

.model-link {
    align-self: center
}

.model-link a.link-button-w100 {
    margin: 0
}

.item-photo,
.item-video {
    grid-column: span 4;
    grid-row: span 4
}

.item-12 {
    grid-column: span 4;
    grid-row: span 1;
    text-align: left
}

/* Prevent text scaling on item-12 boxes */
.post .profile-item.item-12:hover {
    transform: none;
    box-shadow:
        0 0 45px rgba(139, 92, 246, 0.22),
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 0 40px rgba(139, 92, 246, 0.06);
}

/* ===== GLAM & TEXT BOXES ===== */
/* glam — light cu volum “plin”, aliniat cu palette */
/* LIGHT — GLAM */
.glam {
    position: relative;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--container) 0%, var(--comm2) 100%);
    border: 1px solid var(--comments-border);
    box-shadow:
        0 10px 24px rgba(226, 62, 87, .16),
        0 6px 16px rgba(0, 0, 0, .10),
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(226, 62, 87, .20);
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
}

/* micro-texte din glam pe LIGHT */
html:not([data-theme="dark"]) .glam .short-info,
html:not([data-theme="dark"]) .glam .age {
    color: var(--brand-900);
}

.glam .short-info i {
    color: currentColor;
    opacity: .9;
}

html:not([data-theme="dark"]) .glam:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #FDE6EC 100%);
    border-color: rgba(226, 62, 87, .65);
    transform: translateY(-1px);
    box-shadow:
        0 18px 34px rgba(226, 62, 87, .20),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(226, 62, 87, .28);
}

/* micro-texte în glam pe LIGHT — contrast mai bun */
html:not([data-theme="dark"]) .glam .short-info,
html:not([data-theme="dark"]) .glam .age {
    color: var(--brand-900);
}

.glam .short-info i {
    color: currentColor;
    opacity: .9;
}

/* Light: texte mici din .glam (Age, detalii) – contrast mai mare */
html:not([data-theme="dark"]) .glam .short-info {
    color: #6B112C;
    /* burgundy închis din paleta light */
}

/* Light: accentuează explicit “Age: 24” */
html:not([data-theme="dark"]) .glam .age {
    color: #6B112C;
    font-weight: 600;
}

/* Iconurile din .glam -> aceeași culoare ca textul local */
.glam .short-info i {
    color: currentColor;
    /* moștenește din .short-info */
    opacity: .9;
    /* ușor mai soft decât textul */
}

.text-box {
    width: 100%;
    padding: 10px 15px 20px;
    margin: 15px auto;
    text-align: left;
    box-shadow: var(--entry-box-shadow);
    border-radius: var(--radius);
    background: var(--blockquote);
    border: 1px solid var(--comments-border);
}

.padd {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.heading {
    display: block;
    font-weight: 400;
    font-size: .83rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.identical {
    counter-increment: itemIndex;
    text-align: center;
}

.identical::before {
    content: "IDENTICAL: "counter(itemIndex) "";
    font-weight: 600;
    font-size: .9rem;
}

.identical .fancy,
.identical .glam {
    margin-top: 7px
}

/* ===== GDPR COOKIE MESSAGE ===== */
#gdpr-cookie-message {
    font-size: 14px;
    line-height: 1.4em;
    position: fixed;
    right: 16px;
    bottom: 16px;
    max-width: 680px;
    background: #444;
    padding: 15px;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
    margin-left: 16px;
    color: #ccc;
    z-index: 101;
}

#gdpr-cookie-message h5,
#gdpr-cookie-message h6 {
    font-size: 1em;
    color: #ddd;
}

#gdpr-cookie-message h5 span {
    display: block
}

.s2257 {
    font-size: .85em;
    line-height: 1.4em;
}

#gdpr-cookie-message p {
    font-size: .9em
}

#gdpr-cookie-accept {
    margin-right: 10px;
    margin-top: 10px
}

#gdpr-cookie-advanced {
    margin-top: 10px
}

#gdpr-cookie-message li {
    width: 49%;
    display: inline-block;
    margin-top: 7px;
}

#gdpr-cookie-message a {
    color: orange;
    transition: all .3s ease-in;
}

#gdpr-cookie-message a:hover {
    color: #fff;
    transition: all .3s ease-in;
}

b,
strong,
#gdpr-cookie-message button {
    font-size: 1em
}

#gdpr-cookie-message button:disabled {
    opacity: .3
}

/* ===== NAVIGATION MENU (PRESERVED) ===== */
.nav {
    font-size: 16px;
    line-height: 1.23em;
    text-align: left;
    background-color: #2a2a2a;
    position: fixed;
    z-index: 9;
    top: 0;
    right: 0;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    max-width: 32em;
    padding: 55px 15px 10px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .55s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.nav.show {
    transform: translateX(0px)
}

.nav.show .main li {
    transform: translateX(0px);
    opacity: 1
}

.nav.show .main li:nth-child(1) {
    transition-delay: .1s
}

.nav.show .main li:nth-child(2) {
    transition-delay: .2s
}

.nav.show .main li:nth-child(3) {
    transition-delay: .3s
}

.nav.show .main li:nth-child(4) {
    transition-delay: .4s
}

.nav.show .main li:nth-child(5) {
    transition-delay: .5s
}

.nav.show .main li:nth-child(6) {
    transition-delay: .6s
}

.nav.show .main li:nth-child(7) {
    transition-delay: .7s
}

.nav.show .main li:nth-child(8) {
    transition-delay: .8s
}

.nav.show .main li:nth-child(9) {
    transition-delay: .9s
}

.nav.show .main li:nth-child(10) {
    transition-delay: 1s
}

.nav.show .main li:nth-child(11) {
    transition-delay: 1.1s
}

.nav.show .main li:nth-child(12) {
    transition-delay: 1.2s
}

.nav.show .main li:nth-child(13) {
    transition-delay: 1.3s
}

.nav.show .main li:nth-child(14) {
    transition-delay: 1.4s
}

.nav.show .main li:nth-child(15) {
    transition-delay: 1.5s
}

.nav.show .main li:nth-child(16) {
    transition-delay: 1.6s
}

.nav.show .main li:nth-child(17) {
    transition-delay: 1.7s
}

.nav.show .logo-nav,
.nav.show .theme-switch-wrapper,
.nav.show .about,
.nav.show .sub,
.nav.show #user {
    transform: translateY(0px);
    opacity: 1;
    transition-delay: .85s;
}

.nav h4 {
    padding: 0;
    line-height: 1.115em;
    font-size: 1em;
}

.main li {
    font-size: 1.1em;
    margin-bottom: 5px;
    transform: translateX(40px);
    opacity: 0;
    transition: all .3s ease;
}

.main li a {
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    display: block;
    letter-spacing: 2px;
    font-weight: 600;
    margin-right: 10px;
    padding: 5px 0 5px 1.4em;
    transition: all .3s ease;
}

.sub li a:hover,
.sub li.active a,
.main li.parent a:hover::before,
.main li a:hover,
.main li a.active,
.main li.parent ul.nav-child li a:hover,
.main li.parent ul.nav-child li a.active {
    color: orange;
}

.main li.parent a:hover {
    color: #fff
}

.sub li.active a:hover,
.main li a.active:hover,
.main li.parent ul.nav-child li a.active:hover {
    color: #aaa;
}

li.parent ul.nav-child {
    display: none
}

.main li.parent ul.nav-child li:nth-child(1) {
    color: #888;
    font-size: .81em;
    line-height: 1.25em;
}

.main li.parent ul.nav-child li a {
    color: #ddd;
    font-size: .75em;
    letter-spacing: 1px;
    font-weight: 400;
    padding: 5px 0 5px 1.7em;
}

li .nav-child::after,
.main li .nav-child li a::before,
.main li a::before {
    font: 1.023em fontawesome;
    line-height: .8em;
    position: absolute;
    top: 8px;
    left: 0;
    color: #fff;
}

.main li .nav-child li a::before {
    font-size: 1.24em;
    color: #ddd;
}

.main li:nth-child(1) a::before {
    content: "\f015"
}

.main li:nth-child(2) a::before,
.female::before {
    content: "\f221"
}

.main li:nth-child(3) a::before,
.transsexual::before {
    content: "\f224"
}

.main li:nth-child(4) a::before,
.male::before {
    content: "\f222"
}

.main li:nth-child(5) a::before,
.couple::before {
    content: "\f228"
}

a.expand::before {
    content: "\f055";
    cursor: row-resize
}

li .nav-child::after {
    content: "\f056";
    color: orange
}

.nav-item-effect {
    transform: translateY(30px);
    opacity: 0;
    transition: all .4s ease;
}

/* ===== SITE ICONS ===== */
.site-icon,
.nav-child-1 li a::before {
    background: transparent url(/img/site-icon.png) no-repeat;
    width: 16px;
    height: 16px;
    overflow: hidden;
}

a.site-icon {
    font-size: 11px;
    margin-top: 3px;
    float: right
}

.skyprivate,
li.skyprivate a::before {
    background-position: 0 0
}

.bongacams,
li.bongacams a::before {
    background-position: 0 -16px
}

.streamate,
li.streamate a::before {
    background-position: 0 -32px
}

.flirt4free,
li.flirt4free a::before {
    background-position: 0 -48px
}

.camsoda,
li.camsoda a::before {
    background-position: 0 -64px
}

.stripchat,
li.stripchat a::before {
    background-position: 0 -80px
}

.imlive,
li.imlive a::before {
    background-position: 0 -96px
}

.chaturbate,
li.chaturbate a::before {
    background-position: 0 -112px
}

.livejasmin,
li.livejasmin a::before {
    background-position: 0 -128px
}

.xlovecam,
li.xlovecam a::before {
    background-position: 0 -144px
}

.visit-x,
li.visit-x a::before {
    background-position: 0 -160px
}

.amateur_tv,
li.amateur_tv a::before {
    background-position: 0 -176px
}

.cam4,
li.cam4 a::before {
    background-position: 0 -192px
}

.xcams,
li.xcams a::before {
    background-position: 0 -208px
}

.cherry_tv,
li.cherry_tv a::before {
    background-position: 0 -224px
}

li.parent .nav-child li a::before {
    content: ""
}

li .nav-child-1 li:last-child a::before {
    content: "\f080";
    background: none
}

li .nav-child-2 li:nth-child(2) a::before {
    content: "\f03d"
}

li .nav-child-2 li:nth-child(3) a::before {
    content: "\f005"
}

li .nav-child-2 li:nth-child(4) a::before {
    content: "\f06d"
}

li .nav-child-2 li:nth-child(5) a::before {
    content: "\f074"
}

li .nav-child-2 li:nth-child(6) a::before {
    content: "\f1e2"
}

li .nav-child-2 li:nth-child(7) a::before {
    content: "\f235"
}

.about h5 {
    color: #bbb;
    font-size: 1.1em
}

.about p {
    color: #aaa;
    font-size: 1em;
    letter-spacing: .5px
}

.sub {
    margin-top: 20px;
    font-size: .81em
}

.sub li {
    position: relative;
    margin-bottom: 15px;
    margin-right: 20px;
    display: inline-block;
    text-align: center;
}

.sub li a {
    color: #ddd;
    letter-spacing: 1px;
    transition: all .3s ease;
}

.sub li a::before {
    font: 1.8em fontawesome;
    color: #ddd;
}

.sub li a span:not(.tooltip) {
    display: block
}

.badge {
    padding: 3px 5px;
    border-radius: 10em;
    font-size: .8rem;
    color: orange;
    position: absolute;
    bottom: 25px;
}

.nav .badge {
    left: 1.8em;
    top: -10px;
    font-size: .95em
}

.link-button-w100 .badge {
    right: 10px;
    bottom: 5px;
    color: var(--link-color)
}

#user {
    position: relative;
    padding: 5px 0
}

#user::before {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #555;
    position: absolute;
    top: 0;
    left: 0;
}

.user-pic,
.user-pic-big {
    max-width: 120px;
    border-radius: 12px;
    margin: 15px 0;
    border: 2px solid #888;
    overflow: hidden;
}

.user-pic-big {
    max-width: 240px
}

.user-info {
    position: absolute;
    top: 30px;
    left: 135px;
    color: #888;
}

.user-info p {
    padding: 0 0 5px;
    font-size: .85em
}

.user-info-text {
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
}

/* ===== THEME SWITCH ===== */
.theme-switch-wrapper b {
    margin-left: 10px;
    /* spațiu mai mic, dar vizibil */
    padding-left: 5px;
    /* adaugă „cushion” între switch și text */
    font-size: 0.95em;
    /* un pic mai compact */
    color: var(--comments-border);
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.4;
    /* vertical alignment mai aerisit */
}

/* Label „light mode” — contrast corect în ambele teme */
html:not([data-theme="dark"]) .theme-switch-wrapper b {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

[data-theme="dark"] .theme-switch-wrapper b {
    color: var(--dark-ink);
    text-shadow: none;
}

.theme-switch {
    display: inline-block;
    height: 21px;
    position: relative;
    width: 40px;
}

.theme-switch input {
    display: none
}

.slider {
    background-color: #999;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider::before {
    background-color: #fff;
    bottom: 3px;
    content: "";
    height: 15px;
    left: 3px;
    position: absolute;
    transition: .4s;
    width: 15px;
}

/* Slider ON = accent temă */
html:not([data-theme="dark"]) input:checked+.slider {
    background-color: var(--link-color);
}

[data-theme="dark"] input:checked+.slider {
    background-color: var(--link-color);
}


input:checked+.slider::before {
    transform: translateX(18px)
}

.slider.round {
    border-radius: 21px
}

.slider.round::before {
    border-radius: 50%
}

/* ===== ARTICLE NAVIGATION ===== */
.articles-nav .textlist li.active a,
.footer a {
    color: var(--primary-color)
}

li .nav-child-3 li:nth-child(1n) a::before,
.articles-nav .textlist li::before {
    content: "\f0f6"
}

li .nav-child-3 li a.active::before,
.articles-nav .textlist li.active::before {
    content: "\f15c"
}

.show-image-nav {
    display: none;
    background: #333;
    border: 1px solid #555;
}

.details {
    color: #888;
    margin-left: 25px;
    font-size: .7em;
    padding: 0 0 5px;
    line-height: 1.2em;
}

.logo-nav {
    float: right;
    margin-bottom: 10px;
    transition: .5s;
}

.logo-nav::before {
    transform: translateX(40px);
    transition: .5s;
}

.logo-nav img {
    width: 120px;
    height: 38px
}

/* ===== FOOTER LINKS (ENHANCED) ===== */
.footer a.active,
.footer a:hover {
    color: var(--bg-header-elements);
    text-decoration: underline solid var(--bg-header-elements) 2px;
}

.footer ul {
    text-align: center;
    margin: 0 auto
}

.footer li {
    margin: 6px 5px;
    display: inline-block
}

.footer li::after {
    font: .85rem fontawesome;
    content: "\f142";
    margin-left: 15px;
}

.footer li::before {
    font: .85rem fontawesome;
    margin-right: 5px
}

.cat-title li:first-child::after,
.category li:last-child::after,
.cat-bottom li::after,
.footer li:last-child::after {
    content: none;
}

.footer li:nth-child(1)::before {
    content: "\f1f9"
}

.footer li:nth-child(2)::before {
    content: "\f003"
}

.footer li:nth-child(3)::before {
    content: "\f05a"
}

.footer li:nth-child(4)::before {
    content: "\f05a"
}

.footer li:nth-child(5)::before {
    content: "\f0e8"
}

.footer-links li:nth-child(1)::before,
.footer-links li:nth-child(2)::before {
    content: "\f155"
}

.footer-links li:nth-child(3)::before {
    content: "\f059"
}

.footer-links {
    font-size: 110%
}

/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out;
    background-color: var(--footer-border);
    opacity: 0;
    visibility: hidden;
}

.overlay.show {
    opacity: .8;
    visibility: visible
}

/* ===== DARK THEME SPECIFIC ===== */
.dark-theme .header.sticky {
    border-bottom: 1px solid #333;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.9);
}

.dark-theme .container {
    box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.6);
}

/* ===== SEARCH ===== */
.search {
    transform: translateY(-70px);
    transition: .7s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    visibility: hidden;
    left: 62px;
    width: calc(100% - 124px);
    margin: 0 auto;
    position: fixed;
    top: 0;
    background: var(--bg-color);
    padding: 10px 0;
}

.search input {
    transition: .7s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 0;
    background: transparent;
    border: 0;
    border-left: 1px solid #888;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: 1px;
    padding: 3px 5px 3px 10px;
    height: 30px;
}

.search input:focus {
    border-left-color: green
}

/* ===== HR TEXT ===== */
.hr-text {
    line-height: 1.2em;
    position: relative;
    outline: 0;
    border: 0;
    color: var(--link-color);
    text-align: center;
    height: 1.8em;
    opacity: .6;
    margin: 10px auto;
    font-size: 1.2em;
}

.hr-text:before {
    content: "";
    background: linear-gradient(to right, transparent, var(--hr), transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
}

.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: var(--link-color);
    padding: 0 15px;
    line-height: 1.8em;
    background: white;
    font-weight: 600;
}

/* ===== UTILITY CLASSES ===== */
.bold {
    font-size: 1em;
    font-weight: bolder
}

.justify {
    text-align: justify
}

.shadow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5)
}

.relative {
    position: relative
}

.bottom-abs {
    z-index: 2;
    position: fixed;
    bottom: 0;
    right: 0;
    transform: translateY(5px);
    transition: all .5s ease-out;
}

.center,
.left,
a.bottom-abs:link {
    text-align: center
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden
}

.close-button {
    position: absolute;
    top: 0;
    right: 0
}

.close-button::before {
    font: 1rem fontawesome;
    content: "\f00d"
}

.ratio {
    display: grid
}

.ratio>* {
    grid-area: 1/1/1/1
}

.offline-blur {
    -webkit-filter: blur(15px);
    filter: blur(15px)
}

.suggestion-box {
    background: var(--bg-color);
    position: absolute;
    width: 100%;
    z-index: 1;
    max-height: 168px;
    overflow-y: auto;
    text-align: left;
    margin-top: 11px;
    border-left: 1px solid #888;
    border-right: 1px solid #888;
    border-bottom: 1px solid #888;
}

.suggestion-item {
    padding: 10px 15px 10px 5px;
    border-bottom: 1px solid #888;
    display: flex;
}

.suggestion-item:hover {
    background: var(--blockquote)
}

.suggestion-item img {
    margin: 0;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.suggestion-item span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    align-content: center;
    padding: 0 5px;
    flex-shrink: 1;
    flex-grow: 1;
}

.suggestion-item .fa-circle {
    text-align: end;
    align-content: center;
    flex-shrink: 1;
    flex-grow: 1;
}

/* ===== MODERN SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px
}

::-webkit-scrollbar-track {
    background: var(--blockquote);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--link-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--link-color-hover)
}

/* ===== SMOOTH TRANSITIONS ===== */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease
}

/* ===== RESPONSIVE DESIGN (PRESERVED) ===== */
@media (min-width: 542px) {
    html {
        font-size: 16px
    }

    .item {
        width: 50%;
        float: left;
        display: block
    }

    .profile .features i,
    .features a {
        font-size: 1.5rem
    }

    .profile {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr))
    }

    .entry {
        grid-column: span 3
    }

    .cat-bottom {
        text-align: center
    }

    .cat-bottom li {
        display: inline-block;
        padding: 0 0 1px 5px
    }

    .cat-bottom li::after {
        content: "\f0da"
    }

    .cat-bottom li:first-child::after,
    .cat-bottom li:last-child::after {
        content: none
    }

    .emdate {
        display: inline-block;
        padding-bottom: 0
    }

    .emdate::after {
        font: .9rem fontawesome;
        content: "\f141";
        margin: 0 10px
    }

    .footer-padd {
        padding-bottom: 10px
    }

    .bottom-abs {
        z-index: 1;
        position: relative;
        transform: none;
        transition: none
    }

    a.bottom-abs:link {
        text-align: left
    }

    .emCommentInto {
        padding-left: 2rem
    }
}

@media (min-width: 768px) {
    .item-12 {
        grid-column: span 6;
        padding: 10px
    }

    [class*='lv-'] {
        border-radius: 0 0 0 1.2rem
    }

    .lv-1 {
        margin-left: 1.2rem
    }

    .lv-2 {
        margin-left: 2.4rem
    }

    .lv-3 {
        margin-left: 3.6rem
    }

    .lv-4 {
        margin-left: 4.8rem
    }

    .lv-5 {
        margin-left: 6rem
    }

    .lv-6 {
        margin-left: 7.2rem
    }

    .lv-7 {
        margin-left: 8.4rem
    }

    .lv-8 {
        margin-left: 9.6rem
    }

    .lv-9 {
        margin-left: 10.8rem
    }

    .lv-10 {
        margin-left: 12rem
    }

    .text-box,
    #pagination,
    [class*="col-"] {
        float: left;
        display: block
    }

    .col-1 {
        width: 8.33333333%
    }

    .col-2 {
        width: 16.66666667%
    }

    .col-3 {
        width: 25%
    }

    .col-4 {
        width: 33.33333333%
    }

    .col-5 {
        width: 41.66666667%
    }

    .col-6 {
        width: 50%
    }

    .col-7 {
        width: 58.33333333%
    }

    .col-8 {
        width: 66.66666667%
    }

    .col-9 {
        width: 75%
    }

    .col-10 {
        width: 83.33333333%
    }

    .col-11 {
        width: 91.66666667%
    }

    .col-12 {
        width: 100%
    }

    .col-12,
    .col-6,
    .left {
        text-align: left
    }

    #pagination,
    .location,
    .small-right {
        text-align: right
    }

    a.page {
        margin: 10px 0 0 10px
    }

    .textlist,
    .numlist {
        margin: 10px 0 3px 22px
    }

    .articles-nav h4 {
        margin-left: 22px
    }

    blockquote {
        margin: 10px 0 10px 25px
    }

    .container {
        padding: 2em
    }

    .border-box {
        margin: 15px 10px;
        padding: 10px 15px
    }

    /* Hover effects for larger screens */
    .skew-y:hover {
        transform: skewY(-3deg);
        z-index: 1
    }

    .rotate:hover {
        transform: rotate(360deg);
        z-index: 1
    }

    .rotate-y:hover {
        transform: rotateY(180deg);
        z-index: 1
    }

    .rotate:hover,
    .rotate-y {
        transition: all 1.5s ease-in-out
    }

    .translate-up:hover {
        transform: translate(0, -3%);
        z-index: 1
    }

    a:hover i,
    .translate-up {
        transition: all .8s ease-in-out
    }

    .zoom:hover {
        transform: scale(1.3);
        z-index: 1
    }

    .zoom,
    .skew-y {
        transition: all 3s ease-in-out
    }

    .center {
        text-align: center
    }
}

@media (min-width: 992px) {
    .item {
        width: 33.33333333%
    }

    .item-video {
        grid-column: span 6
    }

    .item-12 {
        grid-column: span 8
    }

    #content {
        padding: 85px 20px 10px
    }

    .back-to-top {
        right: 26px
    }

    #gdpr-cookie-message {
        right: 26px;
        bottom: 26px;
        margin-left: 26px
    }

    .search-button {
        top: 10px;
        left: 16px
    }

    .nav-button {
        top: 10px;
        right: 16px
    }

    #logo img {
        width: 234px;
        height: 50px
    }

    .search {
        left: 82px;
        width: 280px;
        background: transparent
    }

    .search input {
        height: 50px
    }

    .nav {
        padding: 70px 30px 10px
    }

    .text-box {
        padding: 15px 20px 25px
    }

    .padd {
        padding-top: 10px;
        padding-bottom: 10px
    }

    .theme-switch-wrapper {
        top: 25px
    }

    .header.sticky .nav-button,
    .header.sticky .search-button {
        top: 0
    }

    .header.sticky #logo img {
        width: 141px;
        height: 30px
    }

    .header.sticky .search input {
        height: 30px
    }

    .header.sticky .nav {
        padding: 55px 30px 10px
    }

    .header.sticky .theme-switch-wrapper {
        top: 15px
    }

    .em-emoji-modal-content {
        max-width: 720px
    }

    .emoji-group {
        grid-template-columns: repeat(16, 1fr)
    }
}

.theme-switch-wrapper {
    position: absolute;
    top: 8px;
    /* ajustează după înălțimea headerului */
    left: 12px;
    /* spațiu față de marginea stângă */
    display: flex;
    align-items: center;
    gap: 8px;
    /* distanță între switch și text */
    z-index: 10;
    /* să fie peste meniu/hamburger */
}

.theme-switch-wrapper b.theme-shitch-text {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .item {
        width: 25%
    }

    .profile .features {
        left: auto;
        max-width: 100%;
        text-align: center
    }

    .profile .features i,
    .features a {
        margin: 0 5px 10px
    }

    .profile .features .tooltip {
        font-size: 16px
    }

    .item-video {
        grid-column: span 8;
        grid-row: span 6
    }
}

@media (min-width: 1600px) {
    .item {
        width: 20%
    }

    .post .item {
        width: 25%
    }

    .item-12 {
        grid-column: span 12
    }
}

@media (min-width: 1900px) {
    .item {
        width: 16.66666667%
    }
}

@media (min-width: 2324px) {

    html,
    .nav {
        font-size: 20px
    }

    .item {
        width: 14.28571428%
    }

    .profile {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr))
    }

    .entry {
        grid-column: span 3
    }

    .big-resolution {
        max-width: 140em
    }

    .big-resolution .item {
        width: 16.66666667%
    }

    .tooltip,
    #gdpr-cookie-message {
        font-size: 18px
    }

    .site-icon .tooltip {
        font-size: 15px
    }
}

/* ===== SHOW/HIDE UTILITIES ===== */
.show-plus,
a .tooltip,
.dn {
    display: none
}

input[type="checkbox"]:checked+.plus .label-plus::before {
    content: "\f056"
}

input[type="checkbox"]:checked+.plus+.show-plus,
.db {
    display: block
}

/* ===== HOVER MEDIA QUERIES ===== */
@media (hover: hover) and (pointer: fine) {
    a .tooltip {
        display: block
    }

    .vote:not(.nohover):hover {
        cursor: help
    }

    .vote:not(.nohover):hover>span,
    .vote:not(.nohover):hover .totalrate {
        width: 100%;
        position: absolute;
        background-color: var(--pattern);
        z-index: 1;
        left: 0;
        display: block;
    }

    .vote:not(.nohover):hover .totalrate {
        font-size: .96em;
        bottom: 50px;
        padding: 3px 0 1px;
        border-top: 1px solid var(--blockquote);
        line-height: 19px;
    }

    .vote:not(.nohover):hover>span {
        font-size: .83em;
        bottom: 30px;
        padding-bottom: 3px;
        line-height: 17px;
    }

    a:hover .show-image-nav {
        z-index: 1;
        display: block;
        position: absolute;
        bottom: 100%;
        width: 200px;
        box-shadow: 0 1px 5px 5px rgba(0, 0, 0, .3);
    }

    /* Enhanced hover effects for modern design */
    @media (hover: hover) {
        .profile-item:hover {
            transform: translateY(-2px)
        }

        .button:hover,
        .link-button-w100:hover {
            transform: translateY(-1px)
        }
    }
}

/* ===== FADE-IN ANIMATIONS ===== */
.fade-in {
    display: none;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.fade-in.visible {
    display: inline-block;
    opacity: 1;
}

/* ===== WARNING MODAL ===== */
#boxischecked {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.warning-content {
    background: #fff;
    padding: 20px;
    margin: 16px;
    max-width: 600px;
    text-align: justify;
    position: relative;
    color: #333;
    border-radius: var(--radius);
}

.warning-content img {
    margin-bottom: 10px
}

/* Special handling for warning close button */
.warning-content .close-button.button.red-button {
    overflow: visible;
    box-shadow: none;
    background-image: none;
}

.df {
    display: flex
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .profile-item:hover,
    .entry:hover,
    .fancy:hover {
        transform: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    .header,
    .nav,
    .search,
    .nav-button,
    .search-button,
    .back-to-top,
    #gdpr-cookie-message {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .profile-item,
    .entry,
    .container {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Logo vizibil pe dark: alb prin filtrare, fără a schimba SVG-ul */
#logo img {
    filter: none;
}

/* baseline pentru light */

[data-theme="dark"] #logo img {
    filter: invert(1) brightness(1.2) contrast(1.05);
    /* opțional, un contur foarte discret pentru separare */
    -webkit-filter: invert(1) brightness(1.2) contrast(1.05) drop-shadow(0 0 0.5px rgba(255, 255, 255, .6));
    filter: invert(1) brightness(1.2) contrast(1.05) drop-shadow(0 0 0.5px rgba(255, 255, 255, .6));
}

/* =========================================================
   BACK TO TOP — definitive placement & containment
   ========================================================= */

/* 1) Default: pin to viewport, bottom-right (always) */
body a.back-to-top.lite-grey-button {
    position: fixed !important;
    right: 16px !important;
    bottom: 80px !important;
    left: auto !important;
    top: auto !important;

    z-index: 1000 !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 9999px !important;

    float: none !important;
    transform: none !important;
}

/* Icon size/centering (keeps your FA glyph) */
body a.back-to-top.lite-grey-button::before {
    font: 1.4em fontawesome !important;
    line-height: 1 !important;
    content: "\f102";
}

/* 2) If the button lives INSIDE an image/card, keep it inside bottom-right */
.image-container {
    position: relative;
}

/* anchor for absolute children */
.opacity {
    position: relative;
}

.image-container>a.back-to-top.lite-grey-button,
.opacity>a.back-to-top.lite-grey-button {
    position: absolute !important;
    right: 10px !important;
    bottom: 10px !important;
    left: auto !important;
    top: auto !important;
}

/* 3) Small screens: slightly tighter offsets */
@media (max-width: 480px) {
    body a.back-to-top.lite-grey-button {
        right: 10px !important;
        bottom: 10px !important;
        width: 40px !important;
        height: 40px !important;
    }
}