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

:root {
    --bg-blue: #325870;
    --panel-blue: #2f566e;
    --navy: #1b3a50;
    --gold: #d9b330;
    --gold-dark: #c39b1f;
    --light-bg: #f0f2f5;
    --white: #fff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(21, 44, 59, 0.08);
    --shadow-lg: 0 12px 32px rgba(21, 44, 59, 0.14);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--light-bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ───────── LANDING: HERO ───────── */

.hero-clone {
    background: linear-gradient(170deg, #1b3a50 0%, #2d5a74 50%, #3a7291 100%);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    min-height: 640px;
    padding: 20px 0 32px;
    position: relative;
    overflow: hidden;
}

.hero-clone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 50% 20%, rgba(217, 179, 48, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Sun rays (conic gradient — natural light) ── */

.hero-rays {
    position: absolute;
    top: -280px;
    left: 50%;
    width: 900px;
    height: 900px;
    margin-left: -450px;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255, 240, 180, 0.07) 8deg,
        transparent 16deg,
        transparent 30deg,
        rgba(255, 240, 180, 0.05) 38deg,
        transparent 46deg,
        transparent 60deg,
        rgba(255, 240, 180, 0.06) 68deg,
        transparent 76deg,
        transparent 90deg,
        rgba(255, 240, 180, 0.07) 98deg,
        transparent 106deg,
        transparent 120deg,
        rgba(255, 240, 180, 0.05) 128deg,
        transparent 136deg,
        transparent 150deg,
        rgba(255, 240, 180, 0.06) 158deg,
        transparent 166deg,
        transparent 180deg,
        rgba(255, 240, 180, 0.07) 188deg,
        transparent 196deg,
        transparent 210deg,
        rgba(255, 240, 180, 0.05) 218deg,
        transparent 226deg,
        transparent 240deg,
        rgba(255, 240, 180, 0.06) 248deg,
        transparent 256deg,
        transparent 270deg,
        rgba(255, 240, 180, 0.07) 278deg,
        transparent 286deg,
        transparent 300deg,
        rgba(255, 240, 180, 0.05) 308deg,
        transparent 316deg,
        transparent 330deg,
        rgba(255, 240, 180, 0.06) 338deg,
        transparent 346deg,
        transparent 360deg
    );
    mask-image: radial-gradient(circle, white 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, white 10%, transparent 70%);
    filter: blur(12px);
    animation: rays-rotate 120s linear infinite;
}

@keyframes rays-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Warm sun glow */
.hero-sun-glow {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 240px;
    height: 240px;
    margin-left: -120px;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 230, 150, 0.15) 0%,
        rgba(255, 220, 120, 0.08) 30%,
        rgba(255, 210, 100, 0.03) 55%,
        transparent 70%
    );
    filter: blur(6px);
    animation: sun-pulse 6s ease-in-out infinite;
}

@keyframes sun-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.12); }
}

/* ── Ocean waves (large, prominent) ── */

.hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 140px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-waves svg {
    width: 200%;
    height: 100%;
    display: block;
}

.wave-1 {
    fill: rgba(255, 255, 255, 0.08);
    animation: wave-drift-1 7s ease-in-out infinite;
}

.wave-2 {
    fill: rgba(255, 255, 255, 0.06);
    animation: wave-drift-2 9s ease-in-out infinite;
}

.wave-3 {
    fill: rgba(240, 242, 245, 0.97);
    animation: wave-drift-3 11s ease-in-out infinite;
}

@keyframes wave-drift-1 {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(-20%); }
}
@keyframes wave-drift-2 {
    0%, 100% { transform: translateX(-10%); }
    50%      { transform: translateX(5%); }
}
@keyframes wave-drift-3 {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(-15%); }
}

.hero-inner {
    width: min(600px, calc(100vw - 40px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo { width: 280px; max-width: 85%; margin-top: 4px; }

.hero-views {
    color: rgba(255, 255, 255, 0.85);
    margin: 14px 0 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.search-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    margin: 4px 0 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-row:focus-within {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(217, 179, 48, 0.15);
}

.search-row input {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    padding: 13px 20px;
    outline: none;
}

.search-row input::placeholder { color: #94a3b8; }

.search-row button {
    border: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    min-width: 120px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: filter var(--transition);
}

.search-row button:hover { filter: brightness(1.08); }

/* ── Language dropdown (landing hero) ── */

.hero-lang-dropdown {
    align-self: flex-end;
    position: relative;
    margin-bottom: 10px;
    z-index: 10;
}

.hero-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 6px 14px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition);
}

.hero-lang-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-lang-toggle i {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform var(--transition);
}

.hero-lang-dropdown.open .hero-lang-toggle i {
    transform: rotate(180deg);
}

.hero-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    display: none;
    z-index: 20;
}

.hero-lang-dropdown.open .hero-lang-menu {
    display: block;
    animation: dropdown-in 0.15s ease-out;
}

.hero-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background-color var(--transition);
}

.hero-lang-option:hover {
    background: var(--light-bg);
    color: var(--text);
}

.hero-lang-option.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
}

