/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --pink:       #ff2d55;
    --pink-dark:  #c9003a;
    --pink-light: #ff6b8a;
    --dark:       #0d0d0d;
    --dark2:      #1a1a2e;
    --dark3:      #16213e;
    --purple:     #7b2ff7;
    --gold:       #ffd700;
    --white:      #ffffff;
    --light-gray: #f8f8f8;
    --text-muted: #888;
    --border:     #e0e0e0;
    --radius:     12px;
    --shadow:     0 8px 30px rgba(0,0,0,.12);
    --font:       'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.5rem;
    background: rgba(13,13,13,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,45,85,.25);
    gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-logo img { height: 36px; }
.nav-logo span { font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: -.5px; }
.nav-logo span em { font-style: normal; color: var(--pink); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.nav-active { color: var(--pink); }
.nav-auth { display: flex; gap: .6rem; align-items: center; flex-shrink: 0; }

/* Hamburger button */
.nav-hamburger {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: none; border: none; cursor: pointer;
    padding: .4rem; border-radius: 8px; flex-shrink: 0;
}
.nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px;
    transition: all .25s;
}
.nav-hamburger:hover span { background: var(--pink); }

/* Mobile overlay */
.nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.55); z-index: 1100;
}
.nav-overlay.open { display: block; }

/* Mobile drawer */
.nav-drawer {
    position: fixed; top: 0; right: -100%; width: min(300px, 85vw);
    height: 100vh; background: var(--dark2);
    z-index: 1200; display: flex; flex-direction: column;
    transition: right .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.nav-drawer.open { right: 0; }

.nav-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.1);
    flex-shrink: 0;
}
.nav-drawer-logo { font-size: 1.15rem; font-weight: 700; color: #fff; }
.nav-drawer-logo em { color: var(--pink); font-style: normal; }
.nav-drawer-close {
    background: rgba(255,255,255,.1); border: none; color: #fff;
    width: 34px; height: 34px; border-radius: 8px; font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav-drawer-close:hover { background: rgba(255,45,85,.3); }

.nav-drawer-links {
    list-style: none; padding: .8rem 0; flex: 1;
}
.nav-drawer-links li a {
    display: block; padding: .9rem 1.5rem;
    color: rgba(255,255,255,.75); font-size: 1rem; font-weight: 500;
    border-left: 3px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
}
.nav-drawer-links li a:hover,
.nav-drawer-links li a.nav-drawer-active {
    background: rgba(255,45,85,.1); color: #fff; border-left-color: var(--pink);
}

.nav-drawer-auth {
    padding: 1.2rem 1.4rem; border-top: 1px solid rgba(255,255,255,.1); flex-shrink: 0;
}

/* ─── Account layout ─────────────────────────────────────────────────────────── */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}
.account-sidebar {
    background: #fff; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    padding: 2rem 1.5rem; height: fit-content;
}
.profile-avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--pink); }
.profile-avatar-placeholder {
    width: 90px; height: 90px; border-radius: 50%;
    background: linear-gradient(135deg,var(--pink),var(--purple));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fff; margin: 0 auto;
}
.account-nav { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .3rem; }
.account-nav a {
    display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem;
    border-radius: 10px; color: #555; font-size: .93rem; font-weight: 500; transition: all .2s;
}
.account-nav a:hover, .account-nav a.active { background: rgba(255,45,85,.08); color: var(--pink); }
.account-nav a .icon { font-size: 1.1rem; width: 20px; text-align: center; }
.account-main { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.07); overflow: hidden; }
.info-card-header {
    padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
}
.info-card-header h3 { font-size: 1rem; font-weight: 700; }
.info-card-body { padding: 1.5rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-item label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #aaa; display: block; margin-bottom: .2rem; }
.info-item span { font-size: .95rem; font-weight: 500; color: var(--dark); }
.media-grid { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.media-grid img { width: 120px; height: 100px; object-fit: cover; border-radius: 10px; border: 2px solid var(--border); }
.media-grid video { width: 200px; border-radius: 10px; border: 2px solid var(--border); }

/* ─── Member Cards (search / showcase) ──────────────────────────────────────── */
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 1.8rem; }
.member-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07); border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.member-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.13); }
.member-photo {
    width: 100%; height: 220px; object-fit: cover; display: block;
}
.member-photo-placeholder {
    width: 100%; height: 220px; background: linear-gradient(135deg,var(--pink),var(--purple));
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: #fff;
}
.member-body { padding: 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.member-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.member-meta { font-size: .83rem; color: var(--text-muted); display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.member-meta span { display: flex; align-items: center; gap: .25rem; }
.member-footer { padding: .9rem 1.3rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; }

/* Search filters */
.search-bar {
    background: #fff; border-radius: 14px; padding: 1.4rem 1.6rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.07); margin-bottom: 2rem;
    display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end;
}
.search-bar .form-group { margin: 0; flex: 1; min-width: 180px; }
.search-bar label { font-size: .8rem; font-weight: 700; text-transform: uppercase;
                    letter-spacing: .05em; color: var(--text-muted); margin-bottom: .35rem; display: block; }
.search-bar .btn { align-self: flex-end; height: 44px; }

/* Showcase badge */
.showcase-badge {
    position: absolute; top: .8rem; left: .8rem; z-index: 2;
    background: linear-gradient(135deg,#ffd700,#ff9500);
    color: #000; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
    text-transform: uppercase; padding: .3rem .7rem; border-radius: 50px;
    box-shadow: 0 2px 8px rgba(255,149,0,.4);
}
.member-card-wrap { position: relative; }

/* Profile detail page */
.profile-page { max-width: 800px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.profile-hero-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.1); margin-bottom: 1.5rem;
}
.profile-cover {
    height: 220px; background: linear-gradient(135deg,var(--pink),var(--purple));
    position: relative; overflow: hidden;
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-wrap {
    position: absolute; bottom: -46px; left: 2rem;
    width: 92px; height: 92px; border-radius: 50%;
    border: 4px solid #fff; overflow: hidden; background: var(--dark);
}
.profile-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-wrap .initial {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: #fff;
    background: linear-gradient(135deg,var(--pink),var(--purple));
}
.profile-info { padding: 3.8rem 2rem 2rem; }
.profile-info h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: .2rem; }
.profile-info .sub { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.2rem; }
.profile-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.profile-tag {
    background: var(--light-gray); border: 1px solid var(--border);
    border-radius: 50px; padding: .3rem .85rem; font-size: .82rem; font-weight: 500;
}
.profile-section { background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.07);
                   padding: 1.6rem; margin-bottom: 1.2rem; }
.profile-section h3 { font-size: .85rem; font-weight: 700; text-transform: uppercase;
                       letter-spacing: .07em; color: var(--text-muted); margin-bottom: 1rem; }
.profile-photos { display: flex; gap: 1rem; flex-wrap: wrap; }
.profile-photos img { width: 180px; height: 140px; object-fit: cover; border-radius: 10px;
                      border: 2px solid var(--border); }
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.empty-state .icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.3rem; font-weight: 700; color: #555; margin-bottom: .5rem; }
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1.5rem;
       border-radius: 50px; font-weight: 600; font-size: .95rem; cursor: pointer;
       transition: all .25s; border: none; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,45,85,.4); }
