/* --- RESET & BASE --- */
.staging-label { font: 600 12px system-ui, sans-serif; color: #53254f; margin-bottom: 16px; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f8a2f2;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    font-family: 'Finger Paint', cursive;
    min-height: 100vh;
}

.page-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

/* --- BRANDING & HEADER --- */
.brand-name {
    font-size: 1.8rem;
    color: #ffffff !important;
    margin: 10px 0;
}

#follower-count-white {
    margin-top: -15px;
    margin-bottom: 35px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* --- SOCIAL LINKS --- */
.social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-link {
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.social-link img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-link:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px #ffffff);
}

.social-divider {
    width: 1.5px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

/* --- AVATAR --- */
.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.5);
    z-index: 5;
    transition: 0.2s;
}

/* --- FEATURED (Fansly) TAB --- */
.tab-btn.featured {
    border: 2.5px solid #2699f7;
    box-shadow: 0 0 20px rgba(38, 153, 247, 0.35);
    background: rgba(255, 255, 255, 0.32) !important;
}

.tab-btn.featured:hover {
    border-color: #2699f7;
    box-shadow: 0 0 26px rgba(38, 153, 247, 0.5);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #ffcf3d;
    color: #4a3200;
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* When a cam-site referrer is detected, the CTA message replaces "Fansly" entirely —
   smaller font so a longer message still fits the tile's normal, unchanged height. */
.tab-text.cta-mode {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    padding: 0 2px;
}

/* --- LIVE INDICATOR (plain, no pill — sits in the tile's right slot) --- */
.live-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Finger Paint', cursive;
    font-size: 0.95rem;
    font-weight: 400;
    color: #00d95f;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00d95f;
    box-shadow: 0 0 0 0 rgba(0, 217, 95, 0.6);
    animation: live-dot-pulse 1.6s infinite;
    flex-shrink: 0;
}

@keyframes live-dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 217, 95, 0.6); }
    70% { box-shadow: 0 0 0 7px rgba(0, 217, 95, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 217, 95, 0); }
}

/* --- SITE-WIDE AGE GATE --- */
#age-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(248, 162, 242, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.gate-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-radius: 26px;
    padding: 32px 26px;
    max-width: 340px;
    text-align: center;
    border: 1.5px solid rgba(255,255,255,0.9);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.gate-card h2 {
    font-family: 'Finger Paint', cursive;
    color: #f8a2f2;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.gate-card p {
    font-family: 'Inter', sans-serif;
    color: #444;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.gate-btn-row {
    display: flex;
    gap: 10px;
}

.gate-btn {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.gate-btn.enter {
    background: #f8a2f2;
    color: #fff;
}
.gate-btn.enter:hover { background: #f38aec; }

.gate-btn.exit {
    background: #eee;
    color: #666;
}
.gate-btn.exit:hover { background: #ddd; }

/* --- PERFECTLY CENTERED TABS --- */
.content-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.tab-btn {
    height: 60px; /* Standardized height */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    padding: 0 10px;
    position: relative;
}

.tab-btn:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255,255,255,0.8);
}

.side-slot {
    min-width: 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    flex-shrink: 0;
    padding: 0 4px;
    box-sizing: content-box;
}

.logo-circle-small {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-text {
    font-size: 1.1rem;
    flex: 1;
    text-align: center;
    color: #fff;
    font-weight: 600;
    line-height: 60px; /* Forces vertical centering in the font box */
    height: 60px;
}

/* --- LAYER 2: PER-TILE WARNING DROPDOWNS --- */
.warning-dropdown {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    border-radius: 22px;
    padding: 18px;
    border: 2px solid rgba(255, 255, 255, 1);
    text-align: center;
    margin-top: 5px;
    color: #000 !important;
    z-index: 20;
}

.continue-btn {
    width: 100%;
    border: none;
    background: #000;
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 5px;
}

/* --- SPACERS --- */
.glass-spacer {
    height: 2px;
    width: 100%;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.3);
}
