/* Theme: dark industrial / gaming — copper & cyan accents */
:root {
  --bg-deep: #07090e;
  --bg-panel: #0e1219;
  --bg-elevated: #141a24;
  --border: rgba(255, 200, 120, 0.12);
  --text: #e8ecf4;
  --text-muted: #8b95a8;
  --accent: #ff9a3c;
  --accent-2: #3dd6ff;
  --accent-glow: rgba(255, 154, 60, 0.35);
  --accent-2-glow: rgba(61, 214, 255, 0.25);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
  --radius: 14px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-accent {
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  color: #0a0c10;
  background: linear-gradient(135deg, var(--accent) 0%, #ffc56d 100%);
  box-shadow: 0 0 0 1px rgba(255, 200, 120, 0.4), 0 8px 32px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.5), 0 12px 40px var(--accent-glow);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: 0 0 24px transparent;
}

.btn-ghost:hover {
  border-color: rgba(61, 214, 255, 0.35);
  box-shadow: 0 0 32px var(--accent-2-glow);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .site-header .btn-small {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(255, 154, 60, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(61, 214, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(255, 154, 60, 0.08), transparent 45%),
    linear-gradient(180deg, #0a0d14 0%, var(--bg-deep) 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 200, 120, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 200, 120, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 70%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
  }
}

.hero-inner {
  position: relative;
  max-width: 40rem;
}

.hero-embed {
  margin: 0;
}

.hero-embed-label {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-embed-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(61, 214, 255, 0.06);
  aspect-ratio: 4 / 3;
  min-height: 220px;
}

.hero-embed-frame::after {
  content: "Open full schedule →";
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 1.25rem 1rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(7, 9, 14, 0.9);
  background: linear-gradient(transparent, rgba(7, 9, 14, 0.88));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-embed-frame:hover::after,
.hero-embed-frame:focus-within::after {
  opacity: 1;
}

.hero-embed-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-embed-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}

.hero-embed-hit:hover {
  text-decoration: none;
}

.hero-embed-hit:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.hero-embed-hint {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.gradient {
  background: linear-gradient(90deg, var(--accent), #ffd18a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-alt {
  background: linear-gradient(90deg, var(--accent-2), #9aefff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-stats dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.showcase {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(14, 18, 25, 0.65) 0%, var(--bg-deep) 100%);
}

.carousel-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(165deg, rgba(20, 26, 36, 0.95) 0%, rgba(7, 9, 14, 0.98) 100%);
  border: 1px solid rgba(255, 200, 120, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.showcase .carousel {
  margin: 0;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(61, 214, 255, 0.12);
  background: #05070b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

.carousel-counter {
  position: absolute;
  top: clamp(0.65rem, 2vw, 1rem);
  right: clamp(0.65rem, 2vw, 1rem);
  z-index: 3;
  margin: 0;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(7, 9, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.carousel-counter-sep {
  margin: 0 0.2em;
  opacity: 0.45;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

.carousel-slide {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  margin: 0;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  margin: 0;
  padding: clamp(2.5rem, 8vw, 3.25rem) clamp(1rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.35rem);
  background: linear-gradient(
    to top,
    rgba(4, 6, 10, 0.94) 0%,
    rgba(7, 9, 14, 0.65) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.carousel-caption-title {
  margin: 0 0 0.45rem;
  max-width: 42rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.carousel-caption-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}

.carousel-caption-text {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(232, 236, 244, 0.88);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.75);
}

@media (max-width: 520px) {
  .carousel-caption-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.carousel-fab {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease,
    transform 0.15s ease;
}

.carousel-fab:hover {
  border-color: rgba(61, 214, 255, 0.5);
  box-shadow: 0 0 32px var(--accent-2-glow), 0 8px 28px rgba(0, 0, 0, 0.45);
  color: var(--accent-2);
  transform: translateY(-1px);
}

.carousel-fab:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.carousel-fab:active {
  transform: translateY(0);
}

.carousel-fab-icon {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.carousel-fab-prev .carousel-fab-icon {
  margin-left: 3px;
  transform: rotate(135deg);
}

.carousel-fab-next .carousel-fab-icon {
  margin-right: 3px;
  transform: rotate(-45deg);
}

.carousel-fab-prev {
  left: clamp(0.5rem, 2vw, 1rem);
}

.carousel-fab-next {
  right: clamp(0.5rem, 2vw, 1rem);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.15rem auto 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(7, 9, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.carousel-dot[aria-current="true"] {
  width: 26px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px var(--accent-2-glow);
  transform: scale(1.02);
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: 0.04em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.features {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(61, 214, 255, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.card-feature h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.card-feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 154, 60, 0.15), rgba(61, 214, 255, 0.08));
  border: 1px solid var(--border);
}

.join-panel {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .join-panel {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.join-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2rem);
}

.join-copy > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.join-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.join-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.join-steps span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--bg-deep);
  background: var(--accent-2);
  border-radius: 8px;
}

.join-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 0 60px rgba(255, 154, 60, 0.06);
}

.join-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.ip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.ip {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  background: var(--bg-deep);
  border: 1px solid rgba(61, 214, 255, 0.25);
  border-radius: 10px;
  word-break: break-all;
}

.btn-copy {
  flex-shrink: 0;
}

.join-hint {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.join-hint code {
  font-size: 0.9em;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.community {
  text-align: center;
  border-top: 1px solid var(--border);
}

.community .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.footer-meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

.btn-copy.copied {
  background: linear-gradient(135deg, #5ce0a0 0%, #3dd6ff 100%);
  box-shadow: 0 0 24px rgba(92, 224, 160, 0.4);
}
