/* RR Lounge — Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --black:      #0A0A0A;
    --deep:       #111111;
    --surface:    #161616;
    --card:       #1C1C1C;
    --border:     #2A2A2A;
    --border-mid: #333333;
    --gold:       #C9A96E;
    --gold-light: #E2C898;
    --gold-dim:   #8B6F47;
    --red:        #8B1A1A;
    --red-rich:   #A82020;
    --white:      #F5F0E8;
    --muted:      #888880;
    --subtle:     #555550;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', sans-serif;
    --radius:     2px;
    --radius-md:  4px;
    --sidebar-w:  260px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--white);
}
h1 { font-size: clamp(1.8rem, 5vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.4rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1rem; }

.display-italic { font-style: italic; color: var(--gold); }

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.75rem;
}

/* ── Gold divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.divider::after { background: linear-gradient(90deg, var(--gold-dim), transparent); }
.divider-icon { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.3em; white-space: nowrap; }
.section-divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: var(--radius);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-gold  { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--black); }
.btn-outline { background: transparent; border-color: var(--gold-dim); color: var(--gold); }
.btn-outline:hover { background: rgba(201,169,110,0.08); border-color: var(--gold); }
.btn-ghost { background: transparent; border-color: var(--border-mid); color: var(--muted); }
.btn-ghost:hover { border-color: var(--subtle); color: var(--white); }
.btn-danger { background: transparent; border-color: var(--red); color: #E57373; }
.btn-danger:hover { background: rgba(139,26,26,0.15); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.6rem; }
.btn-full { width: 100%; }

/* ── Cards ── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; }
.card-gold-accent { border-top: 2px solid var(--gold); }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 0.5rem;
}
.form-control {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 0.8rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    /* Prevent zoom on iOS */
    font-size: max(16px, 0.9rem);
}
.form-control:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px rgba(201,169,110,0.08); }
.form-control::placeholder { color: var(--subtle); }
select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: 0.72rem; color: var(--subtle); margin-top: 0.35rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

/* Gender select */
.gender-select { display: flex; gap: 0.75rem; }
.gender-option { flex: 1; }
.gender-option input[type="radio"] { display: none; }
.gender-option label {
    display: block;
    padding: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.gender-option input:checked + label { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,0.06); }
.gender-option label:hover { border-color: var(--border-mid); color: var(--white); }

/* Upload zone */
.upload-zone {
    border: 1px dashed var(--border-mid);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--gold-dim); background: rgba(201,169,110,0.04); }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icon { font-size: 1.4rem; color: var(--gold-dim); margin-bottom: 0.4rem; }
.upload-label { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.upload-label span { color: var(--gold); }
.upload-preview { max-width: 100px; max-height: 100px; border-radius: var(--radius); margin-top: 0.6rem; object-fit: cover; }

/* Photo grid for 4-image upload */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.photo-slot {
    border: 1px dashed var(--border-mid);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.photo-slot:hover { border-color: var(--gold-dim); background: rgba(201,169,110,0.04); }
.photo-slot input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.photo-slot-num {
    width: 24px; height: 24px;
    border: 1px solid var(--border-mid);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--subtle);
    margin: 0 auto 0.4rem;
    transition: all 0.2s;
}
.photo-slot.has-image .photo-slot-num { background: rgba(201,169,110,0.1); border-color: var(--gold); color: var(--gold); }
.photo-slot-label { font-size: 0.68rem; color: var(--subtle); }
.photo-slot-preview { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); display: none; }

/* Toggle section */
.ig-toggle {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.ig-toggle-btn {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.ig-toggle-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,169,110,0.06); }

