/* ===== BOTED MVP — Design System ===== */
@font-face {
    font-family: 'Geomanist';
    src: url('fonts/geomanist-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Geomanist';
    src: url('fonts/geomanist-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Geomanist';
    src: url('fonts/geomanist-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary: #2E7A5E;
    --primary-dark: #1a4d3a;
    --primary-vibrant: #00E676;
    --bg-white: #FFFFFF;
    --bg-light: #f6f8f7;
    --bg-mint: #E8F2EE;
    --near-black: #1A1A1A;
    --text-main: #1A1A1A;
    --text-secondary: #5C5C5C;
    --text-gray: #6B7280;
    --border-light: #E8E8E8;
    --border-soft: #E5E7EB;
    --tag-bg: #F3F4F6;
    --message-user: #d4e6df;
    --logout-red: #EF4444;
    --success-green: #00C853;
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --font: 'Geomanist', system-ui, -apple-system, sans-serif;
    --font-display: 'Instrument Serif', Georgia, serif;
}

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

body {
    font-family: var(--font);
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
}

h1 {
    font-family: var(--font-display);
    font-weight: 400;
}

#app-frame {
    width: 430px;
    height: 932px;
    max-width: 100%;
    max-height: 100vh;
    background: var(--bg-white);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px),
(max-height: 932px) {

    html,
    body {
        width: 100vw;
        height: 100dvh;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: hidden;
        background: var(--bg-white);
        align-items: flex-start;
        justify-content: flex-start;
    }

    #app-frame {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
        /* Padding is now handled by internal components to preserve background colors */
    }

    #status-bar {
        display: none;
        /* Hide fake status bar on real mobile devices */
    }

    /* Consistent safe-area padding for ALL headers in standalone PWA */
    .app-header {
        padding-top: calc(16px + env(safe-area-inset-top)) !important;
    }

    .screen-header {
        padding-top: calc(12px + env(safe-area-inset-top)) !important;
    }

    .detail-hero-actions {
        top: calc(12px + env(safe-area-inset-top)) !important;
    }

    .create-header {
        padding-top: calc(12px + env(safe-area-inset-top)) !important;
    }

    .chat-header {
        padding-top: calc(12px + env(safe-area-inset-top)) !important;
    }
}

#status-bar {
    height: 54px;
    flex-shrink: 0;
}

#app-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===== Screen transitions ===== */
.screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .3s ease, transform .3s ease;
    height: 100%;
    overflow: hidden;
    /* Removed overflow-y: auto to prevent iOS scroll hijacking */
}

.screen.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    z-index: 1;
}

.screen.slide-out {
    opacity: 0;
    transform: translateX(-30px);
}

/* Hide scrollbar */
.screen::-webkit-scrollbar {
    display: none;
}

.screen {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== Onboarding screens ===== */
.onboarding-screen {
    background: var(--primary);
    color: white;
    text-align: center;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Horizontal slide container */
.onboarding-slides {
    flex: 1;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.onboarding-slides::-webkit-scrollbar {
    display: none;
}

.onboarding-slides {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.onboarding-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.onboarding-screen h1 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 12px;
    padding: 0 24px;
}

.onboarding-screen h1 span {
    opacity: 0.9;
}

.onboarding-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    align-self: stretch;
}

/* Robot glow circle */
.robot-circle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 48px;
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.15);
    position: relative;
}

.robot-circle .material-symbols-outlined {
    font-size: 96px;
    font-variation-settings: 'FILL' 1, 'wght' 300;
}

