:root {
    --red: #ef3d49;
    --red-dark: #9f2028;
    --orange: #ec7c20;
    --gold: #f4ca52;
    --stone: #c9c1bd;
    --ink: #0d0909;
    --ink-soft: #171011;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(255, 255, 255, 0.09);
    --text: #fff8f3;
    --muted: #c7b9b4;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 84% 8%, rgba(239, 61, 73, 0.16), transparent 27%),
        radial-gradient(circle at 16% 34%, rgba(236, 124, 32, 0.11), transparent 31%),
        linear-gradient(180deg, #0c0808 0%, #120b0c 55%, #0c0909 100%);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.65;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255,255,255,.018), transparent 45%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--ink);
    background: var(--gold);
    font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: .32;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.ambient {
    position: fixed;
    z-index: -1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: .14;
}
.ambient-one { top: 14vh; right: -180px; background: var(--red); }
.ambient-two { top: 70vh; left: -220px; background: var(--gold); }

.page-content {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.hero {
    min-height: 780px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
    padding-top: 90px;
    padding-bottom: 80px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--stone);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--gold));
    box-shadow: 0 0 18px rgba(239,61,73,.8);
}

.hero h1, .section-heading h2, .bearhell-copy h2 {
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -.055em;
    line-height: .98;
}
.hero h1 { font-size: clamp(3.25rem, 6.8vw, 6.45rem); }
.hero h1 span, .section-heading em, .bearhell-copy em {
    color: transparent;
    background: linear-gradient(100deg, var(--red) 0%, var(--orange) 62%, var(--gold) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-style: normal;
}
.hero-intro {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button-link {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button-link:hover { transform: translateY(-2px); }
.button-link.primary {
    border: 0;
    color: #210a09;
    background: linear-gradient(120deg, var(--red-dark) 0%, var(--red) 24%, var(--orange) 72%, var(--gold) 100%);
    box-shadow: 0 16px 42px rgba(239,61,73,.2);
}
.button-link.secondary { background: var(--surface); backdrop-filter: blur(12px); }
.button-link.secondary:hover { border-color: rgba(244,202,82,.38); background: rgba(244,202,82,.08); }
.hero-note { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.hero-note span { color: var(--gold); font-weight: 900; }
.hero-note a { color: var(--gold); font-weight: 800; }

.hero-instagram {
    width: 100%;
    max-width: 480px;
    justify-self: end;
    padding: 18px;
    box-shadow: 0 34px 100px rgba(0,0,0,.48), 0 0 70px rgba(239,61,73,.1);
}
.hero-instagram .card-topline h2 {
    margin: 8px 0 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    line-height: 1.15;
}
.instagram-hero-embed { height: 780px; }

.hero-socials {
    margin-top: 34px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.hero-socials > p { margin: 0 0 12px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.social-links a { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.045); border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .78rem; font-weight: 700; transition: color .2s, background .2s, border-color .2s; }
.social-links a:hover { color: var(--text); background: var(--surface-strong); }
.social-links img { width: 18px; height: 18px; flex: 0 0 auto; filter: brightness(0) invert(1); opacity: .78; transition: opacity .2s, transform .2s; }
.social-links a:hover img { opacity: 1; transform: scale(1.08); }

.content-section { padding-top: 132px; padding-bottom: 10px; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading h2, .bearhell-copy h2 { font-size: clamp(2.55rem, 5vw, 4.7rem); }
.section-heading > p:last-child, .bearhell-copy > p { color: var(--muted); }
.section-heading > p:last-child { max-width: 660px; margin: 20px 0 0; }

.media-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow: 0 24px 70px rgba(0,0,0,.26);
    overflow: hidden;
}
.twitch-card { padding: 20px; }
.card-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding: 2px 4px 18px; }
.card-topline h3 { max-width: 600px; margin: 8px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; }
.card-topline > a { flex: 0 0 auto; color: var(--muted); font-size: .82rem; font-weight: 700; }
.card-topline > a:hover { color: var(--gold); }
.live-pill, .platform-pill { display: inline-flex; align-items: center; gap: 7px; color: #e8d8ff; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #bf78ff; box-shadow: 0 0 12px #9147ff; animation: pulse 1.8s infinite; }
.platform-pill.youtube { color: #ff7777; }
.platform-pill.instagram { color: #f1a1ff; }
.embed-frame { overflow: hidden; border-radius: 15px; background: #070707; }
.embed-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.twitch-frame { aspect-ratio: 16 / 8.5; }
.media-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 20px; margin-top: 20px; }
.media-grid .media-card { padding: 20px; }
.video-frame { aspect-ratio: 16 / 9; }
.instagram-embed { overflow: hidden; border-radius: 15px; background: #fff; }
.instagram-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.story-card { position: relative; min-height: 560px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--ink-soft); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.story-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,6,6,.98) 4%, rgba(10,6,6,.54) 48%, transparent 78%); }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.story-card:hover img { transform: scale(1.04); }
.story-bike img { object-position: center 56%; }
.story-kurti img { object-position: center; }
.story-overlay { position: absolute; inset: auto 0 0; z-index: 1; padding: 32px; }
.story-overlay span { color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.story-overlay h3 { margin: 9px 0 10px; font-family: 'Space Grotesk', sans-serif; font-size: 2rem; }
.story-overlay p { max-width: 540px; margin: 0; color: var(--muted); }
.story-overlay a { display: inline-block; margin-top: 18px; color: var(--gold); font-size: .82rem; font-weight: 800; }

.bearhell-wrap { margin-top: 140px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 15% 45%, rgba(239,61,73,.12), transparent 34%), rgba(255,255,255,.022); }
.bearhell-section { display: grid; grid-template-columns: 1fr minmax(320px, 420px); align-items: center; gap: clamp(60px, 10vw, 130px); padding-top: 100px; padding-bottom: 100px; }
.bearhell-copy > p { max-width: 650px; margin-top: 22px; }
.bearhell-copy .eyebrow { margin-top: 0; }
.widget-hint { font-size: .78rem; opacity: .72; }
.discord-widget-card { padding: 18px; border: 1px solid rgba(88,101,242,.35); border-radius: 26px; background: linear-gradient(145deg, rgba(88,101,242,.14), rgba(255,255,255,.04)); box-shadow: 0 30px 90px rgba(0,0,0,.38); }
.discord-heading { display: flex; align-items: center; gap: 12px; padding: 5px 4px 16px; }
.discord-heading > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: white; background: #5865f2; font-size: .75rem; font-weight: 900; }
.discord-heading div { display: grid; }
.discord-heading small { color: #aeb5ff; font-size: .62rem; font-weight: 900; letter-spacing: .14em; }
.discord-heading strong { font-size: .94rem; }
.discord-widget-card iframe { width: 100%; min-height: 500px; border: 0; border-radius: 15px; background: #1e1f22; }
.discord-widget-card > a { display: flex; justify-content: center; margin-top: 14px; color: #c7ccff; font-size: .82rem; font-weight: 800; }

.twitch-live-modal {
    width: min(960px, calc(100% - 28px));
    max-height: calc(100vh - 28px);
    padding: 18px;
    overflow: auto;
    border: 1px solid rgba(145,71,255,.45);
    border-radius: 24px;
    color: var(--text);
    background: linear-gradient(150deg, #17101d, #0d090f 68%);
    box-shadow: 0 38px 120px rgba(0,0,0,.7), 0 0 70px rgba(145,71,255,.17);
}
.twitch-live-modal::backdrop { background: rgba(5,3,5,.84); backdrop-filter: blur(8px); }
.twitch-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 4px 4px 16px; }
.twitch-modal-header h2 { margin: 8px 0 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.1; }
.modal-close { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); cursor: pointer; font: inherit; font-size: 1.65rem; line-height: 1; }
.modal-close:hover { border-color: rgba(145,71,255,.6); background: rgba(145,71,255,.16); }
.twitch-popup-frame { aspect-ratio: 16 / 9; }
.twitch-external-link { display: flex; justify-content: center; margin-top: 15px; color: #d8baff; font-size: .84rem; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulse { 50% { opacity: .35; transform: scale(.78); } }

@media (max-width: 950px) {
    .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
    .hero-copy { max-width: 760px; }
    .hero-instagram { max-width: 500px; justify-self: center; }
    .media-grid, .bearhell-section { grid-template-columns: 1fr; }
    .discord-widget-card { width: min(100%, 500px); }
}

@media (max-width: 720px) {
    .page-content { width: min(100% - 28px, 1180px); }
    .hero { gap: 62px; padding-top: 62px; padding-bottom: 60px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
    .hero-socials { margin-top: 28px; }
    .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-section { padding-top: 100px; }
    .story-grid { grid-template-columns: 1fr; }
    .story-card { min-height: 500px; }
    .card-topline { align-items: flex-start; flex-direction: column; gap: 10px; }
    .instagram-hero-embed { height: 740px; }
    .bearhell-wrap { margin-top: 100px; }
    .bearhell-section { padding-top: 76px; padding-bottom: 76px; }
}

@media (max-width: 460px) {
    .hero-actions .button-link { width: 100%; }
    .twitch-card, .media-grid .media-card { padding: 12px; }
    .twitch-frame { aspect-ratio: 16 / 10; }
    .story-overlay { padding: 24px; }
    .story-card { min-height: 460px; }
    .twitch-live-modal { padding: 12px; border-radius: 18px; }
    .twitch-popup-frame { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
