﻿:root {
    --bg: #0b141c;
    --panel: rgba(14, 23, 31, 0.82);
    --line: rgba(185, 149, 99, 0.22);
    --line-strong: rgba(212, 175, 55, 0.32);
    --gold: #d4af37;
    --gold-soft: #b99563;
    --text: #f5f1e8;
    --muted: #92a1b2;
    --muted-strong: #c7d0d9;
    --success: #67d091;
    --danger: #ff8b73;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    --container: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(64, 92, 120, 0.24), transparent 22%),
        linear-gradient(180deg, #091118 0%, #0b141c 35%, #0a1218 100%);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 85%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
    border: 1px solid var(--line); border-radius: 999px; background: rgba(11,20,28,0.64);
    color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
    box-shadow: 0 0 16px rgba(212,175,55,0.6);
}
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #0b141c;
    background: linear-gradient(135deg, #e7c76d 0%, var(--gold) 55%, #a78051 100%);
    box-shadow: 0 14px 30px rgba(167,128,81,0.24);
}
.btn-secondary {
    color: var(--text); background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1);
}
.btn-secondary:hover { border-color: var(--line-strong); background: rgba(212,175,55,0.08); }
.btn-discord { background: rgba(88,101,242,0.18); border-color: rgba(88,101,242,0.32); color: #dfe3ff; }
.site-header {
    position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(18px);
    background: rgba(8,14,20,0.72); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
    min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    border: 1px solid var(--line); background: linear-gradient(180deg, rgba(212,175,55,0.15), rgba(255,255,255,0.03));
    color: var(--gold); font-size: 18px;
}
.brand-copy strong {
    display: block; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
}
.brand-copy span {
    display: block; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted-strong); font-size: 14px; font-weight: 500; transition: color .25s ease; }