/* Orbit animation */
.orbit-container {
    width: 100%;
    height: 100%;
    min-height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.orbit-center {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 5;
    animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.orbit-center .material-symbols-outlined {
    font-size: 32px;
    color: var(--primary);
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring.r1 {
    width: 140px;
    height: 140px;
    animation: orbit 12s linear infinite;
}

.orbit-ring.r2 {
    width: 240px;
    height: 240px;
    animation: orbit 15s linear infinite reverse;
}

.orbit-ring.r3 {
    width: 340px;
    height: 340px;
    animation: orbit 20s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(4px);
}

.orbit-item .material-symbols-outlined {
    font-size: 24px;
}

.orbit-iso {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(0);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* Floating tags */
.floating-container {
    position: relative;
    height: 100%;
    min-height: 260px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ftag {
    position: absolute;
    background: white;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

.ftag-center {
    position: relative;
    font-size: 1.25rem;
    padding: 14px 28px;
    z-index: 20;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    animation: pulse-slow 4s ease-in-out infinite;
}

.ftag-1 {
    top: 25%;
    left: 2%;
    animation: float 6s ease-in-out infinite;
}

.ftag-2 {
    top: 18%;
    right: 2%;
    animation: float 6s ease-in-out 3s infinite;
}

.ftag-3 {
    bottom: 25%;
    left: 5%;
    animation: float 8s ease-in-out 1s infinite;
}

.ftag-4 {
    bottom: 20%;
    right: 2%;
    animation: float 6s ease-in-out infinite;
}

.ftag-5 {
    top: 8%;
    right: 12%;
    opacity: 0.9;
    transform: scale(0.85);
    animation: float 8s ease-in-out 1s infinite;
}

.ftag-6 {
    bottom: 10%;
    left: 25%;
    opacity: 0.9;
    transform: scale(0.85);
    animation: float 6s ease-in-out 3s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Dot indicators */
.dots {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.3s ease, background 0.3s ease;
}

.dot.active {
    width: 32px;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Onboarding buttons */
.onboarding-footer {
    width: 100%;
    padding-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.onboarding-desc {
    max-width: 320px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin-bottom: 24px;
    padding: 0 24px;
}

.btn-primary-white {
    width: 100%;
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 500;
    font-size: 18px;
    font-family: var(--font);
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.btn-primary-white:active {
    transform: scale(0.98);
}

.btn-text-white {
    background: none;
    border: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    font-family: var(--font);
    cursor: pointer;
    padding: 8px;
}

/* ===== Auth screens (Login / Register) ===== */
.auth-screen {
    padding: 0 24px calc(24px + env(safe-area-inset-bottom)) 24px;
    background: white;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.auth-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    margin: calc(env(safe-area-inset-top) + 16px) 0 8px;
}

.auth-back:hover {
    background: #f3f4f6;
}

.auth-header {
    text-align: center;
    margin-bottom: 48px;
}

.auth-header h1 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 12px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.input-field {
    width: 100%;
    height: 52px;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 0 24px;
    font-size: 15px;
    color: var(--text-main);
    outline: none;
    transition: all 0.2s;
    font-family: var(--font);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.input-field:focus {
    border-color: rgba(46, 122, 94, 0.5);
    box-shadow: 0 0 0 2px rgba(46, 122, 94, 0.15);
}

.input-field::placeholder {
    color: #9ca3af;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 8px;
    padding-right: 8px;
    text-decoration: none;
}

.btn-primary {
    width: 100%;
    height: 56px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 20px -2px rgba(46, 122, 94, 0.3);
    transition: all 0.2s;
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:hover {
    opacity: 0.95;
}

.divider-or {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 32px 0;
}

.divider-or::before,
.divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f3f4f6;
}

.divider-or span {
    padding: 0 12px;
    font-size: 12px;
    color: rgba(92, 92, 92, 0.7);
    font-weight: 500;
    background: white;
}

.social-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.social-btn:hover {
    transform: scale(1.05);
}

.social-btn:active {
    transform: scale(0.95);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-bottom: 8px;
}

.auth-footer p {
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

/* ===== Register step 2 ===== */
.form-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    display: block;
    margin-bottom: 12px;
}

.textarea-field {
    width: 100%;
    height: 140px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: white;
    padding: 16px;
    font-size: 15px;
    color: var(--text-main);
    outline: none;
    resize: none;
    font-family: var(--font);
    transition: all 0.2s;
}

.textarea-field:focus {
    border-color: rgba(46, 122, 94, 0.5);
    box-shadow: 0 0 0 2px rgba(46, 122, 94, 0.15);
}

.textarea-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.interest-tag {
    padding: 10px 20px;
    border-radius: 9999px;
    background: var(--tag-bg);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.interest-tag:hover {
    background: #e5e7eb;
}

.interest-tag.selected {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(46, 122, 94, 0.2);
}

.interest-tag.selected .material-symbols-outlined {
    font-size: 18px;
}

/* ===== Main app screens ===== */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top) 24px 16px 24px;
    padding-top: calc(16px + env(safe-area-inset-top));
}

.app-header h1 {
    font-family: var(--font);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--near-black);
    text-transform: lowercase;
}

.app-header h1::after {
    content: '.';
    color: var(--primary);
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: var(--near-black);
}

.notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid white;
}

/* Bottom nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #f3f4f6;
    padding: 12px 24px max(12px, env(safe-area-inset-bottom)) 24px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    font-family: var(--font);
    width: 72px;
}

.nav-item .material-symbols-outlined {
    font-size: 28px;
    transition: transform 0.2s;
}

.nav-item span:last-child {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item:hover .material-symbols-outlined {
    transform: scale(1.1);
}

/* Scrollable main area with nav padding */
.main-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px calc(180px + env(safe-area-inset-bottom));
}

.main-scroll::-webkit-scrollbar {
    display: none;
}

.main-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Cards */
.plan-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f3f4f6;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.plan-card-organizer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.plan-card-organizer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #f3f4f6;
}

.plan-card-organizer .org-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.plan-card-organizer .org-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--near-black);
}

.plan-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--near-black);
    margin-bottom: 4px;
}

.plan-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 24px;
}

.plan-card-meta .material-symbols-outlined {
    font-size: 18px;
}

.status-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;

}

