/* ============================================
   ARKNIGHTS: ENDFIELD — Prelander Styles
   ============================================ */

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

:root {
  --bg: hsl(0 0% 3%);
  --fg: hsl(45 10% 90%);
  --primary: hsl(45 90% 55%);
  --primary-fg: hsl(0 0% 3%);
  --muted: hsl(0 0% 12%);
  --muted-fg: hsl(45 10% 55%);
  --border: hsl(45 20% 15%);
  --card: hsl(0 0% 7%);
  --radius: 0.5rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

/* Header */
.header {
  border-bottom: 1px solid hsl(45 20% 15% / 0.3);
  background: hsl(0 0% 3% / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 1rem 1rem;
}

.header-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

/* Main Section */
.hero-section {
  padding: 3rem 1rem 3rem;
}

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  text-align: center;
}

.hero-image-wrapper {
  flex: 1;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px hsl(45 90% 55% / 0.1);
}

/* Typography */
.headline {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--muted-fg);
  text-align: center;
  margin-top: 2.5rem;
}

/* Bullets */
.bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}

.bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.bullet-icon {
  margin-top: 0.125rem;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: hsl(45 90% 55% / 0.1);
  color: var(--primary);
}

.bullet-icon svg {
  width: 1rem;
  height: 1rem;
}

.bullet-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.bullet-desc {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* Credibility */
.credibility {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}

.credibility svg {
  width: 0.875rem;
  height: 0.875rem;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.25rem;
  color: var(--primary);
}

/* CTA */
.cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
  animation: cta-glow 2.5s ease-in-out infinite;
}

.cta-button:hover {
  transform: scale(1.05);
}

.cta-button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* CTA Glow */
@keyframes cta-glow {
  0%, 100% {
    box-shadow: 0 0 15px hsl(45 90% 55% / 0.3), 0 0 30px hsl(45 80% 45% / 0.15);
  }
  50% {
    box-shadow: 0 0 25px hsl(45 90% 55% / 0.5), 0 0 50px hsl(45 80% 45% / 0.25);
  }
}

/* Sticky Bottom Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: hsl(0 0% 3% / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  z-index: 50;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.sticky-bar.visible {
  transform: translateY(0);
}

/* Desktop */
@media (min-width: 768px) {
  .header-inner { padding: 1rem 2rem; }
  .header-logo { height: 2.5rem; }
  .hero-section { padding: 5rem 2rem 5rem; }
  .headline { font-size: 2.25rem; }
  .subtitle { font-size: 1.25rem; }
  .cta-button { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .hero-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }
  .hero-content {
    flex: 1;
    text-align: left;
  }
  .hero-image-wrapper {
    flex: 1;
    padding-top: 0;
  }
  .headline { font-size: 3rem; }
}