@keyframes dropdown-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Actions grid (3 columns) */
.actions-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.action-item {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.action-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(217, 179, 48, 0.5);
    box-shadow: 0 8px 24px rgba(12, 38, 55, 0.3);
    color: #fff;
}

.action-item .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.action-item .icon-wrap i { color: #ffffff; font-size: 18px; line-height: 1; }

.action-item .label {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/* Coming soon badge */
.action-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1.3;
}

.action-item--soon {
    opacity: 0.7;
    cursor: default;
}

.action-item--soon:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

/* ───────── LANDING: LINK BARS ───────── */

.link-bars-wrap {
    background: var(--light-bg);
    padding: 20px 0 16px;
}

.link-bars {
    width: min(600px, calc(100vw - 40px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-bars a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #3a6b84 0%, #1f4a63 100%);
    transition: transform var(--transition), box-shadow var(--transition);
}

.link-bars a:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(31, 74, 99, 0.25);
}

.link-bars a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    line-height: 1;
    font-size: 15px;
}

.link-bars a:nth-child(1)::before { content: "\f002"; }
.link-bars a:nth-child(2)::before { content: "\f0c0"; }
.link-bars a:nth-child(3)::before { content: "\f05a"; }

/* ───────── LANDING: JOIN ───────── */

.join-clone {
    background: linear-gradient(170deg, #1b3a50 0%, #2a5268 100%);
    color: #fff;
    text-align: center;
    padding: 40px 20px 48px;
}

.join-clone h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.join-clone p {
    margin: 12px auto 20px;
    max-width: 320px;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.join-clone a {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.join-clone a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(195, 155, 31, 0.35);
}

/* ───────── LANDING: SOCIAL ───────── */

.social-section {
    background: var(--light-bg);
    padding: 32px 0 40px;
}

.social-section-inner {
    width: min(600px, calc(100vw - 40px));
    margin: 0 auto;
}

.social-section-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: var(--btn-color, #3a6b84);
    color: #fff;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    height: 52px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
    color: #fff;
}

.social-btn-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.social-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 16px;
    line-height: 1.2;
}

.social-btn-cta {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.social-btn-name {
    font-size: 0.95rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-clone { min-height: auto; padding: 16px 0 24px; }
    .hero-rays { width: 500px; height: 500px; top: -150px; margin-left: -250px; }
    .hero-sun-glow { width: 180px; height: 180px; margin-left: -90px; }
    .hero-waves { height: 90px; }
    .hero-logo { width: 200px; }
    .actions-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .action-item { padding: 12px 6px; gap: 6px; }
    .action-item .icon-wrap { width: 34px; height: 34px; border-radius: 10px; }
    .action-item .icon-wrap i { font-size: 15px; }
    .action-item .label { font-size: 10px; }
    .action-badge { font-size: 0.48rem; padding: 2px 4px; top: 4px; right: 4px; }
    .search-row input { font-size: 13px; padding: 11px 14px; }
    .search-row button { font-size: 12px; min-width: 90px; }
    .link-bars a { font-size: 12px; padding: 10px 12px; }
    .join-clone h2 { font-size: 24px; }
    .join-clone p { font-size: 13px; max-width: 240px; }
}

/* ═══════════════════════════════════
   APP LAYOUT (layouts.app)
   ═══════════════════════════════════ */

.app-page {
    min-height: 100vh;
    background: var(--light-bg);
}

.app-page #app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-navbar {
    background: linear-gradient(135deg, #1b3a50 0%, #2d5a74 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(16, 42, 59, 0.2);
}

.app-navbar-shell {
    min-height: 68px;
}

.app-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.app-brand .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.app-navbar .navbar-brand,
.app-navbar .nav-link,
.app-navbar .app-brand {
    color: #ffffff;
}

.app-navbar-collapse {
    margin-top: 0.2rem;
}

.app-nav-links {
    gap: 4px;
}

.app-nav-links .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background-color var(--transition), color var(--transition);
}

.app-nav-links .nav-link i {
    font-size: 0.78rem;
    opacity: 0.85;
}

.app-nav-links .nav-link.active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
    color: var(--gold);
}

.app-navbar-tools {
    gap: 8px;
}

/* ── Language dropdown (navbar) ── */

.nav-lang-dropdown {
    position: relative;
    z-index: 10;
}

.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 5px 12px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: background-color var(--transition);
}