.btn-outline { border: 2px solid var(--pink); color: var(--pink); background: transparent; }
.btn-outline:hover { background: var(--pink); color: #fff; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 50%, #0f3460 100%);
    position: relative; overflow: hidden; text-align: center; padding: 6rem 1.5rem 3rem;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,45,85,.18) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-badge {
    display: inline-block; background: rgba(255,45,85,.15); border: 1px solid rgba(255,45,85,.4);
    color: var(--pink-light); padding: .4rem 1.2rem; border-radius: 50px;
    font-size: .85rem; font-weight: 600; letter-spacing: .05em; margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; color: #fff;
           line-height: 1.15; margin-bottom: 1.2rem; }
.hero h1 span { color: var(--pink); }
.hero p { font-size: clamp(1rem, 2.5vw, 1.2rem); color: rgba(255,255,255,.72); max-width: 620px;
          margin: 0 auto 2.4rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
               color: rgba(255,255,255,.4); font-size: .8rem; letter-spacing: .1em;
               text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.hero-scroll::after { content: '↓'; font-size: 1.2rem; animation: bounce 1.5s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ─── Section commons ───────────────────────────────────────────────────────── */
section { padding: 5rem 1.5rem; }
.container { max-width: 1180px; margin: 0 auto; }
.section-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
                 color: var(--pink); margin-bottom: .6rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #FFF;
                 line-height: 1.2; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ─── How it Works ──────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; margin-top: 3rem; }
.step-card {
    background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    text-align: center; transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg,var(--pink),var(--purple));
            display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
            font-weight: 800; color: #fff; margin: 0 auto 1.2rem; }
.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { font-size: .92rem; color: var(--text-muted); }

/* ─── About / Mission ───────────────────────────────────────────────────────── */
.about-section { background: linear-gradient(135deg, var(--dark2), var(--dark3)); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text .section-title { color: #fff; }
.about-text .section-sub { color: rgba(255,255,255,.65); }
.about-text p { color: rgba(255,255,255,.72); margin-top: 1rem; font-size: 1rem; }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,45,85,.15);
                border: 1px solid rgba(255,45,85,.3); display: flex; align-items: center;
                justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.feature-item h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: .2rem; }
.feature-item p { font-size: .9rem; color: rgba(255,255,255,.6); }
.about-visual { display: flex; justify-content: center; }
.tiktok-mock {
    width: 260px; height: 460px; background: #000; border-radius: 28px;
    border: 3px solid rgba(255,45,85,.5); box-shadow: 0 0 60px rgba(255,45,85,.25);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1rem; color: #fff; position: relative; overflow: hidden;
}
.tiktok-mock::before { content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7) 100%); }
.tiktok-logo { font-size: 3.5rem; position: relative; z-index: 1; }
.tiktok-mock span { position: relative; z-index: 1; font-size: .9rem; color: rgba(255,255,255,.7);
                    text-align: center; padding: 0 1rem; }
