/* Fonts: Orbitron (display), Rajdhani (body) */
:root {
  --bg: #0e0e10; /* grimdark */
  --bg-alt: #141418;
  --text: #e9e9ea;
  --muted: #b7b8bb;
  --red: #a31818;
  --red-light: #c23030;
  --border: #2a2a2f;
  --shadow: rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }

.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--red); color: #fff; padding: 8px 12px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; backdrop-filter: blur(6px); background: rgba(14,14,16,0.7); border-bottom: 1px solid var(--border); z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: 'Orbitron', sans-serif; font-weight: 700; letter-spacing: 0.5px; }
.brand-text { color: #fff; }
.main-nav { display: none; gap: 20px; }
.main-nav a { padding: 8px 12px; border-radius: 6px; }
.main-nav a:hover, .main-nav a:focus { background: #1a1a1e; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: transform 120ms ease, box-shadow 120ms ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px var(--shadow); }
.btn-primary { background: var(--red); color: #fff; }
.btn-outline { border: 1px solid var(--red); color: var(--text); }
.btn-secondary { background: #1c1c21; border: 1px solid var(--border); color: var(--text); }
.btn-signup { background: var(--red-light); color: #fff; }

/* Hero */
.hero { position: relative; min-height: 70vh; display: grid; align-items: center; overflow: clip; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(1200px 500px at 30% 30%, rgba(163,24,24,0.35), transparent 60%), radial-gradient(800px 400px at 70% 60%, rgba(194,48,48,0.25), transparent 60%), linear-gradient(180deg, rgba(0,0,0,0.2), transparent 40%); transform: translateZ(0); will-change: transform; }
.hero-content { position: relative; padding: 80px 0; text-align: left; }
.hero-title { font-family: 'Orbitron', sans-serif; font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 0 12px; text-shadow: 0 0 8px rgba(194,48,48,0.3); }
.hero-line.accent { color: var(--red-light); text-shadow: 0 0 12px rgba(194,48,48,0.5); }
.hero-sub { color: var(--muted); margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; }

/* Features */
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding: 0; margin: 24px 0 0; }
.badge { display: inline-block; background: #1e1e23; border: 1px solid var(--border); color: var(--red-light); font-family: 'Orbitron', sans-serif; padding: 4px 8px; margin-right: 6px; border-radius: 6px; font-size: 12px; }

/* Event badges */
.event-badges { display: flex; gap: 8px; margin-top: 8px; }
.tag { display: inline-block; border: 1px solid var(--border); background: #1b1b20; padding: 6px 10px; border-radius: 999px; font-size: 13px; color: var(--muted); }

/* Rules */
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rules li { border-left: 3px solid var(--red); padding-left: 12px; }

/* Masonry gallery */
.masonry { columns: 3 280px; column-gap: 12px; }
.masonry-item { break-inside: avoid; display: block; margin-bottom: 12px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: #121216; }
.masonry-item img { width: 100%; height: auto; display: block; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 2000; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 88vh; border: 2px solid var(--border); box-shadow: 0 20px 40px var(--shadow); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; border: none; font-size: 24px; cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #101015; padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.footer-copy { color: var(--muted); }

/* Responsive nav */
@media (min-width: 880px) {
  .main-nav { display: flex; }
}
@media (max-width: 879px) {
  .header-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 10px; }
}
