/* PTG KOBE — COMPETITIVE POKER ARENA
   World view: 競技アリーナ × 黒×赤×銀 × 闘技場メタファー
   lp-studio / samples / ptg-kobe */

/* ===== TOKENS ===== */
:root {
  --void: #0c0c0e;
  --bg: #111114;
  --sur1: #1a1a1e;
  --sur2: #242428;
  --sur3: #2e2e34;
  --red: #c8202c;
  --red-dark: #8f1520;
  --red-glow: rgba(200,32,44,0.28);
  --silver: #c8c8d0;
  --silver-dim: #8a8a94;
  --white: #f4f4f8;
  --gunmetal: #2a2a32;
  --muted: #52525a;
  --border: rgba(200,200,208,0.07);
  --border-strong: rgba(200,200,208,0.14);
  --border-red: rgba(200,32,44,0.28);
}

/* ===== RESET ===== */
:root { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--silver);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== SAMPLE BAR ===== */
.sample-bar {
  background: var(--red);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  font-family: 'Oswald', sans-serif;
  position: relative;
  z-index: 1001;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 34px;
  left: 0; right: 0;
  z-index: 900;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, top 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12,12,14,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  top: 0;
  border-bottom-color: var(--border);
}
.nav-brand {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.1em;
}
.nav-brand span { color: var(--red); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--silver-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--silver);
  display: block;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--void);
}
/* Periodic scanline sweep */
.hero-scanline {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.hero-scanline::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, rgba(200,32,44,0.55) 30%, rgba(200,32,44,0.8) 50%, rgba(200,32,44,0.55) 70%, transparent 100%);
  top: -3px;
  animation: scanSweep 9s ease-in-out infinite 2s;
}
@keyframes scanSweep {
  0%   { top: -3px; opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}
/* Radial spotlight — red-tinted center */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 52%, #1e0c0d 0%, var(--void) 72%);
  z-index: 1;
}
/* Horizontal grid lines — arena grid effect */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 79px,
      rgba(200,200,208,0.022) 79px,
      rgba(200,200,208,0.022) 80px
    ),
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 119px,
      rgba(200,200,208,0.01) 119px,
      rgba(200,200,208,0.01) 120px
    );
  z-index: 2;
}

/* ===== HERO CORNER SUITS ===== */
.hero-suits {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-suits span {
  position: absolute;
  font-size: clamp(5rem, 12vw, 10rem);
  color: rgba(200,32,44,0.09);
  line-height: 1;
  font-family: serif;
  user-select: none;
  animation: suitFloat 7s ease-in-out infinite;
}
.suit-tl { top: 64px; left: 48px; animation-delay: 0s; }
.suit-tr { top: 64px; right: 48px; animation-delay: 1.75s; }
.suit-bl { bottom: 88px; left: 48px; animation-delay: 3.5s; }
.suit-br { bottom: 88px; right: 48px; animation-delay: 5.25s; }
@keyframes suitFloat {
  0%, 100% { opacity: 0.09; transform: translateY(0); }
  50%       { opacity: 0.18; transform: translateY(-10px); }
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 1100px;
}
.hero-pre {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(0.78rem, 2vw, 1.05rem);
  letter-spacing: 0.52em;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(6rem, 20vw, 18rem);
  line-height: 0.86;
  letter-spacing: 0.03em;
  color: var(--white);
  text-shadow:
    0 0 60px var(--red-glow),
    0 0 130px var(--red-glow);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(0.75rem, 2vw, 1.1rem);
  letter-spacing: 0.38em;
  color: var(--silver-dim);
  margin-bottom: 36px;
  display: block;
}
.hero-tagline {
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-bottom: 56px;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--red);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 15px 40px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 0 24px var(--red-glow);
}
.btn-outline {
  background: transparent;
  color: var(--silver-dim);
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 1px solid var(--border-strong);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--silver-dim);
  color: var(--white);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--red));
  animation: scrollDrop 1.9s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===== IDENTITY STRIP ===== */