.live-badge { position: absolute; top: 1.2rem; left: 1.2rem; background: var(--pink);
              color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .7rem;
              border-radius: 4px; letter-spacing: .05em; z-index: 2; }

/* ─── Stats ─────────────────────────────────────────────────────────────────── */
.stats-section { background: var(--light-gray); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 2rem; }
.stat-card { text-align: center; padding: 2rem 1rem; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--pink); line-height: 1; }
.stat-label { font-size: 1rem; color: var(--text-muted); margin-top: .4rem; }

/* ─── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    text-align: center; padding: 5rem 1.5rem;
}
.cta-section h2 { font-size: clamp(2rem,5vw,3rem); font-weight: 800; color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 500px; margin: 0 auto 2rem; }
.btn-white { background: #fff; color: var(--pink); font-weight: 700; }
.btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px);
                   box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
footer {
    background: var(--dark); color: rgba(255,255,255,.6);
    text-align: center; padding: 2.5rem 1.5rem;
}
footer a { color: var(--pink); }

/* ─── Registration Page ─────────────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--dark2), var(--dark3));
    padding: 7rem 1.5rem 4rem; text-align: center;
}
.page-hero h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 800; color: #fff; }
.page-hero p { color: rgba(255,255,255,.7); margin-top: .8rem; font-size: 1.05rem; max-width: 540px; margin-inline: auto; }

.register-section { background: var(--light-gray); padding: 4rem 1.5rem 5rem; }
.register-card {
    max-width: 780px; margin: 0 auto; background: #fff;
    border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.1);
    overflow: hidden;
}
.register-header {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    padding: 2rem 2.5rem; text-align: center;
}
.register-header h2 { font-size: 1.6rem; font-weight: 700; color: #fff; }
.register-header p { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .4rem; }
.register-body { padding: 2.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--dark); }
.form-group label .req { color: var(--pink); }
.form-control {
    padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: 10px;
    font-size: .95rem; font-family: var(--font); color: var(--dark);
    background: #fff; transition: border-color .2s, box-shadow .2s;
    width: 100%;
}
.form-control:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,45,85,.1); }
textarea.form-control { resize: vertical; min-height: 90px; }
select.form-control { cursor: pointer; }

.upload-box {
    border: 2px dashed var(--border); border-radius: 10px; padding: 1.5rem;
    text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
    position: relative; overflow: hidden;
}
.upload-box:hover, .upload-box.dragover { border-color: var(--pink); background: rgba(255,45,85,.03); }
.upload-box input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { font-size: 2rem; margin-bottom: .4rem; }
.upload-box p { font-size: .88rem; color: var(--text-muted); }
.upload-box strong { color: var(--pink); }
.upload-preview { margin-top: .8rem; display: none; }
.upload-preview img, .upload-preview video { max-height: 160px; border-radius: 8px; margin: 0 auto; }

.upload-section-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 .8rem;
                         padding-bottom: .5rem; border-bottom: 2px solid var(--light-gray); }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.form-submit { margin-top: 2rem; text-align: center; }
.btn-submit {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff; padding: 1rem 3rem; font-size: 1.1rem; font-weight: 700;
    border-radius: 50px; border: none; cursor: pointer;
    transition: all .25s; box-shadow: 0 6px 20px rgba(255,45,85,.35);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,45,85,.45); }

.alert { padding: 1rem 1.4rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .95rem; font-weight: 500; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ─── Success Page ──────────────────────────────────────────────────────────── */
.success-wrap { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.success-card { background: #fff; border-radius: 20px; padding: 3.5rem 2.5rem; text-align: center;
                max-width: 520px; box-shadow: var(--shadow); }
.success-icon { font-size: 4rem; margin-bottom: 1.2rem; }
.success-card h2 { font-size: 1.9rem; font-weight: 800; color: var(--dark); margin-bottom: .8rem; }
.success-card p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ─── Admin Layout ───────────────────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }

