/* Homepage only — Carolina State Network */

:root {
  --navy-950: #05070f;
  --text: #f1f5f9;
  --text-muted: #64748b;
  --glass-border: rgba(255, 255, 255, 0.08);
  --discord: #5865f2;
  --carolina: #4b9cd3;
  --radius-full: 9999px;
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28) contrast(1.1) saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(75, 156, 211, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.4) 0%, rgba(5, 7, 15, 0.55) 50%, var(--navy-950) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
}

.hero-logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 24px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  background: transparent;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), filter 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1.05rem;
}

.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-discord img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.home-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