.nav a:hover, .nav a.active { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.user-chip {
    display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 10px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
}
.user-chip img { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); }
.section { padding: 96px 0; }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 24px; align-items: stretch;
}
.hero-main, .hero-side, .stat-card, .filter-bar, .role-section, .notice, .footer-wrap {
    border: 1px solid rgba(255,255,255,0.06); background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.hero-main {
    position: relative; overflow: hidden; border-radius: 34px; min-height: 540px; padding: 44px;
    background:
        linear-gradient(135deg, rgba(11,20,28,0.3), rgba(11,20,28,0.86)),
        url('https://images.ctfassets.net/wn7ipiv9ue5v/3bw4f0vEX9vfw0Fla0d4AD/7a3c8256c5bd20068281ffb88b3da7b4/GTAO_Standalone_Montage_16x9_V05_NO_LOGO__1_.jpg') center/cover no-repeat;
}
.hero-main::before {
    content: ""; position: absolute; inset: 18px; border: 1px solid rgba(212,175,55,0.18); border-radius: 24px; pointer-events: none;
}
.hero-top, .hero-bottom { position: relative; z-index: 1; }
.hero-top { display: flex; justify-content: space-between; gap: 18px; }
.hero-note { max-width: 250px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.hero-main h1 {
    margin-top: 28px; font-family: 'Cormorant Garamond', serif; font-size: clamp(3.8rem, 8vw, 6.2rem); line-height: 0.9; letter-spacing: -0.03em;
}
.hero-main h1 span { color: var(--gold); }
.hero-main p {
    margin-top: 20px; max-width: 620px; color: #d9e0e7; line-height: 1.9; font-size: 1.02rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-bottom {
    margin-top: 120px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.mini-card {
    padding: 18px 20px; border-radius: 18px; background: rgba(11,20,28,0.55); border: 1px solid rgba(255,255,255,0.08);
}
.mini-card strong {
    display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.mini-card span { display: block; margin-top: 8px; color: #d6dde5; line-height: 1.7; font-size: 14px; }
.hero-side {
    border-radius: 30px; padding: 22px; display: flex; flex-direction: column; gap: 18px;
}
.side-card {
    border-radius: 24px; padding: 24px;
    background:
        linear-gradient(180deg, rgba(11,20,28,0.42), rgba(11,20,28,0.92)),
        url('https://images.ctfassets.net/wn7ipiv9ue5v/NwgElAZU8ZdLmW6v7812Y/3d8a8eb721c109b12bbc2422ba8b4f68/3-4_GTA--Gen_9_Vista_Reshoot_CF__3___1_.jpg') center/cover no-repeat;
    border: 1px solid rgba(255,255,255,0.06);
}
.side-card h3 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }
.side-value { margin-top: 14px; font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; }
.side-card p { margin-top: 10px; color: var(--muted); line-height: 1.8; }
.side-list { display: grid; gap: 12px; margin-top: 18px; }
.side-item {
    display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 16px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
}
.side-item span:first-child { color: var(--muted-strong); }
.side-item strong { color: var(--gold); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.quick-link {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); transition: all .25s ease;
}
.quick-link:hover { transform: translateY(-2px); background: rgba(212,175,55,0.06); border-color: var(--line-strong); }
.quick-link strong { display: block; margin-bottom: 4px; }
.quick-link span { color: var(--muted); font-size: 14px; }
.quick-link i { color: var(--gold); }
.stats-grid {
    margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.stat-card { border-radius: 24px; padding: 24px; }
.stat-card .label {
    display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
}
.stat-card .label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.stat-card strong { display: block; margin-top: 16px; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.stat-card span { display: block; margin-top: 8px; color: var(--muted); line-height: 1.7; }
.section-head {
    display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px;
}
.section-copy h2 {
    font-family: 'Cormorant Garamond', serif; font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 0.95; margin: 14px 0 12px;
}
.section-copy p { max-width: 620px; color: var(--muted); line-height: 1.8; }
.filter-bar {
    border-radius: 26px; padding: 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.search-box { flex: 1; min-width: 260px; position: relative; }
.search-box input {
    width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px;
    padding: 15px 18px 15px 48px; color: var(--text); font-size: 15px; font-family: 'Outfit', sans-serif;
}
.search-box input:focus { outline: none; border-color: var(--line-strong); }
.search-box i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-pill {
    padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03); color: var(--muted-strong); font-size: 13px; font-weight: 700; cursor: pointer;
    transition: all .2s ease;
}
.filter-pill:hover, .filter-pill.active {
    border-color: var(--line-strong); background: rgba(212,175,55,0.08); color: var(--gold);
}
.result-count { margin-left: auto; color: var(--muted); font-size: 14px; }
.role-stack { display: grid; gap: 20px; }
.role-section { border-radius: 28px; overflow: hidden; }
.role-header {
    display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 28px; cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.role-title { display: flex; align-items: center; gap: 14px; }
.role-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.role-name { font-size: 1.15rem; font-weight: 700; }
.role-meta { color: var(--muted); font-size: 14px; }
.role-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: var(--muted-strong); font-size: 13px; font-weight: 700;
}
.role-toggle { transition: transform .25s ease; }
.role-section.collapsed .role-toggle { transform: rotate(-90deg); }
.members-grid {
    padding: 24px 28px 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px;
}
.role-section.collapsed .members-grid { display: none; }
.member-card {
    position: relative; border-radius: 24px; padding: 22px; overflow: hidden;
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); transition: all .25s ease;
}
.member-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--role-color, var(--gold));
}
.member-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: rgba(18,31,42,0.92); }
.member-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px;
}
.member-avatar {
    width: 68px; height: 68px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.08); object-fit: cover;
}
.presence {
    width: 14px; height: 14px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(103,208,145,0.12);
}
.member-name { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.member-tag, .member-id { color: var(--muted); font-size: 13px; line-height: 1.7; word-break: break-word; }
.member-actions { display: flex; gap: 10px; margin-top: 18px; }
.member-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px;
    border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255,255,255,0.08); cursor: pointer;
    background: rgba(255,255,255,0.03); color: var(--muted-strong); transition: all .2s ease;
}
.member-btn:hover { border-color: var(--line-strong); color: var(--gold); background: rgba(212,175,55,0.08); }
.member-btn.discord {
    background: rgba(88,101,242,0.16); border-color: rgba(88,101,242,0.24); color: #dfe3ff;
}
.member-btn.discord:hover { background: rgba(88,101,242,0.22); color: #fff; }
.notice { border-radius: 28px; padding: 28px; background: rgba(255,139,115,0.08); border-color: rgba(255,139,115,0.22); }
.notice h3 { color: var(--danger); font-size: 1.2rem; margin: 14px 0 10px; }
.notice p { color: var(--muted-strong); line-height: 1.85; }
.notice code {
    color: var(--gold); background: rgba(11,20,28,0.45); padding: 3px 8px; border-radius: 8px;
}
.footer { padding: 0 0 32px; }
.footer-wrap { border-radius: 32px; padding: 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-brand p, .footer-links a { color: var(--muted); line-height: 1.85; }
.footer-links h4 {
    margin-bottom: 14px; color: var(--gold-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 14px;
}
.toast {
    position: fixed; right: 24px; bottom: 24px; z-index: 1200;
    padding: 14px 18px; border-radius: 18px; background: rgba(14,23,31,0.95);
    border: 1px solid rgba(255,255,255,0.08); color: var(--text); box-shadow: var(--shadow);
    transform: translateY(30px); opacity: 0; pointer-events: none; transition: all .25s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
@media (max-width: 1100px) {
    .nav { display: none; }
    .hero-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .site-header .container, .section-head, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .header-actions { width: 100%; flex-wrap: wrap; }
    .header-actions .btn, .header-actions .user-chip { width: 100%; justify-content: center; }
    .hero-main, .hero-side, .filter-bar, .footer-wrap { padding-left: 22px; padding-right: 22px; }
    .hero-top { flex-direction: column; }
    .hero-bottom, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-main h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
    .members-grid { grid-template-columns: 1fr; padding: 22px; }
    .role-header { padding: 22px; }
    .member-actions { flex-direction: column; }
    .result-count { margin-left: 0; }
}
