/* ═══════════════════════════════════════════════════════
   Ituika — Global Layout + Landing Page Styles
   Green / Black / White Theme
   ═══════════════════════════════════════════════════════ */

:root {
    --green:       #16a34a;
    --green-dark:  #15803d;
    --green-deeper:#14532d;
    --green-light: #dcfce7;
    --green-xlight:#f0fdf4;
    --black:       #111827;
    --gray:        #4b5563;
    --gray-mid:    #9ca3af;
    --gray-light:  #e5e7eb;
    --white:       #ffffff;
    --shadow:      0 4px 24px rgba(0,0,0,.10);
    --shadow-lg:   0 8px 40px rgba(0,0,0,.16);
    --radius:      12px;
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--black);
    line-height: 1.6;
    background: var(--green-xlight);
    margin: 0;
}

/* ══════════════════════════════════════════
   HEADER / NAV  (used on every page)
══════════════════════════════════════════ */
header {
    background: linear-gradient(135deg, var(--black) 0%, #1a2e1a 100%);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: .875rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.logo {
    font-size: 1.95rem;
    font-weight: 700;
    color: #4ade80;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .2s;
}
.logo:hover { transform: scale(1.05); }

/* Nav links */
.nav-menu {
    display: flex;
    gap: .2rem;
    align-items: center;
    flex-wrap: nowrap;
}
.nav-menu a {
    color: #d1fae5;
    text-decoration: none;
    padding: .4rem .8rem;
    border-radius: 7px;
    transition: background .2s, color .2s;
    font-weight: 500;
    font-size: .875rem;
    white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.nav-active {
    background: rgba(34,197,94,.2);
    color: #4ade80;
}

/* More dropdown */
.nav-more { position: relative; }
.nav-more-btn {
    color: #d1fae5;
    background: none;
    border: none;
    padding: .4rem .8rem;
    border-radius: 7px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    gap: .25rem;
}
.nav-more-btn:hover {
    background: rgba(34,197,94,.2);
    color: #4ade80;
}
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    background: #1a2e1a;
    border: 1px solid rgba(34,197,94,.2);
    border-radius: 10px;
    min-width: 170px;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    z-index: 999;
    overflow: hidden;
}
.nav-more:hover .nav-dropdown,
.nav-more:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
    display: block;
    padding: .55rem 1rem;
    color: #d1fae5;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    transition: background .15s;
}
.nav-dropdown a:hover {
    background: rgba(34,197,94,.15);
    color: #4ade80;
}

/* User menu */
.user-menu { flex-shrink: 0; }
.user-menu a {
    color: #d1fae5;
    text-decoration: none;
    font-weight: 500;
    font-size: .875rem;
    transition: color .2s;
}
.user-menu a:hover { color: #4ade80; }

/* ── Custom user dropdown ── */
.ud-wrap { position: relative; }

.ud-trigger {
    display: flex;
    align-items: center;
    gap: .45rem;
    background: rgba(34,197,94,.15);
    border: 2px solid rgba(34,197,94,.3);
    color: #d1fae5;
    padding: .35rem .75rem .35rem .45rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    white-space: nowrap;
}
.ud-trigger:hover,
.ud-open .ud-trigger {
    background: rgba(34,197,94,.25);
    border-color: rgba(34,197,94,.55);
}
.ud-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.25);
}
.ud-avatar--initial {
    background: #15803d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
}
.ud-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.ud-chevron { font-size: .7rem; opacity: .7; transition: transform .2s; }
.ud-open .ud-chevron { transform: rotate(180deg); }

.ud-menu {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    background: #1a2e1a;
    border: 1px solid rgba(34,197,94,.2);
    border-radius: 11px;
    min-width: 210px;
    box-shadow: 0 10px 36px rgba(0,0,0,.4);
    z-index: 1000;
    overflow: hidden;
    padding: .35rem 0;
}
.ud-open .ud-menu { display: block; }

