@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
    --bodydarkblue: #0f172a;
    --cardbluehover: #273449;
    --btnblue: #38bdf8;
    --btnhoverblue: #0ea5e9;
    --textwhite: #ffffff;
    --maxwidth: 1100px;
    --radius: 0.5rem;

    /* shared brand tokens, matching style.css / discover pages */
    --accent-2: #22d3ee;
    --logoblue: #00d4ff;
    --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #22d3ee 55%, #00d4ff 100%);
    --radius-sm: 0.5rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.25rem;
    --radius-pill: 999px;
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-glow: 0 8px 24px rgba(56, 189, 248, 0.28);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --fast: 0.2s;
    --font-body: 'Inter', Arial, Helvetica, sans-serif;
    --font-display: 'Sora', var(--font-body);
}

/* RESET */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bodydarkblue);
    color: var(--textwhite);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

img,
picture,
video {
    display: block;
    max-width: 100%;
    user-select: none;
    pointer-events: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* TYPOGRAPHY */

h1,
h2,
h3 {
    line-height: 1.1;
    font-family: var(--font-display);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
    opacity: 0.95;
}

/* LINKS */

a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ---------- BODY ELEMEK ---------- */

/* HERO */

.creator-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-image:
    linear-gradient(rgba(9,14,26,0.55), rgba(9,14,26,0.55)),
    var(--hero);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.creator-title {
    padding: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0.5rem 2rem rgba(0,0,0,0.5);
    word-break: break-word;
}

.creator-bio {
    max-width: 600px;
    padding: 0 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0.25rem 1rem rgba(0,0,0,0.5);
    line-height: 1.5;
}

/* HERO CATEGORIES */

.hero-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.hero-category-chip {
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* HERO STATS */

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.hero-stat strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
}

.hero-stat span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.hero-stat-divider {
    width: 1px;
    height: 1.75rem;
    background: rgba(255, 255, 255, 0.2);
}

/* SCROLL CUE */

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    width: 1.4rem;
    height: 2.3rem;
    margin-left: -0.7rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-pill);
    z-index: 3;
}

.scroll-cue::before {
    content: "";
    position: absolute;
    top: 0.4rem;
    left: 50%;
    width: 0.3rem;
    height: 0.3rem;
    margin-left: -0.15rem;
    border-radius: 50%;
    background: white;
    animation: scroll-cue-bounce 1.8s infinite;
}

@keyframes scroll-cue-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(0.6rem); opacity: 0.4; }
}

/* TOP LOGIN */

.subscriber-login {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.subscriber-login:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

/* BUTTONS */

.subscribe-btn {
    background: var(--gradient-brand);
    color: var(--bodydarkblue);
    font-weight: 700;
    margin-top: 1rem;
    padding: 1rem;
    width: 220px;
    border: none;
    border-radius: var(--radius-pill);
    transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
    text-transform: uppercase;
}

.subscribe-btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.explore-btn {
    background: none;
    color: var(--textwhite);
    font-weight: 700;
    margin-top: 1rem;
    padding: 1rem;
    width: 220px;
    border-radius: var(--radius-pill);
    transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
    border: 1px solid var(--textwhite);
    text-transform: uppercase;
}

.explore-btn:hover {
    background: var(--textwhite);
    color: black;
    transform: translateY(-2px);
}

/* shared utility buttons (used by the "Add Creator" link - item 7.2) */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-pill);
    background: var(--gradient-brand);
    color: var(--bodydarkblue);
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.btn:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--textwhite);
}

.btn.secondary:hover {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.16);
}

/* MAIN */

.main-content {
    width: 100%;
    max-width: var(--maxwidth);
    margin: 0 auto;
    padding: 4rem 1rem;
}

/* SUBSCRIBE */

.subscribe-section {
    margin-bottom: 3rem;
}