/* ── Badge / status ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.28rem 0.65rem;
    border-radius: 100px;
}
.badge-pending  { background: rgba(180,140,60,0.12); color: #C9A96E; border: 1px solid rgba(201,169,110,0.25); }
.badge-approved { background: rgba(40,100,60,0.15);  color: #6BBF8E; border: 1px solid rgba(107,191,142,0.25); }
.badge-rejected { background: rgba(139,26,26,0.15);  color: #E57373; border: 1px solid rgba(229,115,115,0.25); }
.badge-active   { background: rgba(40,100,60,0.12);  color: #6BBF8E; border: 1px solid rgba(107,191,142,0.2); }
.badge-closed   { background: rgba(80,80,80,0.15);   color: var(--muted); border: 1px solid var(--border); }

/* ── Tables ── */
.rr-table { width: 100%; border-collapse: collapse; }
.rr-table th {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dim);
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.rr-table td {
    padding: 0.9rem 1rem;
    font-size: 0.82rem;
    font-weight: 300;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.rr-table tr:last-child td { border-bottom: none; }
.rr-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Scrollable table wrapper on mobile */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Stats grid ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.stat-item { background: var(--card); padding: 1.5rem 1.25rem; }
.stat-value { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ── Alert ── */
.alert { padding: 0.85rem 1.1rem; border-radius: var(--radius); font-size: 0.82rem; margin-bottom: 1.25rem; border-left: 3px solid; }
.alert-success { background: rgba(40,100,60,0.1);   color: #6BBF8E; border-color: #6BBF8E; }
.alert-error   { background: rgba(139,26,26,0.1);   color: #E57373; border-color: #E57373; }
.alert-info    { background: rgba(201,169,110,0.08); color: var(--gold); border-color: var(--gold-dim); }

/* ── Thumb / avatar ── */
.thumb { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); flex-shrink: 0; }
.avatar-initials {
    width: 40px; height: 40px; border-radius: var(--radius);
    background: rgba(201,169,110,0.1); border: 1px solid rgba(201,169,110,0.2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1rem; color: var(--gold); flex-shrink: 0;
}

/* ── Detail grid ── */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.detail-item label {
    font-size: 0.58rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold-dim); display: block; margin-bottom: 0.3rem;
}
.detail-item p { font-size: 0.88rem; color: var(--white); }

/* ── Pagination ── */
.pagination { display: flex; gap: 0.5rem; align-items: center; margin-top: 1.25rem; flex-wrap: wrap; }
.page-link {
    padding: 0.42rem 0.8rem; font-size: 0.72rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--muted); text-decoration: none; transition: all 0.2s;
}
.page-link:hover { border-color: var(--gold-dim); color: var(--gold); }
.page-link.active { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 600; }

/* ═══════════════════════════════════
   ADMIN LAYOUT
═══════════════════════════════════ */
.admin-wrapper { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--deep);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: transform 0.3s ease;
}
.sidebar-brand { padding: 1.75rem 1.5rem; border-bottom: 1px solid var(--border); }
.sidebar-brand .logo-main { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.1em; color: var(--white); }
.sidebar-brand .logo-main span { color: var(--gold); }
.sidebar-brand .logo-sub { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }

.sidebar-nav { padding: 1.25rem 0; flex: 1; overflow-y: auto; }
.sidebar-section { font-size: 0.52rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--subtle); padding: 0.5rem 1.5rem; margin-bottom: 0.2rem; }
.sidebar-link {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.78rem; font-weight: 400;
    color: var(--muted); text-decoration: none;
    transition: all 0.2s;
    border-left: 2px solid transparent;
    -webkit-tap-highlight-color: transparent;
}
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.sidebar-link.active { color: var(--gold); border-left-color: var(--gold); background: rgba(201,169,110,0.05); }
.sidebar-link svg { width: 15px; height: 15px; opacity: 0.7; flex-shrink: 0; }
.sidebar-link.active svg { opacity: 1; }
.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); font-size: 0.72rem; color: var(--subtle); }

/* Mobile top bar */
.admin-topbar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: var(--deep);
    border-bottom: 1px solid var(--border);
    z-index: 150;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.25rem;
}
.topbar-logo { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.1em; }
.topbar-logo span { color: var(--gold); }
.hamburger {
    background: none; border: none; cursor: pointer;
    padding: 0.4rem; color: var(--white);
    display: flex; flex-direction: column; gap: 5px;
    -webkit-tap-highlight-color: transparent;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay when sidebar open on mobile */
.sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 190;
}
.sidebar-overlay.active { display: block; }

.admin-main { margin-left: var(--sidebar-w); flex: 1; padding: 2.5rem 2.5rem; min-height: 100vh; }
.page-header {
    margin-bottom: 2rem; padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.page-header h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 300; }