.identity-strip {
  background: var(--sur1);
  border-top: 1px solid var(--border-red);
  border-bottom: 1px solid var(--border-red);
  padding: 20px 0;
}
.identity-facts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.identity-facts > span { padding: 4px 20px; }
.fact-sep { color: var(--red); opacity: 0.7; padding: 0 !important; }

/* ===== LAYOUT ===== */
.section { padding: 104px 0; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== SECTION HEAD ===== */
.section-head { margin-bottom: 64px; }
.round-label {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  color: var(--red);
  border: 1px solid var(--red);
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  margin-bottom: 20px;
}
.section-en {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 10px;
}
.section-ja {
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ===== ROUND I — COMPETE ===== */
#compete { background: var(--void); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-strong);
}
.pillar-card {
  padding: 0;
  border-right: 1px solid var(--border-strong);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: var(--sur1); }
/* Red top accent on hover */
.pillar-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.pillar-card:hover::after { transform: scaleX(1); }
.pillar-card-img {
  height: 180px;
  overflow: hidden;
}
.pillar-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.65);
  transition: transform 0.55s ease, filter 0.4s;
}
.pillar-card:hover .pillar-card-img img {
  transform: scale(1.06);
  filter: grayscale(0.2) brightness(0.75);
}
.pillar-body-wrap { padding: 32px 32px 40px; }
.pillar-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 4rem;
  color: rgba(200,200,208,0.06);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.pillar-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pillar-body {
  font-size: 0.83rem;
  line-height: 1.85;
  color: var(--silver-dim);
}

/* ===== X FEED ===== */
#feed { background: var(--void); border-top: 1px solid var(--border-red); }
.x-timeline-wrap {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  min-height: 400px;
}

/* ===== ROUND II — ENTRY ===== */
#entry { background: var(--bg); position: relative; }
#entry::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ctext x='10' y='52' font-size='38' fill='rgba(200%2C32%2C44%2C0.055)'%3E%E2%99%A0%3C%2Ftext%3E%3Ctext x='68' y='52' font-size='38' fill='rgba(200%2C32%2C44%2C0.055)'%3E%E2%99%A5%3C%2Ftext%3E%3Ctext x='10' y='108' font-size='38' fill='rgba(200%2C32%2C44%2C0.055)'%3E%E2%99%A6%3C%2Ftext%3E%3Ctext x='68' y='108' font-size='38' fill='rgba(200%2C32%2C44%2C0.055)'%3E%E2%99%A3%3C%2Ftext%3E%3C%2Fsvg%3E");
  pointer-events: none;
}
#entry .container { position: relative; z-index: 1; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-strong);
  border: 1px solid var(--border-strong);
}
.price-card {
  background: var(--sur1);
  padding: 40px 32px 44px;
  transition: background 0.25s;
}
.price-card:hover { background: var(--sur2); }
.price-badge {
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--border-red);
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 20px;
}
.price-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}
.price-main {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}
.price-main span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}
.price-note {
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}
.price-list { list-style: none; }
.price-list li {
  font-size: 0.82rem;
  color: var(--silver-dim);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.price-list li:last-child { border-bottom: none; }
.price-list li strong {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--silver);
  white-space: nowrap;
}

/* ===== ROUND III — TOURNAMENT ===== */
#tournament {
  background: var(--void);
  position: relative;
}
#tournament::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,32,44,0.07) 0%, transparent 70%);
  pointer-events: none;
}
#tournament .container { position: relative; z-index: 1; }
.events-list {
  border: 1px solid var(--border-strong);
}
.event-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.event-row:last-child { border-bottom: none; }
.event-row:hover { background: var(--sur1); }
.event-day {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  color: var(--red);
  letter-spacing: 0.04em;
  line-height: 1;
}
.event-time {
  font-family: 'Oswald', sans-serif;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 3px;
}
.event-name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
}
.event-desc {
  font-size: 0.76rem;
  color: var(--silver-dim);
  margin-top: 3px;
}
.event-meta {
  font-size: 0.73rem;
  color: var(--silver-dim);
  line-height: 1.6;
}
.event-meta strong {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--silver);
  display: block;
}
.event-entry {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  text-align: right;
}
.event-entry span {
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--muted);
  display: block;
  letter-spacing: 0.18em;
}

