/* GOLFIN — site base */
:root {
  --golfin-bg: #0a0a0a;
  --golfin-panel: #111512;
  --golfin-panel-soft: #0d110f;
  --golfin-line: #242925;
  --golfin-muted: #aeb5b0;
  --golfin-green: #00c853;
  --golfin-green-light: #39d967;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #0A0A0A; font-family: 'DM Sans', 'Noto Sans JP', system-ui, sans-serif; }
img, picture, svg { max-width: 100%; }
a { color: #00C853; text-decoration: none; }
a:hover { color: #4ade80; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #00C853; outline-offset: 2px;
}
[hidden] { display: none !important; }
#tab-golf:hover, #tab-game:hover { border-color: #00C853; }
section[id] { scroll-margin-top: 76px; }

.site-page > header,
.sponsor-page > header {
  position: sticky !important;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 7vw, 96px) 18px !important;
}

.site-section:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 70%);
}

.section-inner {
  position: relative;
  z-index: 2;
}

.section-kicker {
  color: var(--golfin-green);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.site-section h2 {
  text-wrap: balance;
}

.entry-grid {
  align-items: stretch !important;
  gap: 24px !important;
}

.entry-card {
  max-width: 520px !important;
  padding: 30px !important;
  background:
    radial-gradient(circle at 50% 16%, rgba(0, 200, 83, 0.1), transparent 34%),
    linear-gradient(155deg, rgba(20, 27, 22, 0.94), rgba(8, 10, 9, 0.96));
  border-color: rgba(255, 255, 255, 0.11) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease;
}

.entry-card > img {
  width: auto !important;
  max-width: 230px !important;
  max-height: 380px;
  margin: 0 auto 26px !important;
  object-fit: contain;
  border: 0 !important;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.48));
}

.entry-card--golf > img {
  max-width: 270px !important;
}

.experience-flow {
  padding: 8px 0 0;
}

.flow-line {
  width: 2px !important;
  height: 42px !important;
  opacity: 0.9;
}

.flow-node {
  max-width: 520px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: linear-gradient(145deg, rgba(20, 26, 22, 0.96), rgba(9, 11, 10, 0.96)) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.flow-node--shared {
  border-color: rgba(0, 200, 83, 0.62) !important;
  background: linear-gradient(145deg, rgba(0, 200, 83, 0.1), rgba(8, 14, 10, 0.95)) !important;
}

.experience-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 200, 83, 0.08), transparent 28%),
    #080a09;
}

.experience-tabs {
  max-width: 680px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.experience-tabs button {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.experience-tabs button[aria-pressed="true"] {
  box-shadow: 0 10px 28px rgba(0, 200, 83, 0.18);
}

.site-page #panel-game,
.site-page #panel-golf {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(19, 24, 21, 0.9), rgba(8, 10, 9, 0.94));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.site-page #panel-game > div,
.site-page #panel-golf > div {
  gap: clamp(28px, 5vw, 64px) !important;
}

.experience-steps {
  gap: 10px !important;
}

.experience-steps > div {
  position: relative;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.experience-steps > div > div:first-child {
  flex: 0 0 34px !important;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 200, 83, 0.45);
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.08);
}

.experience-gallery {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
}

.privacy-section {
  background:
    radial-gradient(circle at 78% 48%, rgba(0, 200, 83, 0.11), transparent 29%),
    linear-gradient(180deg, #090c0a, #070807);
}

.privacy-layout {
  align-items: center !important;
  gap: clamp(40px, 7vw, 86px) !important;
}

.privacy-points > div:not(:last-child) {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(135deg, rgba(18, 24, 20, 0.9), rgba(8, 10, 9, 0.92));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.privacy-demo-legacy {
  display: none !important;
}

.privacy-device {
  position: relative;
  flex: 0 1 460px;
  min-width: 0;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.privacy-device::before {
  content: "";
  position: absolute;
  inset: 12% 3% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.2), transparent 68%);
  filter: blur(12px);
}

.privacy-device img {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.58));
}

