:root {
    /* OMR brand colours (from Discord icon + dark UI) */
    --bg: #0b0b10;
    /* Discord dark background */
    --panel: #12121a;
    /* Cards */
    --panel-soft: #161623;
    --border: rgba(255, 255, 255, 0.08);

    --text: #e5e7eb;
    --muted: #9ca3af;

    --purple: #8b5cf6;
    /* OMR purple */
    --green: #22c55e;
    /* OMR neon green */

    --brand: var(--purple);
    --accent: var(--green);

    --radius: 16px;
    --hero-height: 520px;
    --hero-fade: 160px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

/* Header */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.3px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}



/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn.primary {
    background: linear-gradient(135deg,
            var(--purple),
            var(--green));
    border: none;
    color: #0b0b10;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* Hero */

/*.hero {
  position: relative;
  min-height: var(--hero-height);
  padding: 0px 0 0px;
  display: flex;
  align-items: center;

  background:
    linear-gradient(
      to bottom,
      rgba(11,11,16,0.45) 0%,
      rgba(11,11,16,0.65) 35%,
      rgba(11,11,16,0.9) 65%,
      rgba(11,11,16,1) 85%,
      rgba(11,11,16,1) 100%
    ),
    url("/assets/omr-bg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 240px;

  background: linear-gradient(
    to bottom,
    rgba(11,11,16,0),
    rgba(11,11,16,0.85),
    rgba(11,11,16,1)
  );

  pointer-events: none;
}*/

iframe {
    border-radius: var(--radius);
}



.hero h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero p {
    max-width: 640px;
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 24px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}


.intro {
    max-width: 720px;
    margin-top: px;
    padding: 48px 0 0;
}

.intro h2 {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 16px;
}

.intro p {
    font-size: 16px;
    color: var(--muted);
    margin: 0 0 24px;
}


/* Sections */

section {
    margin-top: 0px;
}

/* Grid + cards */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Accent highlights */

.card a {
    color: var(--accent);
    font-weight: 700;
}

.card a:hover {
    text-decoration: underline;
}



/* Footer */

footer {
    margin-top: 96px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Small screens */

/* Live now layout: widget + live cards side by side */
.live-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    align-items: start;
}

.live-widget {
    padding: 0;
    overflow: hidden;
}

/* Keep your card rounding consistent */
.live-widget iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* The right side grid should fill the column */
.live-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.discord-stats {
    padding: 18px;
}

.discord-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    margin-bottom: 14px;
}

.discord-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.35);
}

.discord-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.metric {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
}

.metric-label {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.metric-value {
    font-size: 22px;
    font-weight: 900;
}

.discord-note {
    color: var(--muted);
    font-size: 13px;
}

/* -------------------------
   Christmas mode (Dec 1 -> Jan 6)
-------------------------- */

.xmas-decor {
    display: none;
}

/* Turned on by JS: body[data-xmas="on"] */
body[data-xmas="on"] .xmas-decor {
    display: block;
    pointer-events: none;
}

/* Lights across the top */
body[data-xmas="on"] .xmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 46px;
    z-index: 9999;

    background:
        radial-gradient(circle at 8% 50%, rgba(34, 197, 94, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 16% 50%, rgba(139, 92, 246, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 24% 50%, rgba(255, 255, 255, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 32% 50%, rgba(34, 197, 94, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 40% 50%, rgba(139, 92, 246, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 48% 50%, rgba(255, 255, 255, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 56% 50%, rgba(34, 197, 94, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 64% 50%, rgba(139, 92, 246, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 72% 50%, rgba(255, 255, 255, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 88% 50%, rgba(139, 92, 246, 0.95) 0 6px, transparent 7px),
        radial-gradient(circle at 96% 50%, rgba(255, 255, 255, 0.95) 0 6px, transparent 7px);

    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
    opacity: 0.9;
}

body[data-xmas="on"] .xmas-lights::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
}

/* Subtle twinkle */
@keyframes xmasTwinkle {

    0%,
    100% {
        opacity: 0.75;
    }

    50% {
        opacity: 1;
    }
}

body[data-xmas="on"] .xmas-lights {
    animation: xmasTwinkle 1.6s ease-in-out infinite;
}

/* Particle snow container */
.xmas-snow {
    display: none;
}

body[data-xmas="on"] .xmas-snow {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    overflow: hidden;
}

/* Each flake */
.xmas-flake {
    position: absolute;
    top: -20px;
    left: 0;

    width: var(--size);
    height: var(--size);
    border-radius: 999px;

    background: rgba(255, 255, 255, var(--alpha));
    filter: blur(var(--blur));

    transform: translateX(var(--x)) translateY(-20px);
    animation: xmasFlakeFall var(--dur) linear infinite;
}

@keyframes xmasFlakeFall {
    0% {
        transform: translateX(var(--x)) translateY(-20px);
    }

    100% {
        transform: translateX(calc(var(--x) + var(--drift))) translateY(120vh);
    }
}

.xmas-flake {
    animation:
        xmasFlakeFall var(--dur) linear infinite,
        xmasFlakeSway calc(var(--dur) / 2) ease-in-out infinite;
}

@keyframes xmasFlakeSway {

    0%,
    100% {
        margin-left: 0;
    }

    50% {
        margin-left: calc(var(--drift) * 0.35);
    }
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.carousel-track::-webkit-scrollbar {
    height: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.creator-card {
    min-width: 320px;
    max-width: 380px;
    scroll-snap-align: start;
}

.creator-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.creator-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}


/* Responsive: stack on smaller screens */
@media (max-width: 900px) {
    .live-layout {
        grid-template-columns: 1fr;
    }

    .live-widget iframe {
        height: 320px;
    }

    .brand-name {
        display: none;
    }
}