.page-header p { color: var(--muted); font-size: 0.82rem; margin-top: 0.2rem; }

/* ═══════════════════════════════════
   PUBLIC BOOKING PAGE
═══════════════════════════════════ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 6rem 1.5rem 5rem;
}
.hero-bg-layers {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 50% 40%, rgba(139,26,26,0.22) 0%, transparent 65%),
        radial-gradient(ellipse 40% 60% at 80% 60%, rgba(201,169,110,0.07) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 20% 70%, rgba(201,169,110,0.05) 0%, transparent 50%);
    pointer-events: none;
}
.hero-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(201,169,110,0.07);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}
.hero-date-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(201,169,110,0.06); border: 1px solid rgba(201,169,110,0.2);
    border-radius: 100px; padding: 0.45rem 1.1rem;
    font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
}
.hero-venue { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.hero-meta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.hero-meta-item { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.hero-meta-label { font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--subtle); }
.hero-meta-value { font-family: var(--font-display); font-size: 0.95rem; color: var(--white); }
.hero-meta-dot { color: var(--border-mid); font-size: 1.2rem; line-height: 1; }

.scroll-cue {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    animation: cue-bob 2s ease-in-out infinite;
}
.scroll-cue-text { font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--subtle); }
.scroll-cue-line { width: 1px; height: 30px; background: linear-gradient(to bottom, var(--gold-dim), transparent); }
@keyframes cue-bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(5px)} }

.form-section { max-width: 720px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2.5rem 2rem; }

/* ═══════════════════════════════════
   EVENTS LISTING (index.php)
═══════════════════════════════════ */
.events-page { min-height: 100svh; display: flex; flex-direction: column; }
.events-header { padding: 3.5rem 1.5rem 2rem; text-align: center; position: relative; }
.events-header::after { content:''; display:block; width:40px; height:1px; background:var(--gold-dim); margin:1.5rem auto 0; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--border); flex: 1; }
.event-card {
    background: var(--deep);
    padding: 2.5rem 2rem;
    display: flex; flex-direction: column;
    transition: background 0.2s;
    text-decoration: none; color: inherit;
}
.event-card:hover { background: var(--card); }
.event-card-date {
    font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.event-card-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: 0.75rem; }
.event-card-venue { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.event-card-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.event-card-meta-item { font-size: 0.72rem; color: var(--subtle); }
.event-card-meta-item strong { color: var(--white); display: block; font-weight: 400; }
.event-card-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold); margin-top: 1.5rem;
    transition: gap 0.2s;
}
.event-card:hover .event-card-cta { gap: 0.75rem; }

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

/* Tablet */
@media (max-width: 1024px) {
    :root { --sidebar-w: 240px; }
    .admin-main { padding: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile sidebar: hide, show topbar */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: 4px 0 30px rgba(0,0,0,0.5); }
    .admin-topbar { display: flex; }
    .admin-main { margin-left: 0; padding: 1.25rem; padding-top: calc(56px + 1.25rem); }
    .page-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .page-header .btn { width: 100%; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .rr-table th:nth-child(n+4),
    .rr-table td:nth-child(n+4) { display: none; }
    .form-card { padding: 1.5rem 1.1rem; }
    .hero { padding: 5rem 1.25rem 4rem; }
    .hero-ring { display: none; }
    .hero-meta { gap: 1rem; }
    .hero-meta-dot { display: none; }
    .form-section { padding: 2rem 1rem 4rem; }
    .gender-select { flex-direction: row; }
    .ig-toggle { flex-direction: row; }
    .events-grid { grid-template-columns: 1fr; }
}

/* Small mobile */
@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-meta { flex-direction: column; gap: 0.75rem; }
    .hero-meta-dot { display: none; }
    .btn { font-size: 0.62rem; padding: 0.8rem 1.25rem; }
    .form-card { padding: 1.25rem 1rem; }
}

/* Prevent iOS date input from being weird */
input[type="date"] { min-height: 44px; }
input[type="time"] { min-height: 44px; }

/* Touch-friendly tap targets */
@media (hover: none) {
    .btn { min-height: 44px; }
    .sidebar-link { min-height: 44px; }
    .form-control { min-height: 44px; }
}