.privacy-device-note {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin-top: 10px;
  color: #8f8f8f;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.idea-section {
  background:
    linear-gradient(90deg, rgba(4, 7, 5, 0.98) 0%, rgba(4, 7, 5, 0.86) 52%, rgba(4, 7, 5, 0.62) 100%),
    linear-gradient(0deg, rgba(4, 7, 5, 0.76), rgba(4, 7, 5, 0.2)),
    url("../img/hero-course-dawn-v2.jpg") center / cover no-repeat;
}

.idea-inner {
  max-width: 900px !important;
}

.idea-copy,
.idea-quote,
.concept-card {
  padding: clamp(22px, 3vw, 34px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  background: rgba(5, 9, 6, 0.68);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.idea-quote {
  max-width: 780px !important;
  border-left: 3px solid var(--golfin-green) !important;
}

.download-section {
  background:
    radial-gradient(circle at 82% 50%, rgba(0, 200, 83, 0.14), transparent 30%),
    #070907;
}

.download-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 20px 54px !important;
  align-items: center !important;
  padding: clamp(32px, 5vw, 64px) !important;
  border: 1px solid rgba(0, 200, 83, 0.34);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 200, 83, 0.09), transparent 46%),
    rgba(11, 15, 12, 0.94);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.download-inner > :not(.download-device) {
  grid-column: 1;
}

.download-logo {
  width: min(240px, 62%);
  height: auto;
}

.download-device {
  grid-column: 2;
  grid-row: 1 / span 6;
  width: 190px;
  justify-self: center;
}

.download-phone {
  position: relative;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 31px;
  background: linear-gradient(145deg, #282d2a, #050605 52%, #171917);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.58);
  transform: rotate(2deg);
}

.download-phone::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 42%;
  height: 14px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.download-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 25px;
}

.cta-primary {
  box-shadow: 0 12px 30px rgba(0, 200, 83, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.sponsor-page > section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 7vw, 96px) 18px !important;
}

.sponsor-page > section:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 75%);
}

.sponsor-page > section > div {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.sponsor-page > #top {
  min-height: clamp(520px, 68svh, 720px);
  justify-content: center;
  background:
    radial-gradient(circle at 72% 46%, rgba(0, 200, 83, 0.16), transparent 30%),
    linear-gradient(135deg, #071009, #080808 58%);
}

.sponsor-page > #top::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -52%;
  width: 78%;
  height: 80%;
  border: 10px solid rgba(0, 200, 83, 0.17);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.sponsor-page > #top > div {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
}

.sponsor-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 200, 83, 0.26);
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.06);
  color: #b8c1bb;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.sponsor-status span {
  color: var(--golfin-green);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sponsor-page section [style*="border:1px solid #1a1a1a"] {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(145deg, rgba(18, 23, 20, 0.82), rgba(9, 10, 9, 0.9));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.sponsor-page #contact > div > div:last-child {
  border-color: rgba(0, 200, 83, 0.24) !important;
  background: linear-gradient(145deg, rgba(18, 25, 20, 0.94), rgba(8, 10, 9, 0.96));
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.28);
}

.sponsor-page input,
.sponsor-page textarea {
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.sponsor-page input:focus,
.sponsor-page textarea:focus {
  border-color: var(--golfin-green) !important;
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

@media (hover: hover) {
  .entry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 200, 83, 0.4) !important;
  }

  .cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 200, 83, 0.24);
  }
}

@media (max-width: 760px) {
  html { scroll-behavior: auto; }

  .site-section,
  .sponsor-page > section {
    padding: 56px 16px !important;
  }

  .entry-card {
    padding: 24px !important;
  }

  .site-page #panel-game,
  .site-page #panel-golf {
    padding: 18px;
    border-radius: 18px;
  }

  .experience-steps > div {
    padding: 14px;
  }

  .privacy-device {
    flex-basis: 100%;
    min-height: 440px;
  }

  .privacy-device img {
    width: min(380px, 100%);
  }

  .idea-copy,
  .idea-quote,
  .concept-card {
    padding: 22px !important;
  }

  .download-inner {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    padding: 28px 22px !important;
    border-radius: 22px;
  }

  .download-device {
    width: 158px;
    align-self: center;
  }
}

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