/* ===================== GullyReels — Cinematic dark theme =====================
   Deliberately dark-first: this is a platform about film and video, and dark
   surfaces make embedded thumbnails and stills read properly instead of
   fighting a white page. Sibling to the IBULL violet/pink family, but with a
   projector-gold accent of its own.
   ============================================================================ */

:root {
  --bg:            #0b0b12;
  --bg-soft:       #12121c;
  --bg-panel:      #171725;
  --bg-elevated:   #1e1e30;

  --ink:           #f4f4f8;
  --ink-soft:      #c3c3d4;
  --ink-dim:       #8b8ba3;
  --ink-faint:     #5c5c73;

  --gold:          #f5b544;
  --gold-soft:     #ffd68a;
  --crimson:       #f43f5e;
  --violet:        #8b5cf6;
  --teal:          #2dd4bf;

  --grad-hot:      linear-gradient(120deg, #f5b544 0%, #f43f5e 55%, #8b5cf6 100%);
  --grad-cool:     linear-gradient(120deg, #8b5cf6 0%, #2dd4bf 100%);
  --grad-panel:    linear-gradient(160deg, rgba(245,181,68,0.09) 0%, rgba(139,92,246,0.06) 100%);

  --line:          rgba(255,255,255,0.09);
  --line-strong:   rgba(255,255,255,0.16);

  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     26px;

  --shadow:        0 18px 50px rgba(0,0,0,0.55);
  --shadow-glow:   0 0 0 1px rgba(245,181,68,0.25), 0 20px 60px rgba(245,181,68,0.10);

  --maxw:          1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle film-grain / vignette so flat dark doesn't feel dead */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(245,181,68,0.10), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(139,92,246,0.12), transparent 60%);
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.022em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
h3 { font-size: 1.16rem; margin-bottom: 10px; font-weight: 750; }
h4 { font-size: 0.95rem; font-weight: 700; }
p  { color: var(--ink-soft); }
a  { color: inherit; text-decoration: none; }

.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }

.grad-text {
  background: var(--grad-hot);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,18,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 15px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 850; font-size: 1.06rem; letter-spacing: -0.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad-hot);
  display: grid; place-items: center;
  font-size: 0.95rem; color: #14131c; font-weight: 900;
  box-shadow: 0 6px 20px rgba(245,181,68,0.32);
}
.brand-sub { display: block; font-size: 0.66rem; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.04em; text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 15px; border-radius: 9px; font-size: 0.9rem; font-weight: 600;
  color: var(--ink-soft); transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(255,255,255,0.06); color: var(--ink); }
.nav-links a.active { color: var(--gold); background: rgba(245,181,68,0.10); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.4rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 100px;
  font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-hot); color: #14131c;
  box-shadow: 0 10px 30px rgba(245,181,68,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245,181,68,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 78px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px;
  background: rgba(245,181,68,0.11); border: 1px solid rgba(245,181,68,0.28);
  color: var(--gold-soft); font-size: 0.78rem; font-weight: 700;
  margin-bottom: 22px; letter-spacing: 0.01em;
}
.hero h1 { margin-bottom: 20px; }

.hero-panel {
  background: var(--bg-panel);
  background-image: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.hero-panel h4 { color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.7rem; margin-bottom: 18px; }
.hero-list { list-style: none; display: grid; gap: 14px; }
.hero-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.93rem; color: var(--ink-soft); font-weight: 550; }
.hero-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-hot); flex-shrink: 0; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; position: relative; }
.section--alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--tight { padding: 48px 0; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--grad-hot); color: #14131c;
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 900; margin-bottom: 16px;
}
.card p { font-size: 0.92rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag {
  padding: 5px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  font-size: 0.73rem; font-weight: 650; color: var(--ink-soft);
}

/* ---------- Media / project cards ---------- */
.media-card {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.media-card:hover { transform: translateY(-5px); border-color: rgba(245,181,68,0.4); box-shadow: var(--shadow-glow); }
.media-thumb {
  aspect-ratio: 16 / 9; width: 100%;
  background: var(--bg-elevated) center/cover no-repeat;
  display: grid; place-items: center;
  color: var(--ink-faint); font-size: 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.media-thumb .play-badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,0.35); opacity: 0; transition: opacity .2s;
  font-size: 2.4rem; color: #fff;
}
.media-card:hover .play-badge { opacity: 1; }
.media-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.media-body h3 { margin-bottom: 6px; font-size: 1.02rem; }
.media-meta { font-size: 0.8rem; color: var(--ink-dim); margin-bottom: 10px; }

.featured-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 12px; border-radius: 100px;
  background: var(--grad-hot); color: #14131c;
  font-size: 0.68rem; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase;
}

/* ---------- Value / stat grids ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-item {
  padding: 22px; border-radius: var(--radius-sm);
  background: var(--bg-panel); border: 1px solid var(--line);
  font-weight: 650; font-size: 0.93rem; color: var(--ink-soft);
}
.value-item .num {
  font-size: 1.5rem; font-weight: 900; margin-bottom: 8px;
  background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.resp-grid { display: grid; gap: 10px; }
.resp-item {
  padding: 12px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  font-size: 0.88rem; color: var(--ink-soft);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--bg-panel);
  background-image: var(--grad-panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  box-shadow: var(--shadow);
}
.cta-banner h2 { margin-bottom: 8px; }
.cta-banner p { max-width: 56ch; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.form-row { margin-bottom: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
input, select, textarea {
  width: 100%; padding: 12px 15px;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 11px; color: var(--ink);
  font-family: inherit; font-size: 0.92rem;
  transition: border-color .16s, box-shadow .16s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,181,68,0.16);
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
textarea { min-height: 110px; resize: vertical; }
select option { background: var(--bg-panel); color: var(--ink); }
.form-note { font-size: 0.78rem; color: var(--ink-dim); margin-top: 12px; }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.checkbox-row input { width: auto; margin-top: 4px; flex-shrink: 0; }
.checkbox-row label { margin-bottom: 0; font-weight: 550; font-size: 0.85rem; color: var(--ink-dim); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-col h4 { margin-bottom: 14px; font-size: 0.87rem; }
.footer-col p, .footer-col li { font-size: 0.86rem; color: var(--ink-dim); }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--ink-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 14px 20px;
    background: var(--bg-panel); border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav-links { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .form-row.two, .form-row.three { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 26px; }
  .resp-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }
}