.nav-lang-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.nav-lang-toggle i {
    opacity: 0.7;
    transition: transform var(--transition);
}

.nav-lang-dropdown.open .nav-lang-toggle i {
    transform: rotate(180deg);
}

.nav-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    display: none;
    z-index: 20;
}

.nav-lang-dropdown.open .nav-lang-menu {
    display: block;
    animation: dropdown-in 0.15s ease-out;
}

.nav-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color var(--transition);
}

.nav-lang-option:hover {
    background: var(--light-bg);
    color: var(--text);
}

.nav-lang-option.active {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
}

.app-admin-link {
    font-size: 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px !important;
    transition: background-color var(--transition);
}

.app-admin-link:hover {
    background: rgba(255, 255, 255, 0.16);
}

.app-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 7px 12px !important;
    background: rgba(255, 255, 255, 0.1);
}

.app-btn {
    border-radius: 999px;
    padding: 7px 18px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.app-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.app-btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.app-btn-solid {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 4px 12px rgba(195, 155, 31, 0.25);
}

.app-btn-solid:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(195, 155, 31, 0.35);
}

/* ───────── MAIN CONTENT AREA ───────── */

.app-main {
    position: relative;
    z-index: 1;
    flex: 1;
}

.app-main .container {
    width: min(960px, calc(100vw - 32px));
}

/* Page header area with gradient background */
.app-page-header {
    background: linear-gradient(170deg, #1b3a50 0%, #2d5a74 100%);
    padding: 40px 0 60px;
    margin-top: -16px;
}

.app-page-header .container {
    width: min(960px, calc(100vw - 32px));
}

.app-page-header h1 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 6px;
}

.app-page-header p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.95rem;
}

.app-page-body {
    margin-top: -36px;
    padding-bottom: 48px;
}

.app-page-body .container {
    width: min(960px, calc(100vw - 32px));
}

/* Legacy heading styles for pages not yet using the new header */
.app-main .container > h1,
.app-main .container > h2 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.app-main .container > p.lead {
    color: var(--text-muted);
}

/* ───────── CARDS ───────── */

.app-main .card,
.app-main .list-group-item,
.app-main .table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.app-main .card-header {
    background: linear-gradient(135deg, #3a6b84 0%, #2a5268 100%);
    color: #ffffff;
    font-weight: 600;
    border: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 14px 20px;
}

.app-main .card-body {
    padding: 20px;
}

.app-main form.card.card-body {
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ───────── FORMS ───────── */

.app-main .form-control,
.app-main .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.app-main .form-control:focus,
.app-main .form-select:focus {
    border-color: #5b95b1;
    box-shadow: 0 0 0 3px rgba(49, 92, 118, 0.1);
}

.app-main .form-label {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 6px;
}

/* ───────── BUTTONS ───────── */

.app-main .btn-primary,
.app-main .btn-warning {
    border: 0;
    color: #ffffff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 10px 24px;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.app-main .btn-primary:hover,
.app-main .btn-warning:hover {
    color: #ffffff;
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 6px 18px rgba(195, 155, 31, 0.3);
}

.app-main .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.45);
}

.app-main .btn-link {
    color: var(--panel-blue);
    font-weight: 500;
}

/* ───────── ALERTS ───────── */

.app-main .alert {
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

/* ───────── TABLES ───────── */

.app-main .table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.app-main .table thead th {
    background: #f8fafc;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 12px 16px;
}

.app-main .table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.app-main .table tbody tr:last-child td {
    border-bottom: 0;
}

.app-main .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(248, 250, 252, 0.5);
}

/* ───────── MEDIA PLACEHOLDER ───────── */

.app-main .ratio.bg-dark {
    background: linear-gradient(135deg, #1b3a50 0%, #2a5268 100%) !important;
}

/* ───────── PAGINATION ───────── */

.app-main .pagination {
    gap: 4px;
}

.app-main .page-link {
    border: 0;
    border-radius: 8px;
    color: var(--panel-blue);
    font-weight: 500;
    transition: all var(--transition);
}

.app-main .page-item.active .page-link {
    background: var(--panel-blue);
    color: #ffffff;
}

/* ═══════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════ */

.about-hero {
    text-align: center;
    margin-bottom: 32px;
}

.about-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text) !important;
    margin-bottom: 8px !important;
}