.ud-item {
    display: block;
    width: 100%;
    padding: .55rem 1rem;
    color: #d1fae5;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
    line-height: 1.4;
}
.ud-item:hover { background: rgba(34,197,94,.15); color: #4ade80; }

.ud-divider {
    height: 1px;
    background: rgba(34,197,94,.12);
    margin: .3rem 0;
}

/* Admin item — amber highlight */
.ud-item--admin {
    color: #fbbf24;
    font-weight: 700;
}
.ud-item--admin:hover { background: rgba(251,191,36,.12); color: #fcd34d; }

/* Logout item — red tint */
.ud-item--logout { color: #fca5a5; }
.ud-item--logout:hover { background: rgba(239,68,68,.1); color: #f87171; }

/* ══════════════════════════════════════════
   MAIN + FOOTER  (used on every page)
══════════════════════════════════════════ */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
footer {
    background: var(--black);
    color: #d1fae5;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: .875rem;
    margin-top: 3rem;
}

/* ══════════════════════════════════════════
   ALERTS  (used on every page)
══════════════════════════════════════════ */
.alert {
    padding: .875rem 1.25rem;
    border-radius: 9px;
    margin-bottom: 1.25rem;
    font-size: .9rem;
}
.alert-success {
    background: #dcfce7;
    color: #14532d;
    border-left: 4px solid var(--green);
}
.alert-error {
    background: #fee2e2;
    color: #7f1d1d;
    border-left: 4px solid #ef4444;
}

/* ══════════════════════════════════════════
   RESPONSIVE NAV (desktop keeps as-is)
══════════════════════════════════════════ */
@media (max-width: 820px) {
    .header-container { flex-wrap: wrap; }
    .nav-menu { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 520px) {
    .nav-menu a, .nav-more-btn { font-size: .78rem; padding: .35rem .55rem; }
}

/* ════════════════════════════════════════════════════════
   MOBILE NAV — Facebook-style
   Hidden on desktop (>768px), shown on mobile (≤768px)
════════════════════════════════════════════════════════ */

/* ── Show/hide per breakpoint ── */
.mob-topbar,
.mob-bottomnav,
.mob-search-overlay,
.mob-drawer,
.mob-drawer-backdrop { display: none; }

@media (max-width: 768px) {
    /* Hide desktop header */
    .desktop-header { display: none !important; }

    /* Show mobile elements */
    .mob-topbar              { display: flex; }
    .mob-bottomnav           { display: flex; }
    /* Drawer + backdrop: always in DOM on mobile, controlled by transform/opacity */
    .mob-drawer              { display: block; }
    .mob-drawer-backdrop     { display: block; }

    /* Push main content down (top bar) and up (bottom nav) */
    main {
        padding-top: calc(56px + .75rem);
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 12px) + 1rem);
    }
    footer { display: none; }
}

/* ── Mobile top bar ── */
.mob-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: linear-gradient(135deg, #111827 0%, #14532d 100%);
    align-items: center;
    padding: 0 .875rem;
    gap: .5rem;
    z-index: 1100;
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.mob-logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: #4ade80;
    text-decoration: none;
    flex-shrink: 0;
    letter-spacing: -.01em;
}
.mob-search-trigger {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    padding: .45rem .85rem;
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    cursor: pointer;
    margin: 0 .35rem;
    text-align: left;
    font-family: inherit;
    transition: background .15s;
}
.mob-search-trigger:active { background: rgba(255,255,255,.16); }
.mob-topbar-right {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-shrink: 0;
}
.mob-icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1fae5;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
    padding: 0;
}
.mob-icon-btn:active { background: rgba(255,255,255,.2); }
.mob-avatar-btn { padding: 2px; background: rgba(34,197,94,.2); border: 2px solid rgba(34,197,94,.5); }
.mob-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.mob-avatar--init {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #15803d;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Bottom tab bar ── */
.mob-bottomnav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #111827;
    border-top: 1px solid rgba(34,197,94,.18);
    align-items: stretch;
    z-index: 1100;
    transition: transform .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 -4px 20px rgba(0,0,0,.35);
}
.mob-bottomnav--hidden { transform: translateY(100%); }
.mob-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    color: #6b7280;
    text-decoration: none;
    font-size: .65rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: .4rem 0;
    transition: color .15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-tab:active { background: rgba(34,197,94,.08); }
.mob-tab--active { color: #4ade80; }
.mob-tab--active svg { filter: drop-shadow(0 0 4px rgba(74,222,128,.4)); }
.mob-tab-menu { color: #9ca3af; }
.mob-tab span { line-height: 1; }

/* ── Search overlay ── */
.mob-search-overlay {
    position: fixed;
    inset: 0;
    background: #111827;
    z-index: 1200;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.mob-search-overlay.open {
    display: flex;
    transform: translateY(0);
}
.mob-search-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem .875rem;
    padding-top: calc(.75rem + env(safe-area-inset-top, 0px));
    background: #1a2e1a;
    border-bottom: 1px solid rgba(34,197,94,.15);
    flex-shrink: 0;
}
.mob-search-back {
    background: none;
    border: none;
    color: #4ade80;
    cursor: pointer;
    padding: .25rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.mob-search-input {
    flex: 1;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 22px;
    padding: .6rem 1rem;
    font-size: 1rem;
    color: #fff;
    font-family: inherit;
    outline: none;
}
.mob-search-input::placeholder { color: rgba(255,255,255,.4); }
.mob-search-go {
    background: #16a34a;
    border: none;
    border-radius: 50%;
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
.mob-search-results {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mob-search-hint {
    color: #6b7280;
    font-size: .88rem;
    text-align: center;
    padding: 2rem 1.5rem;
}
.mob-sr-section {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #4ade80;
    padding: .85rem 1rem .35rem;
}
.mob-sr-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .7rem 1rem;
    text-decoration: none;
    color: #fff;
    transition: background .15s;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.mob-sr-item:active { background: rgba(34,197,94,.1); }
.mob-sr-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.mob-sr-avatar-init {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #15803d;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mob-sr-thumb {
    width: 64px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #1a2e1a;
}
.mob-sr-thumb-ph {
    width: 64px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    background: #1a2e1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.mob-sr-title { font-size: .9rem; font-weight: 600; color: #f3f4f6; }
.mob-sr-sub   { font-size: .78rem; color: #9ca3af; margin-top: .1rem; }
.mob-sr-all {
    display: block;
    text-align: center;
    padding: 1rem;
    color: #4ade80;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    border-top: 1px solid rgba(34,197,94,.15);
    margin-top: .5rem;
}

/* ── Menu drawer ── */
.mob-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.mob-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}
.mob-drawer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #111827;
    border-radius: 20px 20px 0 0;
    z-index: 1300;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    padding-bottom: env(safe-area-inset-bottom, 16px);
}
.mob-drawer.open { transform: translateY(0); }
.mob-drawer-handle {
    width: 40px; height: 4px;
    background: rgba(255,255,255,.2);
    border-radius: 2px;
    margin: .75rem auto .5rem;
}
.mob-drawer-profile {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1.1rem 1rem;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: .25rem;
}
.mob-drawer-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(34,197,94,.4);
}
.mob-drawer-avatar--init {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #16a34a, #14532d);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(34,197,94,.4);
}
.mob-drawer-name { font-size: 1rem; font-weight: 700; color: #fff; }
.mob-drawer-handle-text { font-size: .8rem; color: #4ade80; margin-top: .1rem; }

.mob-drawer-section-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #4ade80;
    padding: .75rem 1.1rem .35rem;
}
.mob-drawer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    padding: .35rem .875rem .75rem;
}
.mob-drawer-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: .75rem .5rem;
    text-decoration: none;
    color: #d1fae5;
    font-size: .72rem;
    font-weight: 600;
    transition: background .15s;
    -webkit-tap-highlight-color: transparent;
}
.mob-drawer-tile span:first-child { font-size: 1.45rem; }
.mob-drawer-tile:active { background: rgba(34,197,94,.15); }

.mob-drawer-list { padding: .25rem 0 .5rem; }
.mob-drawer-list-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem 1.1rem;
    color: #d1fae5;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background .12s;
    -webkit-tap-highlight-color: transparent;
}
.mob-drawer-list-item:active { background: rgba(34,197,94,.1); }
.mob-drawer-logout { color: #fca5a5 !important; }
.mob-drawer-logout:active { background: rgba(239,68,68,.1) !important; }

/* ════════════════════════════════════════════════════════
   LANDING PAGE  (home page only — .lp-* namespace)
════════════════════════════════════════════════════════ */

.lp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.lp-container--narrow { max-width: 760px; }

.lp-section { padding: 5rem 0; }

/* Section titles */
.lp-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 2rem;
    line-height: 1.25;
}
.lp-section-title--center { text-align: center; }
.lp-section-title--light  { color: var(--white); }

/* Buttons */
.lp-btn-primary {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: .75rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.lp-btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }

.lp-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: .75rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.45);
    transition: border-color .2s, transform .15s;
}
.lp-btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

.lp-btn-green {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: .65rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: background .2s;
}
.lp-btn-green:hover { background: var(--green-dark); }

.lp-btn-action {
    display: inline-block;
    background: rgba(255,255,255,.12);
    color: var(--white);
    padding: .65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    transition: background .2s;
}
.lp-btn-action:hover { background: rgba(255,255,255,.22); }

/* Hero */
.lp-hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--green-deeper) 100%);
    position: relative;
    overflow: hidden;
}
.lp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
}
.lp-hero-brand {
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #86efac;
    margin-bottom: 1.25rem;
}
.lp-hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    margin: 0 0 1rem;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.lp-hero-tagline {
    font-size: clamp(.95rem, 2.2vw, 1.2rem);
    color: #d1fae5;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
    max-width: 600px;
}
.lp-hero-cta {
    display: flex;
    gap: .875rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.lp-hero-mountain {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}
.lp-hero-mountain svg { display: block; }

/* What is Ituika */
.lp-what { background: var(--white); }
.lp-what .lp-container { text-align: center; }
.lp-leaf-icon { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.lp-what .lp-section-title { font-size: 1.6rem; margin-bottom: 1.25rem; }
.lp-what-body {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: left;
}
.lp-what-body em { color: var(--green-dark); font-style: italic; font-weight: 600; }

/* Cultural Pillars */
.lp-pillars { background: var(--green-xlight); }
.lp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.lp-pillar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--green);
}
.lp-pillar-icon { font-size: 2rem; margin-bottom: .75rem; }
.lp-pillar-name { font-size: 1.1rem; font-weight: 800; color: var(--black); margin: 0 0 .75rem; }
.lp-pillar-desc { font-size: .875rem; color: var(--gray); line-height: 1.75; margin: 0; }
.lp-pillar-desc em { color: var(--green-dark); font-style: italic; font-weight: 600; }