/* ===== Venue-enhanced Plan Card ===== */
.plan-card-venue {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f3f4f6;
    margin-bottom: 24px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.plan-card-venue:active {
    transform: scale(0.98);
}

.plan-card-venue .venue-hero {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.plan-card-venue .venue-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-card-venue .venue-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.0) 60%);
}

.plan-card-venue .venue-hero-info {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.plan-card-venue .venue-hero-name {
    font-size: 14px;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-card-venue .venue-hero-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.plan-card-venue .partner-badge-hero {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 500;
    color: #fbbf24;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-card-venue .venue-card-body {
    padding: 16px 20px 20px;
}

.plan-card-venue .venue-card-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--near-black);
    margin-bottom: 4px;
}

.plan-card-venue .venue-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 16px;
}

.plan-card-venue .venue-card-meta .material-symbols-outlined {
    font-size: 16px;
}

.plan-card-venue .venue-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.plan-card-venue .venue-card-organizer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-card-venue .venue-card-organizer img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #f3f4f6;
}

.plan-card-venue .venue-card-organizer span {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    margin-left: -8px;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.avatar-stack-count {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    background: #f1f5f9;
    font-size: 9px;
    font-weight: 500;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
}

/* Hero image card */
.hero-card {
    width: 100%;
    height: 380px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f3f4f6;
    margin-bottom: 24px;
}

.hero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.hero-card:hover .hero-card-img {
    transform: scale(1.05);
}

.hero-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5), transparent);
}

.hero-card-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-card-icon .material-symbols-outlined {
    color: white;
    font-size: 24px;
}

.hero-card-content h3 {
    font-size: 28px;
    font-weight: 500;
    color: white;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hero-card-content .location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
}

/* FAB */
.fab-create {
    position: absolute;
    bottom: calc(96px + env(safe-area-inset-bottom));
    left: 24px;
    right: 24px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(46, 122, 94, 0.2);
    z-index: 20;
    transition: all 0.2s;
    font-family: var(--font);
}

.fab-create:active {
    transform: scale(0.95);
}

/* Tab bar */
.tab-bar {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 24px;
}

.tab-btn {
    padding-bottom: 8px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-family: var(--font);
}

.tab-btn.active {
    color: var(--primary);
    font-weight: 500;
    border-bottom-color: var(--primary);
}

/* Friend card */
.friend-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.friend-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.friend-avatar-wrap {
    position: relative;
}

.friend-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #f1f5f9;
}

.online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
}

.friend-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--near-black);
}

.friend-status {
    font-size: 12px;
    color: var(--text-gray);
}

.vibra-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(46, 122, 94, 0.1);
    color: var(--primary);
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-top: 4px;
}

.more-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
}

/* Notification card */
.notif-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.notif-card.success {
    background: #F9FFF9;
}

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon.success {
    background: rgba(0, 200, 83, 0.1);
    color: var(--success-green);
}

.notif-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.notif-text {
    font-size: 14px;
    color: var(--near-black);
    line-height: 1.4;
}

.notif-text b {
    font-weight: 500;
}