.about-hero .lead {
    font-size: 1.05rem;
    color: var(--text-muted) !important;
    max-width: 540px;
    margin: 0 auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.about-feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    color: #fff;
}

.about-feature-icon.blue { background: linear-gradient(135deg, #3a6b84 0%, #2a5268 100%); }
.about-feature-icon.gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); }
.about-feature-icon.teal { background: linear-gradient(135deg, #2a8a7a 0%, #1e6b5e 100%); }

.about-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.about-feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.about-steps {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 36px;
}

.about-steps h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px !important;
    text-align: center;
}

.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-step {
    text-align: center;
}

.about-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.about-step h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.about-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.about-cta {
    background: linear-gradient(135deg, #1b3a50 0%, #2d5a74 100%);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    color: #fff;
}

.about-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px !important;
    color: #fff !important;
}

.about-cta p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.about-cta .btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 36px;
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.about-cta .btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(195, 155, 31, 0.35);
}

@media (max-width: 768px) {
    .about-features { grid-template-columns: 1fr; }
    .about-steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-steps { padding: 24px 20px; }
    .about-cta { padding: 28px 20px; }
}

/* ═══════════════════════════════════
   SEARCH PAGE
   ═══════════════════════════════════ */

.search-form-wrap {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.search-form-wrap .input-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-form-wrap .form-control {
    border-right: 0;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.search-form-wrap .btn {
    padding: 12px 28px;
    font-weight: 600;
}

.search-result-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.search-result-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.search-result-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a6b84 0%, #2a5268 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.search-result-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.search-result-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.search-empty {
    text-align: center;
    padding: 48px 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.search-empty i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.search-empty p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ═══════════════════════════════════
   VIDEO MESSAGES
   ═══════════════════════════════════ */

.video-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.video-card-thumb {
    height: 160px;
    background: linear-gradient(135deg, #1b3a50 0%, #2d5a74 60%, #3a7291 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-thumb .play-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: transform var(--transition), background-color var(--transition);
}

.video-card:hover .play-icon {
    transform: scale(1.1);
    background: rgba(217, 179, 48, 0.5);
}

.video-card-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-card-body h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.video-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 12px;
}

.video-card-body a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--panel-blue);
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--transition);
}

.video-card-body a:hover { color: var(--gold); }
.video-card-body a::after { content: '\f35d'; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.75rem; }

/* ═══════════════════════════════════
   LIVE PAGE
   ═══════════════════════════════════ */

.live-container {
    max-width: 800px;
    margin: 0 auto;
}

.live-player-wrap {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.live-player {
    background: linear-gradient(135deg, #0f2a3d 0%, #1b3a50 50%, #2a5268 100%);
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 16px;
    position: relative;
}

.live-player-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217, 179, 48, 0.3); }
    50% { box-shadow: 0 0 0 20px rgba(217, 179, 48, 0); }
}

.live-player h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.live-player p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.live-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.live-info-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.live-info-card i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3a6b84 0%, #2a5268 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.live-info-card h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.live-info-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .live-info-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   ADMIN LAYOUT
   ═══════════════════════════════════ */

.admin-body {
    margin: 0;
    font-family: var(--font);
    background: var(--light-bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ── */

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1b3a50 0%, #162f42 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.admin-sidebar-brand .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.admin-sidebar-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.admin-sidebar-nav {
    padding: 12px 12px;
    flex: 1;
}

.admin-sidebar-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    padding: 16px 12px 8px;
}

.admin-sidebar-label:first-child { padding-top: 4px; }

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 2px;
}

.admin-sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.admin-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-sidebar-link.active {
    background: rgba(217, 179, 48, 0.15);
    color: var(--gold);
}

.admin-sidebar-link.active i {
    opacity: 1;
    color: var(--gold);
}

.admin-sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 4px;
}

.admin-sidebar-user i { font-size: 22px; opacity: 0.6; }