.subscribe-box {
    background: var(--cardbluehover);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.subscribe-box h2 {
    margin: 0;
    padding: 1rem 0;
}

.subscribe-box p {
    margin: 0;
    padding: 1rem 0;
    opacity: 0.85;
}

.subscribe-lede {
    max-width: 420px;
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0.5rem 0;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-period {
    color: var(--textwhite);
    opacity: 0.6;
    font-size: 0.95rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
    max-width: 320px;
    width: 100%;
    margin: 0.5rem 0 1rem;
}

.benefits-list li {
    padding-left: 1.6rem;
    position: relative;
    font-size: 0.92rem;
    opacity: 0.9;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-2);
    font-weight: 700;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    opacity: 0.6;
    flex-wrap: wrap;
    justify-content: center;
}

/* PREVIEW GRID */

.preview-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.preview-header h2 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.preview-header p {
    opacity: 0.6;
    margin-top: 0.4rem;
    font-size: 0.95rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
}

.preview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 3 / 4;
    background-color: var(--bodydarkblue);
}

.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* the locked card is the actual conversion driver of this grid, so it
   gets more visual weight - spans two columns and both rows */
.preview-card.featured {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
}

.preview-card.locked {
    cursor: pointer;
}

.preview-card.locked img {
    filter: blur(18px) brightness(0.55) saturate(1.1);
    transform: scale(1.15);
}

.preview-card.locked:hover img {
    filter: blur(14px) brightness(0.6) saturate(1.1);
    transform: scale(1.2);
    transition: filter 0.3s ease, transform 0.3s ease;
}

/* LOCK OVERLAY */

.lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(9,14,26,0.6);
    z-index: 999;
}

.lock-badge {
    width: 3.2rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-brand);
    font-size: 1.3rem;
    box-shadow: var(--shadow-glow);
}

.lock-title {
    font-weight: 700;
    font-size: 1.05rem;
    opacity: 1;
}

.lock-cta {
    margin-top: 0.25rem;
    padding: 0.75rem 1.3rem;
    border-radius: var(--radius-pill);
    background: white;
    color: var(--bodydarkblue);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: transform var(--fast) var(--ease);
}

.lock-cta:hover {
    transform: translateY(-2px);
}

/* SECONDARY CTA BAND */

.secondary-cta-band {
    text-align: center;
    padding: 3.5rem 1.5rem;
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    background: var(--cardbluehover);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.secondary-cta-band h2 {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
}

.secondary-cta-band p {
    opacity: 0.7;
    margin: 0.6rem 0 1.5rem;
}

.secondary-cta-band .subscribe-btn {
    margin-top: 0;
}

/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */

.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* STICKY MOBILE SUBSCRIBE */

.sticky-subscribe {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 99999;
    display: none;
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(10px);
    padding: 0 0 calc(env(safe-area-inset-bottom));
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.1rem 1rem;
    background: var(--gradient-brand);
    color: var(--bodydarkblue);
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    border-radius: 0;
}

.sticky-btn:hover {
    filter: brightness(1.05);
}

/* MOBILE */

@media (max-width: 768px) {

    .sticky-subscribe {
        display: block;
    }

    .site-footer {
        padding-bottom: 7rem;
    }

    .creator-title {
        font-size: clamp(1.6rem, 8vw, 2.75rem);
    }
}

/* TABLET */

@media (max-width: 900px) {

    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-card.featured {
        grid-column: 1 / span 2;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }
}

/* MOBILE */

@media (max-width: 768px) {

    .main-content {
        padding: 2rem 1rem;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-card.featured {
        grid-column: auto;
        aspect-ratio: 3 / 4;
    }

    .sticky-subscribe {
        display: block;
    }

    /* site-footer padding-bottom is set once, above, alongside
       .sticky-subscribe itself - not duplicated here to avoid the two
       conflicting values fighting each other on mobile */

    .subscriber-login {
        top: 1rem;
        right: 1rem;
    }

    .subscribe-box {
        padding: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
        padding: 0.85rem 1.25rem;
    }

    .hero-categories {
        max-width: 280px;
    }

    .scroll-cue {
        display: none;
    }

    .secondary-cta-band {
        padding: 2.5rem 1.25rem;
    }
}