:root {
    --bg-body: #f8f9fa;
    --bg-header: #1a1d20;
    --bg-card: #ffffff;
    --border-color: #ced4da;
    --text-main: #000000;
    --text-muted: #000000;
    --accent: #198754;
    --accent-dark: #157347;
}

body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }

.site-header { background-color: var(--bg-header); color: #fff; padding: 1rem 0; border-bottom: 3px solid #343a40; }
.navbar-brand { font-weight: 700; font-size: 1.15rem; color: #fff !important; }

/* ============ SHARP CORNERS ============ */
.content-box, .sidebar-box, .content-card, .card-img-top, .btn-custom, .badge, .site-footer,
.connection-card, .code-container, .btn-copy, .btn-reveal, .code-badge, .vpn-box,
.vpn-status-bar, .country-item, .pagination .page-link, .form-control, .form-select, .btn {
    border-radius: 0 !important;
}

/* ============ CONTENT BOXES ============ */
.content-box, .sidebar-box {
    background-color: var(--bg-card); border: 1px solid var(--border-color);
    padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.sidebar-box { padding: 1.5rem; }
h1.page-title { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; }
.welcome-text { font-size: 0.9rem; color: #495057; margin-bottom: 0; }

/* TinyMCE content styling */
.welcome-text p { margin-bottom: 0.5rem; }
.welcome-text p:last-child { margin-bottom: 0; }
.welcome-text a { color: var(--accent); font-weight: 600; text-decoration: none; }
.welcome-text a:hover { text-decoration: underline; }

/* ============ CONTENT CARDS ============ */
.content-card { background-color: var(--bg-card); border: 1px solid var(--border-color); height: 100%; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s; }
.content-card:hover { border-color: var(--accent); }
.card-img-top {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid var(--border-color);
}
.card-body-content { padding: 1.25rem 1.25rem 0.5rem 1.25rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-meta-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.card-title-link { font-size: 1.05rem; font-weight: 700; color: #000; text-decoration: none; margin-bottom: 0.5rem; display: block; }
.card-title-link:hover { color: var(--accent); }
.card-desc { font-size: 0.85rem; color: #495057; margin-bottom: 1rem; }
.card-footer-wrapper { padding: 0 1.25rem 1.25rem 1.25rem; }
.card-footer-info { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #dee2e6; padding-top: 0.75rem; font-size: 0.8rem; color: #6c757d; }
.btn-custom { background-color: var(--accent); color: #fff; border: none; padding: 0.25rem 0.65rem; font-size: 0.75rem; font-weight: 600; text-decoration: none; display: inline-block; text-align: center; white-space: nowrap; }
.btn-custom:hover { background-color: var(--accent-dark); color: #fff; }

/* ============ SIDEBAR ============ */
.sidebar-title { font-size: 0.95rem; font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-color); }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px dashed var(--border-color); }
.sidebar-menu li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-menu a { color: #000; text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.sidebar-menu a:hover { color: var(--accent); }

/* ============ ARTICLE / DETAIL ============ */
.meta-info { font-size: 0.85rem; color: var(--text-main) !important; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-color); }
.article-text { color: #000 !important; font-weight: 500; }
.article-text img { max-width: 100%; height: auto; }

/* ============ COUNTRY ITEMS ============ */
.country-item { background-color: #f8f9fa; border: 1px solid #ced4da; padding: 0.6rem 0.75rem; font-size: 0.85rem; font-weight: 600; color: #000; display: flex; align-items: center; }
.country-item .fi { font-size: 1.2rem; margin-right: 0.75rem; border: 1px solid #dee2e6; }

/* ============ VPN BOX ============ */
.vpn-box { background-color: #fff3cd; border: 1px solid #ffeeba; border-left: 5px solid #ffc107; padding: 1.25rem; margin-top: 1.25rem; }
.vpn-box-title { font-weight: 700; font-size: 0.9rem; color: #856404; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; display: flex; align-items: center; }
.vpn-box-text { font-size: 0.85rem; color: #533f03; margin: 0; font-weight: 500; }
.vpn-badge { background-color: #dc3545; color: #fff; font-size: 0.7rem; padding: 0.15rem 0.4rem; font-weight: 700; margin-left: 0.5rem; text-transform: uppercase; }

.vpn-status-bar { background-color: #f8f9fa; border: 1px solid #ced4da; border-left: 5px solid #198754; padding: 0.75rem 1rem; margin-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: #000; }
.vpn-status-bar .status-text { display: flex; align-items: center; }
.vpn-status-bar .fi { font-size: 1.1rem; margin-right: 0.5rem; border: 1px solid #dee2e6; }

/* ============ CONNECTION CARDS ============ */
.connection-card { background-color: #f8f9fa; border: 1px solid #ced4da; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.connection-card.portal-box { background-color: #e8f4fd; border-color: #9ec5fe; }
.code-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; flex-wrap: wrap; gap: 0.5rem; }
.code-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #000; margin: 0; }
.code-badge { font-size: 0.75rem; padding: 0.2rem 0.5rem; font-weight: 600; }
.code-container { display: flex; justify-content: space-between; align-items: center; background-color: #fff; border: 1px solid #ced4da; padding: 0.5rem 0.75rem; gap: 1rem; }
.code-text { font-family: monospace; font-size: 0.95rem; font-weight: 600; color: #000; word-break: break-all; margin: 0; flex: 1; }
.code-blur { filter: blur(5px); user-select: none; transition: filter 0.3s ease; }

.btn-copy, .btn-reveal { background-color: rgb(26 135 84) !important; color: #fff !important; border: none !important; padding: 0.35rem 0.85rem; font-size: 0.8rem; font-weight: 600; cursor: pointer; white-space: nowrap; margin-left: 1rem; transition: opacity 0.2s; }
.btn-copy:hover, .btn-reveal:hover { opacity: 0.85; }
.btn-reveal:disabled { background-color: #6c757d !important; cursor: not-allowed; opacity: 0.85; }

/* ============ PAGINATION ============ */
.pagination { margin-top: 1.5rem; }
.pagination .page-link { color: #000; border: 1px solid var(--border-color); padding: 0.4rem 0.75rem; font-size: 0.85rem; font-weight: 600; margin: 0 2px; background: #fff; }
.pagination .page-link:hover { background: #e9ecef; color: #000; }
.pagination .page-item.active .page-link { background-color: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .page-item.disabled .page-link { color: #adb5bd; background: #f8f9fa; }

/* ============ FOOTER ============ */
.site-footer { background-color: var(--bg-header); color: #adb5bd; padding: 3rem 0 1.5rem 0; border-top: 1px solid #343a40; margin-top: 3rem; }
.footer-heading { color: #fff; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 1rem; border-bottom: 2px solid #343a40; padding-bottom: 0.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #adb5bd; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.site-footer a { color: #adb5bd; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2c3034; margin-top: 2rem; padding-top: 1.5rem; font-size: 0.8rem; color: #6c757d; }

/* ============ ADMIN PANEL ============ */
.admin-body { background-color: #f4f6f9; }
.admin-sidebar { background-color: #1a1d20; min-height: 100vh; color: #adb5bd; padding: 1.5rem 0; }
.admin-sidebar .brand { color: #fff; font-weight: 700; font-size: 1.1rem; padding: 0 1.5rem 1.5rem 1.5rem; border-bottom: 1px solid #343a40; display: block; text-decoration: none; }
.admin-sidebar .brand:hover { color: #fff; }
.admin-nav { list-style: none; padding: 1rem 0; margin: 0; }
.admin-nav li a { display: block; padding: 0.75rem 1.5rem; color: #adb5bd; text-decoration: none; font-size: 0.9rem; font-weight: 500; border-left: 3px solid transparent; transition: all 0.2s; }
.admin-nav li a:hover, .admin-nav li a.active { background-color: #212529; color: #fff; border-left-color: var(--accent); }
.admin-nav li a i { width: 20px; margin-right: 0.5rem; }

.admin-content { padding: 2rem; }
.admin-page-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid #dee2e6; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.admin-card { background: #fff; border: 1px solid #dee2e6; padding: 1.5rem; margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid #dee2e6; border-left: 4px solid var(--accent); padding: 1.25rem; margin-bottom: 1rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: #000; }
.stat-card .stat-label { font-size: 0.85rem; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; }
.table-sharp th { background-color: #1a1d20; color: #fff; font-size: 0.85rem; font-weight: 600; }
.table-sharp td { font-size: 0.9rem; vertical-align: middle; }
.form-label { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: #495057; }
.dynamic-row { background: #f8f9fa; border: 1px solid #dee2e6; padding: 1rem; margin-bottom: 0.75rem; }
.img-thumb-admin { width: 60px; height: 40px; object-fit: cover; border: 1px solid #dee2e6; }

/* ============================================================
   NAVBAR - RESPONSIVE (Tek blok, temiz)
   ============================================================ */
.site-header .navbar {
    padding: 0;
    position: relative;
}

/* Brand (logo + text) */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0;
}
.navbar-brand .site-logo {
    max-height: 38px;
    width: auto;
    display: block;
}
.navbar-brand span {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.3px;
}

/* Desktop Nav Links */
.header-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}
.header-links .nav-item { list-style: none; }
.header-links .nav-link {
    color: #adb5bd !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}
.header-links .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.05);
}
.header-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #198754;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}
.header-links .nav-link:hover::after { width: 60%; }

/* Hamburger Button */
.navbar-toggler {
    border: 1px solid #343a40;
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
    background: transparent;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.navbar-toggler:hover {
    border-color: #198754;
    background-color: rgba(25, 135, 84, 0.08);
}
.navbar-toggler:focus {
    box-shadow: none;
    border-color: #198754;
}
.navbar-toggler[aria-expanded="true"] {
    border-color: #198754;
    background-color: rgba(25, 135, 84, 0.15);
}

/* Custom Hamburger Icon (3 lines) */
.navbar-toggler-icon {
    display: inline-block;
    width: 22px;
    height: 16px;
    position: relative;
    background-image: none !important;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.navbar-toggler-icon::before { top: 0; }
.navbar-toggler-icon span   { top: 7px; }
.navbar-toggler-icon::after { bottom: 0; }

/* Animate to X when open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 7px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
    transform: scaleX(0);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 7px;
}

/* ============ MOBILE MENU (Modern Card) ============ */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #1a1d20 0%, #212529 100%);
        margin-top: 0.75rem;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-top: 3px solid #198754;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s ease, opacity 0.25s ease, visibility 0.25s;
    }
    .site-header .navbar-collapse.show {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }
    .header-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 0.5rem 0;
    }
    .header-links .nav-item {
        border: none;
        width: 100%;
        position: relative;
    }
    .header-links .nav-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 1.25rem;
        right: 1.25rem;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    }
    .header-links .nav-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem;
        font-weight: 500;
        color: #dee2e6 !important;
        border-radius: 0;
        background: transparent;
        position: relative;
        transition: all 0.25s ease;
        text-align: left;
    }
    .header-links .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: linear-gradient(180deg, #198754, #20c997);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.25s ease;
    }
    .header-links .nav-link::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.75rem;
        color: #198754;
        margin-left: auto;
        opacity: 0.4;
        transform: translateX(-5px);
        transition: all 0.25s ease;
        display: block;
        position: static;
        width: auto;
        height: auto;
        background: none;
        bottom: auto;
        left: auto;
    }
    .header-links .nav-link:hover,
    .header-links .nav-link:active {
        background: linear-gradient(90deg, rgba(25, 135, 84, 0.15) 0%, transparent 100%);
        color: #fff !important;
        padding-left: 1.75rem !important;
    }
    .header-links .nav-link:hover::before { transform: scaleY(1); }
    .header-links .nav-link:hover::after {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============ SMALL MOBILE ============ */
@media (max-width: 576px) {
    .navbar-brand .site-logo { max-height: 30px; }
    .navbar-brand span { font-size: 1rem; }
    .navbar-toggler { padding: 0.45rem 0.55rem; }
    .header-links .nav-link {
        padding: 0.9rem 1.25rem !important;
        font-size: 0.9rem;
    }
}

/* ============ MOBILE GENERAL ============ */
@media (max-width: 768px) {
    .content-box, .sidebar-box { padding: 1.25rem; }
    .admin-sidebar { min-height: auto; }
    .code-container { flex-direction: column; align-items: stretch; }
    .btn-copy, .btn-reveal { margin-left: 0; width: 100%; }
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comment-item {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}
.comment-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.comment-form-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* Star Rating Input */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 1.75rem;
    line-height: 1;
    gap: 0;
}
.star-rating input {
    display: none;
}
.star-rating label {
    color: #dee2e6;
    cursor: pointer;
    padding: 0 3px;
    transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;
}
.star-rating label:hover {
    transform: scale(1.15);
}

/* Mobile */
@media (max-width: 576px) {
    .comment-form-box { padding: 1rem; }
    .star-rating { font-size: 1.5rem; }
}
/* ============================================================
   PORTAL REQUEST CTA (Homepage)
   ============================================================ */
.portal-request-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #1a1d20 0%, #212529 100%);
    border: 1px solid #343a40;
    border-left: 5px solid var(--accent);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    flex-wrap: wrap;
}
.portal-request-cta .cta-icon {
    font-size: 2.5rem;
    color: var(--accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portal-request-cta .cta-content {
    flex: 1;
    min-width: 200px;
}
.portal-request-cta .cta-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #fff;
}
.portal-request-cta .cta-content p {
    font-size: 0.85rem;
    color: #adb5bd;
    margin: 0;
    line-height: 1.5;
}
.portal-request-cta .cta-btn {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.portal-request-cta .cta-btn:hover {
    background: var(--accent-dark);
    color: #fff;
}

@media (max-width: 576px) {
    .portal-request-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    .portal-request-cta .cta-content h3 { font-size: 1rem; }
    .portal-request-cta .cta-btn { width: 100%; }
}

/* ============================================================
   REQUEST TABLE (Portal Request Page)
   ============================================================ */
.request-table thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}
.request-table td {
    font-size: 0.9rem;
    vertical-align: middle;
    padding: 0.75rem 0.5rem;
}
.request-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* ============================================================
   MEMBER AUTH (Login / Register)
   ============================================================ */
.auth-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.auth-header {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.auth-header i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
}
.auth-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: #000;
}
.auth-header p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}
.auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: #6c757d;
}
.auth-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.auth-footer a:hover { text-decoration: underline; }

/* ============================================================
   LOCKED CODES (Detail Page)
   ============================================================ */
.code-locked {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-style: dashed;
}
.code-blur-locked {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    opacity: 0.55;
    letter-spacing: 2px;
}
.btn-unlock {
    background: #1a1d20;
    color: #fff !important;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-unlock:hover {
    background: var(--accent);
    color: #fff;
}
.unlock-note {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 0.5rem;
    padding-left: 0.25rem;
}
.unlock-note a {
    color: var(--accent);
    text-decoration: none;
}
.unlock-note a:hover { text-decoration: underline; }

/* Header auth links */
.header-links .register-link {
    color: #fff !important;
    background-color: var(--accent);
    padding: 0.4rem 0.9rem !important;
    border-radius: 4px;
    font-weight: 600 !important;
}
.header-links .register-link:hover {
    background-color: var(--accent-dark) !important;
    color: #fff !important;
}
.header-links .register-link::after { display: none !important; }

.header-links .login-link {
    color: #fff !important;
    font-weight: 600 !important;
}
.header-links .member-greeting {
    color: #20c997 !important;
    font-weight: 600 !important;
    cursor: default;
}

@media (max-width: 991.98px) {
    .header-links .register-link {
        background-color: rgba(25, 135, 84, 0.25);
        margin: 0.5rem 1.25rem;
        padding: 0.65rem 1rem !important;
        text-align: center;
    }
}
/* ============================================================
   MEMBERSHIP NOTICE (Detail Page)
   ============================================================ */
.membership-notice {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 1px solid #ffc107;
    border-left: 5px solid #ffc107;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.membership-notice .notice-icon {
    font-size: 2.25rem;
    color: #856404;
    flex-shrink: 0;
    line-height: 1;
}
.membership-notice .notice-content {
    flex: 1;
    min-width: 200px;
}
.membership-notice h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: #856404;
}
.membership-notice p {
    font-size: 0.88rem;
    margin: 0;
    color: #533f03;
    line-height: 1.5;
}
.membership-notice p a {
    color: #533f03;
    font-weight: 700;
    text-decoration: underline;
}
.membership-notice p a:hover {
    color: #856404;
}
.membership-notice .btn {
    flex-shrink: 0;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .membership-notice {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    .membership-notice .btn {
        width: 100%;
    }
}

/* ============================================================
   LOCKED CODES
   ============================================================ */
.code-locked {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-style: dashed !important;
}
.code-blur-locked {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    opacity: 0.55;
    letter-spacing: 2px;
}
.btn-unlock {
    background: var(--accent);
    color: #fff !important;
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
    transition: all 0.2s ease;
    border: none;
}
.btn-unlock:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}
.unlock-note {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 0.5rem;
    padding-left: 0.25rem;
}
.unlock-note a {
    color: var(--accent);
    text-decoration: none;
}
.unlock-note a:hover { text-decoration: underline; }
/* ============================================================
   WELCOME ALERT (New Member)
   ============================================================ */
.welcome-alert {
    display: flex;
    gap: 1.25rem;
    background: linear-gradient(135deg, #d1e7dd 0%, #badbcc 100%);
    border: 1px solid #a3cfbb;
    border-left: 5px solid var(--accent);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: welcomeSlideIn 0.5s ease;
}
.welcome-alert-icon {
    font-size: 2.5rem;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
}
.welcome-alert-content {
    flex: 1;
}
.welcome-alert-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a3622;
    margin: 0 0 0.4rem 0;
}
.welcome-alert-content p {
    font-size: 0.9rem;
    color: #0f5132;
    margin: 0 0 0.75rem 0;
}
.welcome-alert-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #0f5132;
}
.welcome-alert-content ul li {
    margin-bottom: 0.3rem;
}
.welcome-alert-content ul li:last-child {
    margin-bottom: 0;
}

@keyframes welcomeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .welcome-alert {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    .welcome-alert-icon {
        font-size: 2rem;
    }
    .welcome-alert-content ul {
        text-align: left;
        display: inline-block;
    }
}
/* ============ MEMBER AVATAR INITIALS ============ */
.member-avatar-initials {
    border-radius: 50%;
    background: linear-gradient(135deg, #198754, #20c997);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============ VERIFIED BADGE ============ */
.verified-badge {
    color: #0d6efd;
    font-size: 0.85rem;
    margin-left: 0.25rem;
    vertical-align: middle;
}

/* ============ MEMBER LEVEL BADGE ============ */
.member-level-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}
/* ============================================================
   MEMBER PROFILE PAGE
   ============================================================ */
.profile-header {
    background: linear-gradient(135deg, #1a1d20 0%, #212529 100%);
    color: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 5px solid var(--accent);
    flex-wrap: wrap;
}
.profile-avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #198754, #20c997);
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fff;
}
.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-header-info {
    flex: 1;
    min-width: 200px;
}
.profile-header-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: #fff;
}
.profile-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.profile-level-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}
.profile-points {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #ffc107;
}
.profile-joined {
    font-size: 0.85rem;
    color: #adb5bd;
    margin: 0;
}
.profile-stats {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}
.profile-stat {
    text-align: center;
}
.profile-stat .stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.profile-stat .stat-lbl {
    font-size: 0.75rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* Tabs */
.profile-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.profile-tab {
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    position: relative;
}
.profile-tab:hover {
    color: #000;
}
.profile-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.tab-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    margin-left: 0.35rem;
    font-weight: 700;
}

/* Tab Content */
.profile-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}
.profile-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-card {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.profile-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

/* Mobile */
@media (max-width: 768px) {
    .profile-header {
        text-align: center;
        justify-content: center;
        padding: 1.5rem;
    }
    .profile-header-info h1 {
        font-size: 1.25rem;
    }
    .profile-stats {
        justify-content: center;
        width: 100%;
    }
    .profile-tab {
        padding: 0.6rem 0.9rem;
        font-size: 0.85rem;
    }
    .profile-card {
        padding: 1.25rem;
    }
}
/* ============================================================
   AVATAR WRAPPER (Profile Header)
   ============================================================ */
.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}
.avatar-change-btn {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    border: 2px solid #fff;
    padding: 0.25rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.avatar-change-btn:hover {
    background: var(--accent-dark);
    transform: translateX(-50%) translateY(-2px);
}

/* ============================================================
   AVATAR MODAL
   ============================================================ */
.avatar-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}
.avatar-modal-content {
    background: #fff;
    max-width: 420px;
    width: 100%;
    padding: 1.75rem;
    border-top: 5px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.avatar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}
.avatar-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}
.avatar-modal-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.avatar-modal-close:hover {
    color: #dc3545;
}
.avatar-current-preview {
    text-align: center;
    margin-bottom: 1.25rem;
}
.avatar-current-preview img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

/* ============================================================
   COMMENTS - AVATAR
   ============================================================ */
.comment-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #198754, #20c997);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    text-transform: uppercase;
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-meta {
    flex: 1;
    min-width: 0;
}
.comment-author {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.comment-level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.65rem;
}
.comment-stars {
    flex-shrink: 0;
}
.comment-text {
    padding-left: calc(42px + 0.75rem);
}

@media (max-width: 576px) {
    .avatar-modal-content {
        padding: 1.25rem;
    }
    .comment-text {
        padding-left: 0;
    }
    .comment-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}
/* ============================================================
   FLOATING FAVORITE BUTTON (Detail Page)
   ============================================================ */
.favorite-float-btn {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 100;
    background: #fff;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
}
.favorite-float-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
}
.favorite-float-btn.active {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
.favorite-float-btn.active:hover {
    background: #bb2d3b;
    border-color: #bb2d3b;
}
.favorite-float-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
.favorite-float-btn i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

/* Mobile */
@media (max-width: 991.98px) {
    .favorite-float-btn {
        top: auto;
        bottom: 20px;
        right: 20px;
        padding: 0.85rem 1.1rem;
    }
}
@media (max-width: 576px) {
    .favorite-float-btn .fav-label {
        display: none;
    }
    .favorite-float-btn {
        padding: 0.85rem;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
    .favorite-float-btn i {
        font-size: 1.4rem;
    }
}

/* ============================================================
   FAVORITE CARDS (Profile Page)
   ============================================================ */
.favorite-card {
    background: #fff;
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}
.favorite-card:hover {
    border-color: var(--accent);
}
.favorite-card-img {
    display: block;
    overflow: hidden;
}
.favorite-card-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.favorite-card:hover .favorite-card-img img {
    transform: scale(1.05);
}
.favorite-card-body {
    padding: 0.85rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.favorite-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.favorite-card-title:hover {
    color: var(--accent);
}
.favorite-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.favorite-card-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
/* ============================================================
   INLINE FAVORITE BUTTON (Detail Page Title Row)
   ============================================================ */
.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.title-row .page-title {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.favorite-inline-btn {
    background: transparent;
    color: #dc3545;
    border: 1.5px solid #dc3545;
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    align-self: flex-start;
}
.favorite-inline-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25);
}
.favorite-inline-btn.active {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
.favorite-inline-btn.active:hover {
    background: #bb2d3b;
    border-color: #bb2d3b;
}
.favorite-inline-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
.favorite-inline-btn i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

/* Mobile */
@media (max-width: 576px) {
    .title-row {
        flex-direction: column;
        align-items: stretch;
    }
    .favorite-inline-btn {
        align-self: flex-start;
        width: auto;
    }
}
/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notification-item {
    position: relative;
    list-style: none;
}
.notification-btn {
    background: transparent;
    border: none;
    color: #adb5bd !important;
    font-size: 1.1rem;
    padding: 0.5rem 0.75rem !important;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.notification-btn:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
}
.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--bg-header);
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.75rem;
    width: 340px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
}
.notification-dropdown.show {
    display: block;
    animation: notifSlide 0.25s ease;
}
@keyframes notifSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f3f5;
    background: #f8f9fa;
}
.notification-header strong {
    font-size: 0.9rem;
    color: #000;
}
.mark-all-read {
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.mark-all-read:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}
.notification-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
}

.notification-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.15s ease;
    position: relative;
}
.notification-item:hover {
    background: #f8f9fa;
}
.notification-item.unread {
    background: #e7f5ec;
}
.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}
.notification-item.unread:hover {
    background: #d8efe1;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #fff;
    background: #6c757d;
}
.notification-icon.badge { background: #ffc107; color: #000; }
.notification-icon.comment { background: #198754; }
.notification-icon.reply { background: #0d6efd; }
.notification-icon.favorite { background: #dc3545; }
.notification-icon.system { background: #6f42c1; }

.notification-content {
    flex: 1;
    min-width: 0;
}
.notification-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.15rem;
    line-height: 1.3;
}
.notification-message {
    font-size: 0.8rem;
    color: #495057;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notification-time {
    font-size: 0.72rem;
    color: #adb5bd;
}

.notification-footer {
    padding: 0.65rem 1rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #f1f3f5;
}
.notification-footer a {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.notification-footer a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 991.98px) {
    .notification-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 70vh;
        margin-top: 0;
        border-top: 3px solid var(--accent);
    }
    .notification-list {
        max-height: 50vh;
    }
}
/* ============================================================
   BADGES (Profile Tab)
   ============================================================ */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.badge-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    transition: all 0.2s ease;
}
.badge-item.earned {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-left-color: var(--accent);
}
.badge-item.earned:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(25, 135, 84, 0.15);
}
.badge-item.locked {
    background: #f8f9fa;
    border-left-color: #dee2e6;
    opacity: 0.7;
}
.badge-item.locked:hover {
    opacity: 0.85;
}

.badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 2px solid;
    position: relative;
}
.badge-lock {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #6c757d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    border: 2px solid #fff;
}

.badge-info {
    flex: 1;
    min-width: 0;
}
.badge-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.15rem;
}
.badge-item.locked .badge-name {
    color: #6c757d;
}
.badge-desc {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}
.badge-earned-at {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
}
.badge-locked-at {
    font-size: 0.72rem;
    color: #adb5bd;
    font-weight: 600;
}

@media (max-width: 576px) {
    .badges-grid {
        grid-template-columns: 1fr;
    }
    .badge-item {
        padding: 0.85rem;
    }
    .badge-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}