.admin-sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.admin-sidebar-user-role {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ── Main area ── */

.admin-main-wrap {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar-burger {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
}

.admin-topbar-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    flex: 1;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-topbar-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.admin-topbar-link:hover { color: var(--panel-blue); }

.admin-content {
    padding: 28px;
    flex: 1;
}

/* Mobile sidebar */
.admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-sidebar.open ~ .admin-sidebar-overlay { display: block; }
    .admin-main-wrap { margin-left: 0; }
    .admin-content { padding: 20px 16px; }
    .admin-topbar { padding: 12px 16px; }
}

/* ── Admin cards & widgets ── */

.admin-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.admin-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-card-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-card-header h3 i {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.admin-card-body { padding: 20px; }

/* Stat cards */
.admin-stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.admin-stat-icon.blue { background: linear-gradient(135deg, #3a6b84 0%, #2a5268 100%); }
.admin-stat-icon.gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); }
.admin-stat-icon.teal { background: linear-gradient(135deg, #2a8a7a 0%, #1e6b5e 100%); }
.admin-stat-icon.rose { background: linear-gradient(135deg, #c06070 0%, #a04858 100%); }

.admin-stat-card h4 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    color: var(--text);
}

.admin-stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

/* Admin tables */
.admin-card .table { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.admin-card .table thead th { background: #f8fafc; }
.admin-card .table tbody td { font-size: 0.88rem; }

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.status-new { background: #eff6ff; color: #2563eb; }
.status-badge.status-new::before { background: #2563eb; }
.status-badge.status-in_review { background: #fefce8; color: #a16207; }
.status-badge.status-in_review::before { background: #ca8a04; }
.status-badge.status-approved { background: #f0fdf4; color: #15803d; }
.status-badge.status-approved::before { background: #16a34a; }
.status-badge.status-rejected { background: #fef2f2; color: #b91c1c; }
.status-badge.status-rejected::before { background: #dc2626; }
.status-badge.status-active { background: #f0fdf4; color: #15803d; }
.status-badge.status-active::before { background: #16a34a; }
.status-badge.status-blocked { background: #fef2f2; color: #b91c1c; }
.status-badge.status-blocked::before { background: #dc2626; }

/* Empty state */
.admin-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.admin-empty i {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.3;
    display: block;
}

.admin-empty p { margin: 0; font-size: 0.9rem; }

/* Section divider */
.admin-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 16px;
}

.admin-section-title:first-child { margin-top: 0; }

.admin-section-title h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 !important;
    white-space: nowrap;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Quick links grid */
.admin-quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.admin-quick-link {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.admin-quick-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    border-color: var(--gold);
}

.admin-quick-link i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, #3a6b84 0%, #2a5268 100%);
}

.admin-quick-link span {
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .admin-quick-links { grid-template-columns: repeat(2, 1fr); }
}

/* Admin form cards */
.admin-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.admin-form-card .form-label {
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.admin-form-card .form-control,
.admin-form-card .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.88rem;
}

.admin-form-card .form-control:focus,
.admin-form-card .form-select:focus {
    border-color: #5b95b1;
    box-shadow: 0 0 0 3px rgba(49, 92, 118, 0.1);
}

.admin-form-card .btn-primary {
    border: 0;
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 8px 20px;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.admin-form-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(195, 155, 31, 0.3);
}

/* Social link cards in admin */
.admin-social-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all var(--transition);
}

.admin-social-card:hover { box-shadow: var(--shadow-lg); }

.admin-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.admin-social-card .form-control { font-size: 0.85rem; }

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */

.app-footer {
    background: linear-gradient(135deg, #1b3a50 0%, #15304a 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 28px;
    margin-top: auto;
}

.app-footer .container {
    width: min(960px, calc(100vw - 32px));
}

.app-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 28px;
}

.app-footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.app-footer-brand .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.app-footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 300px;
}

.app-footer h5 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
}

.app-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-footer-links li { margin-bottom: 8px; }

.app-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}

.app-footer-links a:hover { color: var(--gold); }

.app-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.app-footer-social {
    display: flex;
    gap: 12px;
}

.app-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition);
}

.app-footer-social a:hover {
    background: var(--gold);
    color: #fff;
}

@media (max-width: 768px) {
    .app-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .app-footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Landing footer */
.landing-footer {
    background: linear-gradient(135deg, #1b3a50 0%, #15304a 100%);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px 16px;
    font-size: 0.82rem;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.landing-footer a:hover { color: var(--gold); }

/* ═══════════════════════════════════
   RESPONSIVE — NAVBAR
   ═══════════════════════════════════ */

@media (max-width: 768px) {
    .app-navbar-shell {
        min-height: 58px;
    }

    .app-navbar-collapse {
        margin-top: 0.6rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .app-nav-links .nav-link {
        border-radius: var(--radius-sm);
    }

    .app-navbar-tools {
        align-items: stretch !important;
    }

    .nav-lang-dropdown {
        width: fit-content;
        margin: 0.2rem 0 0.1rem;
    }

    .app-admin-link,
    .app-user-toggle,
    .app-btn {
        width: fit-content;
    }

    .app-main .container,
    .app-page-header .container,
    .app-page-body .container {
        width: calc(100vw - 24px);
    }

    .app-main .container > h1,
    .app-main .container > h2 {
        font-size: 1.5rem;
    }
}