/* The Nine Clans */
.lp-clans { background: var(--white); }
.lp-clans-sub {
    text-align: center;
    color: var(--gray);
    font-size: .925rem;
    margin: -1.25rem auto 2rem;
    max-width: 560px;
}
.lp-clans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}
.lp-clan-card {
    background: var(--green-xlight);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 1.1rem .875rem;
    text-align: center;
    transition: transform .15s, box-shadow .15s;
}
.lp-clan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lp-clan-name { font-size: .95rem; font-weight: 800; color: var(--black); margin-bottom: .3rem; }
.lp-clan-daughter { font-size: .78rem; color: var(--green-dark); font-style: italic; }

/* Stats */
.lp-stats {
    background: linear-gradient(135deg, var(--black) 0%, var(--green-deeper) 100%);
}
.lp-stats .lp-section-title { margin-bottom: 2.5rem; }
.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}
.lp-stat { text-align: center; }
.lp-stat-number {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #4ade80;
    line-height: 1;
    margin-bottom: .5rem;
}
.lp-stat-label {
    font-size: .875rem;
    color: #d1fae5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Recent Articles */
.lp-articles { background: var(--green-xlight); }
.lp-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.lp-article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform .15s, box-shadow .15s;
}
.lp-article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lp-article-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.lp-article-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--green-light);
}
.lp-article-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.lp-article-cat {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green-dark);
}
.lp-article-title { font-size: 1rem; font-weight: 700; color: var(--black); margin: 0; line-height: 1.4; }
.lp-article-excerpt { font-size: .85rem; color: var(--gray); margin: 0; flex: 1; line-height: 1.6; }
.lp-article-meta {
    display: flex;
    gap: .75rem;
    font-size: .75rem;
    color: var(--gray-mid);
    margin-top: .5rem;
}
.lp-empty { text-align: center; color: var(--gray-mid); font-size: .925rem; padding: 2rem; }

/* CTA */
.lp-cta {
    background: linear-gradient(135deg, var(--green-deeper) 0%, var(--black) 100%);
}
.lp-cta-inner { text-align: center; }
.lp-cta-title { font-size: 2rem; font-weight: 800; color: var(--white); margin: 0 0 1rem; }
.lp-cta-body {
    font-size: 1rem;
    color: #d1fae5;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2rem;
}
.lp-cta-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Landing page responsive */
@media (max-width: 640px) {
    .lp-section { padding: 3.5rem 0; }
    .lp-hero-inner { padding: 4rem 1rem 3.5rem; }
    .lp-clans-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-cta-title { font-size: 1.5rem; }
}