/* Sidebar */
.admin-sidebar {
    background: var(--dark2); color: #fff;
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-logo { padding: 1.4rem 1.5rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar-logo span { font-size: 1.2rem; font-weight: 700; }
.sidebar-logo em { color: var(--pink); font-style: normal; }
.sidebar-logo small { display: block; color: rgba(255,255,255,.4); font-size: .75rem; margin-top: .2rem; }
.sidebar-nav { padding: 1rem 0; flex: 1; }
.sidebar-nav a {
    display: flex; align-items: center; gap: .8rem; padding: .8rem 1.5rem;
    color: rgba(255,255,255,.65); font-size: .93rem; font-weight: 500;
    transition: background .2s, color .2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,45,85,.12); color: #fff; border-left: 3px solid var(--pink);
}
.sidebar-nav a .icon { font-size: 1.1rem; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-footer a { color: rgba(255,255,255,.4); font-size: .85rem; }

/* Mobile sidebar drawer */
.admin-mobile-bar {
    display: none;
    background: var(--dark2); color: #fff;
    padding: .85rem 1.2rem;
    align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-mobile-bar .logo-text { font-size: 1.1rem; font-weight: 700; }
.admin-mobile-bar .logo-text em { color: var(--pink); font-style: normal; }
.hamburger-btn {
    background: rgba(255,255,255,.1); border: none; color: #fff;
    width: 40px; height: 40px; border-radius: 8px;
    font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.hamburger-btn:hover { background: rgba(255,45,85,.25); }

/* Drawer overlay */
.drawer-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 300;
}
.drawer-overlay.open { display: block; }

/* Drawer panel */
.admin-drawer {
    position: fixed; top: 0; left: -280px; width: 270px; height: 100vh;
    background: var(--dark2); z-index: 400;
    display: flex; flex-direction: column;
    transition: left .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.admin-drawer.open { left: 0; }
.drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer-header .logo-text { font-size: 1.1rem; font-weight: 700; color: #fff; }
.drawer-header .logo-text em { color: var(--pink); font-style: normal; }
.drawer-close {
    background: rgba(255,255,255,.1); border: none; color: #fff;
    width: 34px; height: 34px; border-radius: 8px; font-size: 1.2rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.drawer-nav { padding: .8rem 0; flex: 1; }
.drawer-nav a {
    display: flex; align-items: center; gap: .8rem; padding: .85rem 1.4rem;
    color: rgba(255,255,255,.7); font-size: .95rem; font-weight: 500;
    transition: background .2s, color .2s;
}
.drawer-nav a:hover, .drawer-nav a.active {
    background: rgba(255,45,85,.12); color: #fff; border-left: 3px solid var(--pink);
}
.drawer-nav a .icon { font-size: 1.1rem; width: 22px; text-align: center; flex-shrink: 0; }
.drawer-footer { padding: 1rem 1.4rem; border-top: 1px solid rgba(255,255,255,.08); }
.drawer-footer a { color: rgba(255,255,255,.4); font-size: .85rem; display: flex; align-items: center; gap: .5rem; }

/* Main area */
.admin-main { background: #f4f5f7; min-width: 0; overflow: hidden; }
.admin-topbar {
    background: #fff; padding: 1rem 1.5rem; display: flex; align-items: center;
    justify-content: space-between; border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.admin-topbar h1 { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.admin-content { padding: 1.5rem; }

/* Stat cards */
.stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-mini { background: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem;
             box-shadow: 0 2px 10px rgba(0,0,0,.06); display: flex; align-items: center; gap: .9rem; }
.stat-mini-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
                  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-mini-icon.pink   { background: rgba(255,45,85,.1); }
.stat-mini-icon.green  { background: rgba(34,197,94,.1); }
.stat-mini-icon.blue   { background: rgba(59,130,246,.1); }
.stat-mini-icon.purple { background: rgba(123,47,247,.1); }
.stat-mini h3 { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.stat-mini p  { font-size: .78rem; color: var(--text-muted); margin-top: .2rem; }

/* Card / Table */
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,.06); overflow: hidden; }
.card-header { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border);
               display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.card-header h2 { font-size: 1rem; font-weight: 700; }
.card-body { padding: 0; }

/* Horizontal scroll wrapper for table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 900px; }
.data-table th { background: #f8f9fa; padding: .75rem .9rem; text-align: left;
                 font-size: .74rem; font-weight: 700; text-transform: uppercase;
                 letter-spacing: .06em; color: var(--text-muted); border-bottom: 1px solid var(--border);
                 white-space: nowrap; }
.data-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--border); vertical-align: middle;
                 white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafafa; }
.data-table .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.data-table .no-photo { width: 36px; height: 36px; border-radius: 50%; background: var(--light-gray);
                         display: flex; align-items: center; justify-content: center; font-size: .8rem; }

.badge { display: inline-block; padding: .25rem .65rem; border-radius: 50px; font-size: .73rem; font-weight: 600; }
.badge-pending   { background: #fff3cd; color: #856404; }
.badge-scheduled { background: #cce5ff; color: #004085; }
.badge-completed { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }

.action-btns { display: flex; gap: .35rem; }
.btn-sm { padding: .32rem .7rem; font-size: .76rem; border-radius: 6px; font-weight: 600;
          cursor: pointer; border: none; transition: all .2s; white-space: nowrap; }
.btn-view   { background: #e3f2fd; color: #1565c0; }
.btn-edit   { background: #e8f5e9; color: #2e7d32; }
.btn-delete { background: #ffebee; color: #c62828; }
.btn-view:hover   { background: #1565c0; color: #fff; }
.btn-edit:hover   { background: #2e7d32; color: #fff; }
.btn-delete:hover { background: #c62828; color: #fff; }

/* Filter Bar */
.filter-bar { display: flex; gap: .8rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.filter-bar input, .filter-bar select {
    padding: .55rem .9rem; border: 1.5px solid var(--border); border-radius: 8px;
    font-size: .88rem; font-family: var(--font);
}
.filter-bar input { flex: 1; min-width: 160px; }
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--pink); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9000;
                 display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 640px;
         max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border);
                display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 1.2rem; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted);
               line-height: 1; padding: .2rem; }
.modal-close:hover { color: var(--dark); }
.modal-body { padding: 1.5rem 2rem; }
.modal-footer { padding: 1rem 2rem; border-top: 1px solid var(--border); display: flex;
                gap: .8rem; justify-content: flex-end; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.detail-item label { font-size: .78rem; font-weight: 700; text-transform: uppercase;
                     letter-spacing: .06em; color: var(--text-muted); display: block; margin-bottom: .2rem; }
.detail-item span { font-size: .95rem; color: var(--dark); font-weight: 500; }
.detail-photos { display: flex; gap: 1rem; margin-top: .5rem; }
.detail-photos img { width: 120px; height: 100px; object-fit: cover; border-radius: 8px; }
.detail-video video { width: 100%; border-radius: 8px; margin-top: .5rem; }

/* Admin Login */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
              background: linear-gradient(135deg, var(--dark2), var(--dark3)); padding: 1.5rem; }
.login-card { background: #fff; border-radius: 20px; padding: 2.5rem 2rem; width: 100%; max-width: 400px;
              box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.login-card h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .4rem; }
.login-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.8rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */

/* ── Tablet / small desktop ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    /* Navbar: hide text links, show hamburger */
    .nav-links { display: none; }
    .nav-auth  { display: none; }
    .nav-hamburger { display: flex; }

    /* Hero */
    .hero { padding: 5rem 1.2rem 3rem; }
    .hero h1 { font-size: clamp(2rem,7vw,3rem); }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-visual { display: none; }

    /* Steps */
    .steps-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr 1fr; }

    /* Register */
    .upload-grid { grid-template-columns: 1fr 1fr; }

    /* Modals */
    .detail-grid { grid-template-columns: 1fr; }

    /* Profile detail photos */
    .profile-photos img { width: 140px; height: 110px; }

    /* Search bar */
    .search-bar { flex-direction: column; gap: .8rem; }
    .search-bar .form-group { min-width: 100%; }
    .search-bar .btn { width: 100%; justify-content: center; }

    /* Members grid */
    .members-grid { grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1.2rem; }

    /* Account pages */
    .account-layout { grid-template-columns: 1fr !important; padding: 1.2rem 1rem 3rem !important; }
    .account-sidebar { margin-bottom: 0; }
    .info-grid { grid-template-columns: 1fr 1fr; }

    /* Admin */
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-mobile-bar { display: flex; }
    .admin-topbar { display: none; }
    .admin-content { padding: 1rem; }
    .stats-cards { grid-template-columns: 1fr 1fr; gap: .8rem; }
    .stat-mini { padding: 1rem; }
    .stat-mini h3 { font-size: 1.3rem; }
    .card-header { flex-direction: column; align-items: flex-start; }
    .filter-bar { flex-direction: column; }
    .filter-bar input, .filter-bar select { width: 100%; }
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    /* Navbar */
    .navbar { padding: .75rem 1rem; }
    .nav-logo span { font-size: 1.15rem; }

    /* Hero */
    .hero { padding: 5rem 1rem 2.5rem; }
    .hero h1 { font-size: clamp(1.8rem,8vw,2.6rem); }
    .hero p  { font-size: .95rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 300px; justify-content: center; }

    /* Sections */
    section { padding: 3rem 1rem; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-number { font-size: 2.2rem; }
    .cta-section { padding: 3.5rem 1rem; }
    .cta-section h2 { font-size: 1.7rem; }

    /* Page hero */
    .page-hero { padding: 5.5rem 1rem 2.5rem; }
    .page-hero h1 { font-size: 1.8rem; }

    /* Register */
    .form-grid { grid-template-columns: 1fr; }
    .upload-grid { grid-template-columns: 1fr; }
    .register-body { padding: 1.2rem; }
    .register-header { padding: 1.4rem 1.2rem; }

    /* Members grid: 1 column on very small */
    .members-grid { grid-template-columns: 1fr; }
    .member-photo, .member-photo-placeholder { height: 200px; }

    /* Profile */
    .profile-page { padding: 1.2rem 1rem 3rem; }
    .profile-info { padding: 3.2rem 1.2rem 1.5rem; }
    .profile-info h1 { font-size: 1.35rem; }
    .profile-photos { flex-direction: column; }
    .profile-photos img { width: 100%; height: 180px; }
    .profile-section { padding: 1.2rem; }

    /* Contact */
    .contact-layout { grid-template-columns: 1fr !important; padding: 1.2rem 1rem 3rem !important; }

    /* Admin stats */
    .stats-cards { grid-template-columns: 1fr 1fr; }
    .stat-mini h3 { font-size: 1.2rem; }

    /* Modals */
    .modal { border-radius: 16px; }
    .modal-header, .modal-body, .modal-footer { padding: 1rem 1.2rem; }
}

/* ─── App Download Section ──────────────────────────────────────────────────── */
.app-download-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
}
.app-download-header { margin-bottom: 3rem; }

.app-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 1.8rem 2.4rem;
    min-width: 260px;
    max-width: 320px;
    flex: 1;
    cursor: pointer;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    backdrop-filter: blur(10px);
}
.app-card:hover {
    transform: translateY(-6px);
    border-color: var(--pink);
    box-shadow: 0 16px 40px rgba(255,45,85,.25);
}

.app-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.app-card-body {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.app-card-sub {
    font-size: .75rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.app-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.app-card-badge {
    display: inline-block;
    margin-top: .3rem;
    font-size: .7rem;
    font-weight: 600;
    background: rgba(255,45,85,.18);
    color: var(--pink-light);
    border: 1px solid rgba(255,45,85,.35);
    border-radius: 20px;
    padding: .15rem .6rem;
    width: fit-content;
}

.app-card-overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    z-index: 1;
}

@media (max-width: 600px) {
    .app-cards { flex-direction: column; align-items: center; }
    .app-card  { width: 100%; max-width: 340px; }
}

/* Android Coming Soon Modal */
.android-modal-backdrop {
    display: none;
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
.android-modal-backdrop.open {
    display: flex;
}
.android-modal {
    position: relative;
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem;
    max-width: 360px;
    width: 90%;
    text-align: center;
    animation: modalPop .25s ease;
}
@keyframes modalPop {
    from { transform: scale(.9); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}
.android-modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(255,255,255,.1); border: none; color: #fff;
    width: 32px; height: 32px; border-radius: 8px;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.android-modal-close:hover { background: rgba(255,45,85,.3); }
.android-modal-icon { margin: 0 auto 1.2rem; width: fit-content; }
.android-modal h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.android-modal p  { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.6; }