.notif-time {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.notif-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.notif-accept {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
}

.notif-reject {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
}

/* Chat */
.chat-header {
    display: flex;
    align-items: center;
    padding: env(safe-area-inset-top) 16px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.chat-title {
    flex: 1;
    text-align: center;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 500;
    color: var(--near-black);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chat-messages::-webkit-scrollbar {
    display: none;
}

.msg-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.msg-row.sent {
    justify-content: flex-end;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.msg-content {
    max-width: 75%;
}

.msg-name {
    font-size: 11px;
    font-weight: 500;
    color: rgba(46, 122, 94, 0.6);
    margin-bottom: 4px;
    margin-left: 4px;
}

.msg-row.sent .msg-name {
    text-align: right;
    margin-right: 4px;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.msg-bubble.received {
    background: white;
    border: 1px solid #e0e0e0;
    color: var(--near-black);
}

.msg-bubble.sent {
    background: var(--message-user);
    color: var(--near-black);
}

.chat-input-bar {
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: white;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.chat-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
}

.chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--near-black);
    outline: none;
    padding: 0 12px;
    font-family: var(--font);
}

.chat-input::placeholder {
    color: rgba(46, 122, 94, 0.4);
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-send:active {
    transform: scale(0.95);
}

/* Profile */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
}

.profile-avatar-wrap {
    position: relative;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.profile-verified {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.profile-verified .material-symbols-outlined {
    color: white;
    font-size: 14px;
}

.profile-name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 4px;
}

.profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.profile-edit-btn {
    margin-top: 16px;
    padding: 12px 32px;
    border-radius: 9999px;
    border: 1px solid var(--primary);
    background: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    font-family: var(--font);
}

.profile-edit-btn:hover {
    background: var(--primary);
    color: white;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.info-card-header .material-symbols-outlined {
    color: var(--primary);
}

.info-card-header h3 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-tag {
    padding: 8px 16px;
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.info-tag:hover {
    border-color: rgba(46, 122, 94, 0.2);
}

/* Settings */
.settings-group {
    margin-bottom: 24px;
}

.settings-group-title {
    padding: 0 8px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.settings-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.15s;
    background: none;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    font-family: var(--font);
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:hover {
    background: #f9fafb;
}

.settings-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-item-left .material-symbols-outlined {
    color: var(--primary);
}

.settings-item-left span:last-child {
    font-size: 14px;
    font-weight: 500;
    color: var(--near-black);
}

.settings-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-item-right .material-symbols-outlined {
    color: #9ca3af;
    font-size: 14px;
}

.settings-item-right .theme-text {
    font-size: 12px;
    color: var(--text-gray);
}

/* Toggle switch */
.toggle-wrap {
    position: relative;
    width: 40px;
    height: 20px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-input:checked+.toggle-slider {
    background: var(--primary);
}

.toggle-input:checked+.toggle-slider::before {
    transform: translateX(20px);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--logout-red);
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--font);
    margin: 32px auto 0;
}

.version-text {
    text-align: center;
    margin-top: 24px;
}

.version-text p:first-child {
    font-size: 12px;
    color: var(--text-gray);
}

.version-text p:last-child {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
}

/* Detail / Create screens */
.detail-hero {
    position: relative;
    height: 288px;
    flex-shrink: 0;
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.6) 100%);
}

.detail-hero-actions {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    left: 0;
    right: 0;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
}

.detail-hero-btn {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
}

.detail-body {
    flex: 1;
    background: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    margin-top: -40px;
    padding: 32px 24px 140px;
    position: relative;
    z-index: 2;
}

.detail-title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    color: var(--near-black);
    margin-bottom: 16px;
    line-height: 1.15;
}

.detail-host {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.detail-host img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.detail-host-name {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-host-role {
    font-size: 14px;
    color: #6b7280;
}

.detail-info-row {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    margin-bottom: 12px;
}

.detail-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.detail-info-icon .material-symbols-outlined,
.detail-info-icon .material-icons-round {
    color: var(--primary);
}

.detail-info-label {
    font-weight: 500;
    color: var(--near-black);
}

.detail-info-sub {
    font-size: 14px;
    color: #6b7280;
}

/* Post-plan modal */
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 16px;
}

.modal-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #f8fafc;
    width: 100%;
    max-width: 380px;
    overflow: hidden;
}

.modal-close {
    padding: 24px 16px 8px;
    display: flex;
    align-items: center;
}

.modal-close button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--near-black);
}

.modal-close h2 {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--near-black);
    padding-right: 24px;
}

.modal-body {
    padding: 32px;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(46, 122, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal-icon .material-symbols-outlined {
    font-size: 36px;
    color: var(--primary);
}

.modal-body h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
}

.stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.star-btn:hover {
    transform: scale(1.1);
}

.star-btn .material-symbols-outlined {
    font-size: 36px;
}

.star-btn.active {
    color: var(--primary);
}

.star-btn.active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

.star-btn.inactive {
    color: #cbd5e1;
}

.feedback-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.feedback-tag {
    padding: 6px 12px;
    background: rgba(46, 122, 94, 0.05);
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid rgba(46, 122, 94, 0.1);
}

/* Create plan */
.create-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top) 24px 16px;
}

.create-cancel {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    font-family: var(--font);
}

.create-title {
    font-family: var(--font);
    font-size: 20px;
    font-weight: 500;
}

.create-question {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    color: #9ca3af;
    text-align: center;
    margin: 16px 0 32px;
}

