/* Shared Golfapedia Atlas 3D frame for every licensing page. */
:root {
  color-scheme: dark;
  --gp-green: #22c55e;
  --gp-green-light: #86efac;
  --gp-ink: #e8ede9;
  --gp-muted: #b8c4bb;
  --gp-bg: #071310;
  --gp-card: #0d1f17;
  --gp-card-raised: #10291d;
  --gp-border: rgba(255, 255, 255, .1);
  --gp-gold: #f2c14e;
  --gp-radius: 18px;
  --atlas-hero-height: 340px;
}

html { min-height: 100%; scrollbar-gutter: stable; background: var(--gp-bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--gp-ink);
  background: var(--gp-bg);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: var(--gp-green-light); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gp-green-light);
  outline-offset: 3px;
}

/* Header follows the main www.golfapedia.org desktop and mobile shell. */
.gp-header {
  position: relative;
  z-index: 20;
  background: #091a11;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.gp-header-inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 912px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}
.gp-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.gp-brand img { width: 30px; height: 34px; object-fit: contain; }
.gp-brand-edition { color: #52b788; font-weight: 600; }
.gp-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}
.gp-nav a {
  padding: 8px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.gp-nav a:hover, .gp-nav a:focus-visible { color: #fff; background: rgba(255, 255, 255, .09); }
.gp-nav a.active, .gp-nav a[aria-current="page"] { color: #8ce6b1; background: #193f2b; }
.atlas-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.atlas-language {
  position: relative;
  display: grid;
  flex: 0 0 80px;
  place-items: center;
  height: 32px;
  overflow: hidden;
  border: 1px solid #345947;
  border-radius: 8px;
  color: #e8ede9;
  background: #102b1e;
  font-size: 12px;
}
.atlas-language > span { position: relative; z-index: 1; pointer-events: none; }
#atlas-translate { position: absolute; inset: 0; opacity: 0; }
.goog-te-gadget { font-size: 0 !important; }
.goog-te-gadget > span { display: none; }
#atlas-translate select { width: 100%; height: 100%; margin: 0; border: 0; color: #e8ede9; background: #102b1e; font: 12px Inter, sans-serif; cursor: pointer; }
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* Golf course banner: same image-led, rounded hero used across the main site. */
.atlas-hero {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: calc(100% - 48px);
  max-width: 1200px;
  height: var(--atlas-hero-height);
  margin: 8px auto;
  padding: 24px 32px;
  overflow: hidden;
  border: 1px solid rgba(74, 222, 128, .18);
  border-radius: 22px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(125deg, rgba(4, 11, 7, .48), rgba(8, 20, 12, .32) 50%, rgba(4, 11, 7, .24)),
    url("/images/hero_desktop.png") 22% 42% / cover no-repeat;
  box-shadow: 0 28px 64px rgba(0, 0, 0, .45) !important;
}
.atlas-hero h1 {
  max-width: 1180px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.atlas-hero p {
  max-width: 1000px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.55;
}
.atlas-hero-home { gap: 10px; }
.atlas-hero-note { max-width: 820px; margin: 14px auto 0; color: var(--gp-muted); font-size: 1rem; line-height: 1.45; }
.atlas-hero .gp-badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.atlas-hero .gp-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border: 1px solid rgba(242,193,78,.55);
  border-radius: 999px;
  color: #f5dfa3;
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 700;
}
.atlas-hero .gp-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.atlas-hero .gp-cta-row .gp-btn { min-height: 48px; padding: 12px 28px; font-size: 16px; }
.atlas-hero .atlas-hero-note { margin: 0; }
.atlas-social-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.hero-social-media { display: flex; align-items: center; gap: 10px; }
.hero-social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.35);
}
.hero-social-media a:hover { color: #fff; border-color: rgba(74,222,128,.65); background: rgba(34,197,94,.2); }
.hero-social-media svg { width: 20px; height: 20px; }

/* The content below the banner stays legible on the same dark green canvas. */
.atlas-page-content { min-height: 180px; }
.gp-container { width: min(1200px, calc(100% - 48px)); max-width: 1200px; margin-right: auto; margin-left: auto; }
.gp-section { padding: 36px 0; background: transparent !important; }
.gp-section h1, .gp-section h2, .gp-card h3, .gp-modal h3 { color: var(--gp-ink); }
.gp-section .gp-lead, .gp-card p, .gp-help { color: var(--gp-muted); }
.gp-grid, .gp-pricing-grid { gap: 20px; }
.gp-card, .gp-modal {
  color: var(--gp-ink);
  background: var(--gp-card);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  box-shadow: 0 12px 30px rgba(0,0,0,.22) !important;
}
.gp-price-card-featured { border-color: #52b788; box-shadow: 0 12px 30px rgba(0,0,0,.32) !important; }
.gp-featured-tag { color: #081b12; background: var(--gp-gold); }
.gp-field input, .gp-field textarea, .gp-field select, .gp-row input {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #3c604d;
  border-radius: 8px;
  color: var(--gp-ink);
  background: var(--gp-card-raised);
}
.gp-field input[readonly] { color: #c1d2c7; background: #102519; }
.gp-row input { flex: 1 1 230px; }
.gp-row > * { min-width: 0; }
.gp-table { display: block; overflow-x: auto; color: var(--gp-ink); }
.gp-table th, .gp-table td { border-color: var(--gp-border); }
.gp-table th { color: var(--gp-muted); }
.gp-alert-info { color: #d9e9f7; background: #13283a; }
.gp-alert-ok { color: #c8f2d4; background: #123322; }
.gp-alert-bad { color: #ffd9d5; background: #3a1917; }
.gp-badge-ok { color: #c8f2d4; background: #123322; }
.gp-badge-warn { color: #ffe6a8; background: #3a3015; }
.gp-badge-bad { color: #ffd9d5; background: #3a1917; }
.gp-step-num { color: #081b12; }
.gp-btn { border-radius: 10px; transition: background .15s ease, box-shadow .15s ease, transform .15s ease; }
.gp-btn-primary { color: #fff; background: #216b51; border-color: #216b51; }
.gp-btn-primary:hover { color: #fff; background: #2b8062; border-color: #2b8062; }
.gp-btn-gold { color: #101a14; background: var(--gp-gold); border-color: var(--gp-gold); }
.gp-btn-gold:hover { color: #101a14; background: #ffd66c; }
.gp-btn-ghost { color: var(--gp-ink); background: #132e21; border-color: #345947; }
.gp-btn-ghost:hover { color: #fff; background: #1c432f; border-color: #52b788; }
.gp-faq summary { color: var(--gp-green-light); }
.gp-faq details { border: 1px solid var(--gp-border); border-radius: 10px; background: var(--gp-card); }
.gp-faq details p { color: var(--gp-muted); }
.gp-codebox, .gp-tour { background: #081a12; }
.gp-dl dt { color: var(--gp-muted); }
.gp-footer {
  box-sizing: border-box;
  width: min(1200px, calc(100% - 48px));
  margin: 44px auto 0;
  padding: 30px 24px;
  border: 1px solid var(--gp-border);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  color: #cbd5cf;
  background: linear-gradient(180deg, #15231c, #0e1914);
}
.gp-footer-inner { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.gp-footer a { color: #b8e8ca; text-decoration: none; }
.gp-footer a:hover { color: #fff; text-decoration: underline; }
.gp-fab, .gp-toast { background: #216b51; }

@media (max-width: 1100px) {
  .gp-header-inner { gap: 8px; }
  .gp-brand { font-size: 22px; }
  .gp-brand img { width: 30px; height: 34px; }
  .gp-nav { gap: 0; }
  .gp-nav a { padding: 8px 6px; font-size: 13px; }
  .atlas-language { flex-basis: 80px; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  :root { --atlas-hero-height: 440px; }
}
@media (max-width: 768px) {
  :root { --atlas-hero-height: 560px; }
  .gp-header-inner { position: relative; max-width: 100%; height: 72px; justify-content: space-between; padding: 0 16px; gap: 10px; }
  .gp-brand { gap: 7px; font-size: 20px; }
  .gp-brand img { width: 30px; height: 32px; }
  .atlas-menu-toggle { display: inline-flex; order: 3; }
  .atlas-language { flex-basis: 70px; height: 36px; }
  .gp-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 30;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 16px;
    border-bottom: 1px solid #345947;
    background: #091a11;
  }
  .gp-nav.open { display: flex; }
  .gp-nav a { padding: 10px; font-size: 14px; }
  .atlas-hero {
    width: calc(100% - 32px);
    margin: 8px auto;
    padding: 28px 20px;
    gap: 22px;
    background-image: linear-gradient(125deg, rgba(4,11,7,.5), rgba(8,20,12,.34) 50%, rgba(4,11,7,.26)), url("/images/hero_cellphone.png");
    background-position: center;
  }
  .atlas-hero h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .atlas-hero p { font-size: 1rem; }
  .atlas-social-row { gap: 12px; }
  .gp-container, .gp-footer { width: calc(100% - 32px); }
  .gp-section { padding: 26px 0; }
  .gp-pricing-grid, .gp-grid { grid-template-columns: 1fr; }
  .gp-dl { grid-template-columns: 1fr; }
  .gp-footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .gp-header-inner { gap: 6px; padding: 0 12px; }
  .gp-brand { font-size: 17px; }
  .gp-brand img { width: 26px; }
  .atlas-language { flex-basis: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
