/* ============================================================
   sillylilsloth — design system
   vibe: clean, light, editorial with warmth
   display: DM Serif Display
   body:    Nunito
   palette: white/cream bg · charcoal accents · rust eyebrows
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    /* ── Palette ── */
    --white:        #ffffff;
    --off-white:    #f8f5f0;       /* page background — warm tinted white */
    --pale:         #f0ece5;       /* subtle section tint */
    --rule:         #e6e1d9;       /* borders, dividers */
    --rule-mid:     #d4cec5;       /* stronger borders */

    --charcoal:     #2a2826;       /* primary dark — sidebar, headings, accents */
    --charcoal-mid: #3d3a37;       /* raised charcoal surfaces */
    --charcoal-soft:#5a5652;       /* muted text on light */
    --charcoal-dim: rgba(42,40,38,0.45);  /* placeholder, faint labels */

    --rust:         #b8704f;       /* eyebrow labels only — softened */
    --rust-pale:    rgba(184,112,79,0.09);

    /* ── Semantic ── */
    --bg:           var(--off-white);
    --surface:      #f2ede5;       /* cards, sidebar, header — warm cream */
    --surface-2:    var(--pale);
    --text:         var(--charcoal);
    --text-2:       #181614;
    --text-muted:   var(--charcoal-dim);
    --accent:       var(--charcoal);
    --border:       var(--rule);
    --border-mid:   var(--rule-mid);

    /* ── Layout ── */
    --sidebar-w:   280px;
    --bnav-h:      72px;
    --r-sm:        10px;
    --r-md:        14px;
    --r-pill:      999px;

    /* ── Type ── */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'Nunito', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--charcoal);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Faint warm dot grid */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(42,40,38,0.055) 1px, transparent 1px);
    background-size: 32px 32px;
}

.sidebar, .main-content, .bottom-nav { position: relative; z-index: 1; }

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--charcoal);
    overflow-y: auto;
    z-index: 200;
    display: flex;
    flex-direction: column;
}

.sidebar-inner {
    padding: 40px 24px 48px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 28px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.sidebar-name {
    font-family: var(--font-display);
    font-size: 1.15em;
    color: var(--white);
    line-height: 1.15;
    display: block;
}

.sidebar-tagline {
    font-size: 0.7em;
    color: rgba(255,255,255,0.45);
    display: block;
    margin-top: 3px;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; }

.sidebar-nav-label {
    font-size: 0.65em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
    padding: 18px 12px 6px;
    display: block;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.88em;
    font-weight: 600;
    border-radius: var(--r-sm);
    transition: background 0.18s, color 0.18s;
}

.sidebar-link i {
    width: 18px;
    text-align: center;
    font-size: 1em;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.18s;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}
.sidebar-link:hover i { opacity: 1; }

.live-dot {
    width: 7px; height: 7px;
    background: var(--rust);
    border-radius: 50%;
    margin-left: auto;
    flex-shrink: 0;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}

.sidebar-rule { height: 1px; background: rgba(255,255,255,0.1); margin: 10px 0; }

/* ============================================================
   MAIN CONTENT
============================================================ */
.main-content {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================================
   HEADER — clean, just profile
============================================================ */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 64px 40px 56px;
    text-align: center;
}

.header-inner {
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-avatar {
    width: 160px; height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-mid);
    box-shadow: 0 4px 20px rgba(42,40,38,0.12);
    margin-bottom: 2px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.6em;
    color: var(--text-2);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.hero-tagline {
    font-size: 0.87em;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.1px;
}

/* ============================================================
   PAGE BODY
============================================================ */
.page-body { flex: 1; padding-bottom: 0; }

/* Ensure no light background bleeds below the footer */
.main-content { background: var(--bg); }

/* ============================================================
   CONTENT SECTIONS
============================================================ */
.content-section {
    max-width: 940px;
    margin: 0 auto;
    padding: 72px 40px;
    border-bottom: 1px solid var(--border);
}
.content-section:last-of-type { border-bottom: none; }

.section-eyebrow {
    font-size: 0.68em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--rust);
    margin-bottom: 10px;
    display: block;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2em, 4vw, 3em);
    color: var(--text-2);
    line-height: 1.1;
    margin-bottom: 44px;
    font-weight: 400;
}