/* ===== ROUND IV — LOCATION ===== */
#location {
  background: var(--bg);
  position: relative;
}
#location::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(200,32,44,0.04) 100%);
  pointer-events: none;
}
#location .container { position: relative; z-index: 1; }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-strong);
}
.access-info {
  padding: 48px;
  border-right: 1px solid var(--border-strong);
}
.access-info-list { list-style: none; margin-top: 8px; }
.access-info-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: baseline;
}
.access-info-item:last-child { border-bottom: none; }
.access-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  padding-top: 3px;
}
.access-value {
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.7;
}
.map-frame { overflow: hidden; background: var(--sur1); }
.map-frame iframe {
  width: 100%; height: 100%;
  min-height: 380px;
  border: none;
  filter: brightness(0.8);
}

/* ===== ROUND V — CONTACT ===== */
#contact {
  background: var(--void);
  border-top: 1px solid var(--border-red);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border: 1px solid var(--border-strong);
}
.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 20px;
  border-right: 1px solid var(--border-strong);
  text-align: center;
  gap: 14px;
  cursor: pointer;
  transition: background 0.25s;
}
.contact-link:last-child { border-right: none; }
.contact-link:hover { background: var(--sur1); }
.contact-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.contact-cta {
  text-align: center;
  margin-top: 64px;
}
.contact-note {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--void);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.1em;
}
.footer-brand span { color: var(--red); }
.footer-copy {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.footer-kicker {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.16em;
}
.footer-kicker span { color: var(--red); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.revealed { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .suit-tl, .suit-tr { top: 40px; }
  .suit-tl, .suit-bl { left: 20px; }
  .suit-tr, .suit-br { right: 20px; }
  .suit-bl, .suit-br { bottom: 60px; }
  .hero-suits span { font-size: clamp(3rem, 10vw, 6rem); }

  .nav { padding: 12px 20px; }
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(12,12,14,0.98);
    border-top: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open a { display: block; padding: 14px 24px; }
  .nav-burger { display: flex; }

  .section { padding: 68px 0; }
  .container { padding: 0 20px; }

  .hero-title { font-size: clamp(5rem, 22vw, 8rem); }

  .pillar-grid { grid-template-columns: 1fr; border: 1px solid var(--border-strong); }
  .pillar-card { border-right: none; border-bottom: 1px solid var(--border-strong); }
  .pillar-card:last-child { border-bottom: none; }

  .pricing-grid { grid-template-columns: 1fr; }

  .event-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    padding: 20px;
  }
  .event-entry { grid-column: 2; grid-row: 1; }
  .event-meta { grid-column: 1; grid-row: 2; }

  .access-grid { grid-template-columns: 1fr; }
  .access-info {
    border-right: none;
    border-bottom: 1px solid var(--border-strong);
    padding: 32px 24px;
  }
  .map-frame iframe { min-height: 260px; }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-link { padding: 32px 12px; }

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

@media (max-width: 640px) {
  .hero-pre { letter-spacing: 0.28em; font-size: 0.68rem; }
  .hero-subtitle { letter-spacing: 0.2em; }
  .section-en { font-size: clamp(1.9rem, 9vw, 3rem); }
  .section-head { margin-bottom: 40px; }
  .event-row { grid-template-columns: 1fr; }
  .event-entry { text-align: left; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
  .identity-facts > span { padding: 4px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-line, .reveal, .hero-suits span, .hero-scanline::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-scanline { display: none; }
}
