/* ============================================================
   ATLANTIC TCG — styles.css
   ============================================================ */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-primary:    #08111f;
  --bg-secondary:  #0d1a2d;
  --bg-card:       #0f1f35;
  --bg-card-hover: #142540;
  --accent:        #0ea5e9;
  --accent-dark:   #0284c7;
  --accent-glow:   rgba(14, 165, 233, 0.12);
  --accent-border: rgba(14, 165, 233, 0.28);
  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --nav-height:    72px;
  --section-pad:   96px 0;
  --container-max: 1200px;
  --radius:        12px;
  --radius-sm:     8px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad); }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(8, 17, 31, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.nav-links .nav-shop {
  color: #fff;
  background: var(--accent);
  margin-left: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.22);
}

.nav-links .nav-shop:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 3px 12px rgba(14, 165, 233, 0.32);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile {
  display: none;
  background: rgba(8, 17, 31, 0.98);
  backdrop-filter: blur(14px);
  padding: 8px 24px 16px;
  border-top: 1px solid var(--border-subtle);
}

.nav.nav-open .nav-mobile { display: block; }

.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--accent); }

.nav-mobile .nav-mobile-shop {
  margin-top: 12px;
  text-align: center;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 600;
  border-bottom: none;
}

.nav-mobile .nav-mobile-shop:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.28);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 36px rgba(14, 165, 233, 0.42);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--border-subtle);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 65%, rgba(14, 165, 233, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 105%, rgba(2, 132, 199, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 64px) 24px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* sr-only: visually hidden but readable by screen readers / search engines */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  height: 180px;
  width: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(150deg, #f8fafc 0%, #cbd5e1 70%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.375rem);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-location {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text .section-desc + .section-desc { margin-top: 16px; }

.legal-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-border);
  background: rgba(14, 165, 233, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.legal-note strong { color: var(--text-secondary); }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.highlight-tile {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.highlight-tile:hover {
  border-color: var(--accent-border);
  transform: translateX(4px);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
}

.highlight-tile h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight-tile p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--bg-primary); }

.products-header {
  text-align: center;
  margin-bottom: 56px;
}

.products-header .section-desc { margin: 0 auto; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.products-grid .product-card:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

.product-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.08);
}

.product-card:hover::before { opacity: 1; }

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.product-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands {
  background: var(--bg-secondary);
  text-align: center;
}

.brands-header { margin-bottom: 48px; }
.brands-header .section-desc { margin: 0 auto; }

.brands-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.brand-badge {
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
  cursor: default;
}

.brand-badge:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.12);
}

/* ============================================================
   COMING SOON
   ============================================================ */
.coming-soon {
  background: var(--bg-primary);
  text-align: center;
}

.coming-soon-inner {
  max-width: 680px;
  margin: 0 auto;
}

.coming-soon-inner .section-desc { margin: 0 auto 48px; }

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: left;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color 0.2s;
}

.checklist-item:hover { border-color: var(--accent-border); }

.checklist-dot {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid var(--accent-border);
  background: var(--accent-glow);
}

.checklist-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 0.875rem;
  opacity: 0.55;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-secondary); }

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-desc { margin: 0 auto; }

.contact-card {
  margin-top: 48px;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.contact-items {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-item:last-child { border-bottom: none; }

.contact-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-item-text { text-align: left; }

.contact-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-weight: 600;
}

.contact-item-value {
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

.contact-item-value a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.contact-item-value a:hover { opacity: 0.75; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.footer-tagline a {
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-sub {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 12px 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-glow);
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-link--soon {
  opacity: 0.35;
  cursor: not-allowed;
}

.social-link--soon:hover {
  color: var(--text-muted);
  border-color: var(--border-subtle);
  background: var(--bg-card);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-pad: 72px 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
    --nav-height:  64px;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-logo { height: 140px; width: 140px; }

  .products-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }

  .about-highlights {
    display: flex;
    flex-direction: column;
  }

  .contact-card { padding: 32px 24px; }

  .checklist-arrow { display: none; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-pad: 56px 0; }

  .brand-badge {
    padding: 11px 20px;
    font-size: 0.875rem;
  }
}

/* ============================================================
   LEGAL / CONTENT PAGES (about, shipping, returns, privacy, terms)
   ============================================================ */
.legal {
  padding: calc(var(--nav-height) + 56px) 0 96px;
  background: var(--bg-primary);
  min-height: 100vh;
}

.legal .container { max-width: 760px; }

.legal-header { margin-bottom: 40px; }

.legal-updated {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legal-body h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  color: var(--text-primary);
}

.legal-body h3:first-child { margin-top: 0; }

.legal-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-body ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.legal-body li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.legal-body strong { color: var(--text-primary); }

.legal-body a {
  color: var(--accent);
  transition: opacity 0.2s;
}

.legal-body a:hover { opacity: 0.75; }

.legal-body .legal-note { margin-top: 36px; }

.legal-body .btn { margin-top: 12px; }

/* ============================================================
   FOOTER — NAVIGATION LINKS & SUPPORT HOURS
   ============================================================ */
.footer-nav {
  max-width: var(--container-max);
  margin: 0 auto 28px;
  padding: 0 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent); }

.footer-hours {
  text-align: center;
  padding: 16px 24px 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-hours strong {
  display: block;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .footer-nav {
    gap: 8px 18px;
  }
}