/* ============================================================
   STREAM SCHEDULE
============================================================ */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
}

.sday { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.sday-circle {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--surface);
    border: 1.5px solid var(--border-mid);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.22s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(42,40,38,0.07);
}

.sday:hover .sday-circle {
    border-color: var(--charcoal);
    background: var(--surface-2);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(42,40,38,0.12);
}

.sday.today .sday-circle {
    background: var(--charcoal);
    border-color: var(--charcoal);
    box-shadow: 0 4px 16px rgba(42,40,38,0.25);
    position: relative;
}

.sday.today .sday-circle::after {
    content: '';
    position: absolute;
    top: -4px; right: -4px;
    width: 12px; height: 12px;
    background: var(--rust);
    border-radius: 50%;
    border: 2px solid var(--bg);
    animation: pulse 2.5s infinite;
}

.sday-abbr {
    font-family: var(--font-body);
    font-size: 0.78em;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--charcoal-soft);
}
.sday.today .sday-abbr { color: var(--white); }

.sday-info { text-align: center; display: flex; flex-direction: column; gap: 3px; min-height: 42px; justify-content: center; }
.sday-info.off { font-size: 0.77em; color: var(--text-muted); }
.sday-time { font-size: 0.79em; font-weight: 700; color: var(--text); }
.sday-type { font-size: 0.72em; color: var(--text-muted); }

/* ============================================================
   INSTAGRAM PHOTOS
============================================================ */
.photo-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(42,40,38,0.1);
}

.duo-photo {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.2s;
}
.duo-photo:hover { transform: scale(1.02); opacity: 0.9; }

.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--charcoal);
    border: 1.5px solid var(--charcoal);
    color: var(--white);
    padding: 13px 28px;
    border-radius: var(--r-pill);
    font-size: 0.88em;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 10px rgba(42,40,38,0.15);
}
.section-cta:hover {
    background: var(--charcoal-mid);
    box-shadow: 0 4px 18px rgba(42,40,38,0.25);
}

/* ============================================================
   ACCORDION
============================================================ */
.accordion {
    border: 1px solid var(--border);
    margin-bottom: 12px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(42,40,38,0.05);
}

.accordion-head {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-2);
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.35em;
    text-align: left;
    transition: background 0.18s;
    gap: 16px;
}
.accordion-head:hover { background: var(--surface-2); }

.acc-icon {
    width: 28px; height: 28px;
    border: 1.5px solid var(--border-mid);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75em;
    flex-shrink: 0;
    color: var(--charcoal-soft);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
                border-color 0.2s, color 0.2s, background 0.2s;
}
.accordion.open .acc-icon {
    transform: rotate(45deg);
    border-color: var(--charcoal);
    color: var(--white);
    background: var(--charcoal);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1);
    background: var(--bg);
}
.accordion.open .accordion-body { max-height: 2800px; }

/* ============================================================
   PRODUCT GRID
============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px 20px 24px;
}

.product-card {
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(42,40,38,0.06);
    transition: transform 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--charcoal);
    box-shadow: 0 8px 28px rgba(42,40,38,0.13);
}

.product-thumb {
    width: 100%;
    height: 140px;
    background: var(--pale);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 0.88em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.product-thumb i {
    font-size: 2.2em;
    opacity: 0.35;
    position: relative;
    z-index: 1;
}
.product-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 40% 40%, rgba(42,40,38,0.04), transparent 65%);
}

.product-info { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }

.product-name {
    font-family: var(--font-display);
    font-size: 0.97em;
    color: var(--text-2);
    line-height: 1.3;
}
.product-desc { font-size: 0.8em; color: var(--text-muted); line-height: 1.5; flex-grow: 1; }

.product-cta {
    display: inline-block;
    font-size: 0.78em;
    font-weight: 700;
    color: var(--charcoal-soft);
    margin-top: 10px;
    transition: color 0.18s;
}
.product-card:hover .product-cta { color: var(--charcoal); }

/* ============================================================
   BRAND FORM
============================================================ */
.brand-section {
    background: var(--charcoal);
    max-width: 100%;
    border-bottom: none;
    padding: 80px 40px 80px;
    text-align: center;
    margin-bottom: 0;
}