.date-time-row {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.dt-card {
    flex: 1;
    background: white;
    border-radius: 24px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.dt-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dt-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(46, 122, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.2s;
}

.dt-card:hover .dt-icon {
    background: var(--primary);
    color: white;
}

.dt-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 2px;
}

.dt-value {
    font-size: 13px;
    font-weight: 600; /* Bold */
    color: var(--near-black);
    display: block;
}

.search-input-wrap {
    position: relative;
    margin-bottom: 12px;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9ca3af;
}

.search-input {
    width: 100%;
    padding: 16px 16px 16px 56px;
    border-radius: 9999px;
    border: 1px solid var(--border-light);
    background: white;
    font-size: 16px;
    color: var(--near-black);
    outline: none;
    box-shadow: var(--shadow-soft);
    font-family: var(--font);
}

.search-input:focus {
    box-shadow: 0 0 0 2px rgba(46, 122, 94, 0.2);
}

.search-input::placeholder {
    color: #6b7280;
}

/* Privacy toggle boxes */
.privacy-row {
    display: flex;
    gap: 16px;
}

.privacy-card {
    flex: 1;
    padding: 16px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    background: white;
    font-family: var(--font);
}

.privacy-card.active {
    background: var(--primary);
    border-color: transparent;
}

.privacy-card .material-icons-round {
    font-size: 30px;
    color: var(--text-secondary);
}

.privacy-card.active .material-icons-round {
    color: white;
}

.privacy-card span:last-child {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.privacy-card.active span:last-child {
    color: white;
}

/* Fixed bottom button */
.fixed-bottom-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom)) 24px;
    background: linear-gradient(to top, white 60%, transparent);
    z-index: 20;
    pointer-events: none;
}

.fixed-bottom-btn button {
    pointer-events: auto;
}

/* Code box (Friends - Add) */
.code-box {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    text-align: center;
    margin-bottom: 24px;
}

.code-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(232, 242, 238, 0.5);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px dashed rgba(46, 122, 94, 0.3);
}

.code-value {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--primary);
}

.code-copy {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.code-hint {
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 16px;
    line-height: 1.6;
}

/* ===== Venue mini cards (horizontal scroll) ===== */
.venue-mini {
    min-width: 160px;
    max-width: 160px;
    background: white;
    border-radius: 14px;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    flex-shrink: 0;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.venue-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

/* ===== Venue cards ===== */
.venue-card {
    display: flex;
    gap: 16px;
    background: white;
    border-radius: 20px;
    padding: 12px;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.2s;
}

.venue-card:active {
    transform: scale(0.98);
}

.venue-img {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.venue-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.venue-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--near-black);
}

.venue-partner {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    font-weight: 500;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.venue-address {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.venue-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.venue-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--near-black);
}

.venue-perk {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 500;
}

/* ===== FAQ Accordion ===== */
.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--near-black);
    cursor: pointer;
    list-style: none;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: #9ca3af;
    font-size: 20px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-a {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

/* ===== Theme Selector ===== */
.theme-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 20px;
    padding: 16px 20px;
    border: 2px solid #f3f4f6;
    transition: all 0.2s;
}

.theme-option.active {
    border-color: var(--primary);
    background: rgba(46, 122, 94, 0.02);
}

.theme-radio {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.theme-radio.selected {
    border-color: var(--primary);
}

.theme-radio.selected::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

/* ===== Legal Sections ===== */
.legal-section {
    margin-bottom: 24px;
}

.legal-section h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--near-black);
    margin-bottom: 8px;
}

.legal-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

/* ===== Notification Actions ===== */
.notif-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.notif-accept {
    padding: 6px 16px;
    border-radius: 9999px;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font);
}

.notif-reject {
    padding: 6px 16px;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #64748b;
    border: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font);
}

/* ===== Modal Overlay ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 24px;
}

.modal-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-close button {
    background: none;
    border: none;
    color: var(--near-black);
    cursor: pointer;
    display: flex;
}

.modal-body {
    text-align: center;
}

/* ===== Interest Tags (expanded) ===== */
.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interest-tag {
    padding: 10px 18px;
    border-radius: 9999px;
    border: 1.5px solid #e2e8f0;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    transition: all 0.2s;
}

.interest-tag:hover {
    border-color: var(--primary);
}

.interest-tag.selected {
    background: rgba(46, 122, 94, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 500;
}

.interest-tag.selected .material-symbols-outlined {
    font-size: 16px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive for smaller viewport */
@media (max-width: 460px) {
    #app-frame {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
}

/* Noise texture overlay */
.noise-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    z-index: 0;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Toast Notifications ===== */
.app-toast {
    position: fixed;
    bottom: calc(130px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--near-black);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 340px;
    text-align: center;
}

.app-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.app-toast.error {
    background: #ef4444;
}

/* ===== Loading Overlay ===== */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10001;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    font-family: var(--font);
}