.brand-section .section-eyebrow {
    color: var(--rust);
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.brand-section .section-heading {
    color: var(--white);
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
}

.brand-intro {
    font-size: 0.97em;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

form { max-width: 720px; margin: 0 auto; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-group.full { grid-column: 1 / -1; }

label {
    font-size: 0.72em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--r-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95em;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
}
textarea { resize: vertical; min-height: 140px; }
select option { background: var(--charcoal); color: var(--white); }

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px 40px;
    background: #f2ede5;
    color: var(--charcoal);
    border: none;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 1em;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-top: 10px;
}
.submit-btn:hover {
    background: var(--pale);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* Coming Soon cards */
.coming-soon-card {
    pointer-events: none;
    opacity: 0.7;
}
.coming-soon-thumb {
    font-size: 2em;
    color: var(--charcoal-dim);
}
.coming-soon-tag {
    color: var(--rust) !important;
    font-style: italic;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    text-align: center;
    padding: 56px 24px 40px;
    background: var(--charcoal);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 2em;
    color: rgba(255,255,255,0.85);
    line-height: 1;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; }
.footer-links a {
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    font-size: 0.83em;
    font-weight: 600;
    transition: color 0.18s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 0.75em; color: rgba(255,255,255,0.2); }

/* ============================================================
   BOTTOM NAV — mobile only, charcoal
============================================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 500;
    height: var(--bnav-h);
    background: rgba(42, 40, 38, 0.97);
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: stretch;
    justify-content: space-around;
}

.bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: rgba(255,255,255,0.32);
    font-size: 0.58em;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 8px 2px 10px;
    transition: color 0.18s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.bnav-item.active { color: rgba(255,255,255,0.9); }

.bnav-icon {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bnav-item.active .bnav-icon,
.bnav-item:hover  .bnav-icon { transform: translateY(-2px); }

.bnav-label { text-transform: uppercase; }

/* Center Twitch button — rust accent on charcoal nav */
.bnav-live { color: rgba(255,255,255,0.9); }

.bnav-live .bnav-icon {
    background: var(--rust);
    color: #fff;
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1em;
    margin-top: -14px;
    margin-bottom: 2px;
    box-shadow: 0 4px 16px rgba(184,112,79,0.45);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.bnav-live:hover .bnav-icon,
.bnav-live:active .bnav-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(184,112,79,0.55);
}

/* Active indicator — white line on charcoal nav */
.bnav-item.active::after {
    content: '';
    position: absolute;
    top: 0; left: 22%; right: 22%;
    height: 2px;
    background: rgba(255,255,255,0.6);
    border-radius: 0 0 2px 2px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; padding-bottom: var(--bnav-h); }
    .bottom-nav { display: flex; }
    .site-header { padding: 52px 24px 48px; }
    .hero-avatar { width: 130px; height: 130px; }
    .hero-title { font-size: 2.3em; }
    .content-section { padding: 56px 24px; }
    .section-heading { margin-bottom: 32px; }
    .schedule-grid {
        grid-template-columns: repeat(7, minmax(62px, 1fr));
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
    }
    .sday-circle { width: 60px; height: 60px; }
    .photo-duo { gap: 10px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px; }
    .product-thumb { height: 120px; }
    .accordion-head { font-size: 1.2em; padding: 20px 22px; }
    .brand-section { padding: 60px 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2em; }
    .section-heading { font-size: 1.9em; }
    .product-grid { grid-template-columns: 1fr; }
    .product-thumb { height: 110px; }
    .accordion-head { font-size: 1.1em; padding: 18px 18px; }
}
