/*
Theme Name: Poker House LP
Theme URI: https://example.com/
Author: Codex
Description: A focused landing page theme for a poker house.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: poker-house-lp
*/

:root {
  --ink: #171513;
  --muted: #746f68;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #e5ded4;
  --felt: #0f6b4c;
  --felt-dark: #083b30;
  --gold: #c49a4b;
  --gold-light: #f5d77e;
  --red: #b93f3a;
  --shadow: 0 20px 54px rgba(23, 21, 19, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(251, 250, 247, 0.94), rgba(251, 250, 247, 0.94)),
    radial-gradient(circle at 18px 18px, rgba(196, 154, 75, 0.16) 1.4px, transparent 1.5px);
  background-size: auto, 36px 36px;
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 21, 19, 0.88);
  border-bottom: 1px solid rgba(245, 215, 126, 0.18);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
  white-space: nowrap;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--felt), #0d8a60);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 12px 22px rgba(15, 107, 76, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 215, 126, 0.88));
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.hero {
  --parallax-bg-y: 0px;
  --parallax-copy-y: 0px;
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--felt-dark);
  isolation: isolate;
}

.hero-parallax-bg {
  position: absolute;
  inset: -24% 0;
  background-image:
    linear-gradient(90deg, rgba(5, 12, 10, 0.9) 0%, rgba(5, 20, 16, 0.62) 45%, rgba(5, 20, 16, 0.28) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--parallax-bg-y), 0) scale(1.14);
  will-change: transform;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  left: -12%;
  top: 8%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 72%, rgba(245, 215, 126, 0.24), transparent 28%),
    linear-gradient(180deg, rgba(245, 215, 126, 0.12), transparent 30%, rgba(17, 21, 19, 0.28));
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 96px;
  transform: translate3d(0, var(--parallax-copy-y), 0);
  will-change: transform;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 22px 46px rgba(0, 0, 0, 0.48);
}

.headline-line {
  display: block;
}

.mobile-break {
  display: none;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  width: min(1120px, calc(100% - 32px));
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  border: 1px solid rgba(245, 215, 126, 0.28);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: var(--shadow);
  z-index: 2;
}

.stat {
  min-height: 92px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

main section {
  position: relative;
  padding: 86px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(251, 246, 234, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(23, 21, 19, 0.08);
}

.card-visual {
  width: 82px;
  height: 82px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--felt-dark);
  background:
    radial-gradient(circle at 70% 24%, rgba(245, 215, 126, 0.68), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(245, 215, 126, 0.2));
  border: 1px solid rgba(245, 215, 126, 0.32);
  border-radius: 50%;
}

.card-visual svg {
  width: 58px;
  height: 58px;
  fill: rgba(15, 107, 76, 0.12);
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-number {
  width: 30px;
  height: 30px;
  position: absolute;
  right: -4px;
  bottom: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--felt-dark));
  border: 1px solid rgba(245, 215, 126, 0.42);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.card p,
.plan p,
.event p,
.access p {
  margin: 0;
  color: var(--muted);
}

.band {
  background:
    linear-gradient(135deg, rgba(240, 236, 228, 0.96), rgba(248, 244, 235, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(196, 154, 75, 0.18), transparent 34%),
    radial-gradient(circle at 80% 72%, rgba(15, 107, 76, 0.14), transparent 30%);
}

.photos {
  padding-top: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 16px;
}

.photo-card {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(23, 21, 19, 0.16);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-card:hover img {
  transform: scale(1.035);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(17, 21, 19, 0.82));
}

.photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(253, 249, 238, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(23, 21, 19, 0.08);
}

.plan.featured {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(8, 59, 48, 0.98), rgba(17, 21, 19, 0.98)),
    radial-gradient(circle at 20% 0, rgba(245, 215, 126, 0.22), transparent 32%);
  border-color: rgba(245, 215, 126, 0.28);
  box-shadow: 0 24px 54px rgba(8, 59, 48, 0.24);
}

.plan.featured p,
.plan.featured li,
.plan.featured .table-rental span {
  color: rgba(255, 255, 255, 0.78);
}

.plan h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.price {
  margin: 14px 0 18px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}

.price small {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.table-rental {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.table-rental div {
  padding: 14px;
  background: rgba(196, 154, 75, 0.09);
  border: 1px solid rgba(196, 154, 75, 0.22);
  border-radius: var(--radius);
}

.table-rental strong,
.table-rental span {
  display: block;
}

.table-rental strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.table-rental span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li {
  padding: 10px 0;
  color: var(--muted);
  border-top: 1px solid rgba(229, 222, 212, 0.72);
}

.instagram-panel,
.instagram-embed {
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(17, 21, 19, 0.96), rgba(8, 59, 48, 0.94)),
    radial-gradient(circle at 18% 0, rgba(245, 215, 126, 0.22), transparent 30%);
  border: 1px solid rgba(245, 215, 126, 0.22);
  border-radius: var(--radius);
  color: #fff;
  box-shadow: 0 24px 54px rgba(23, 21, 19, 0.18);
}

.instagram-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.instagram-panel h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.instagram-panel p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.instagram-embed {
  padding: 20px;
}

.access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.access {
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(253, 249, 238, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(23, 21, 19, 0.08);
}

.info-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.info-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.info-list dd {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.icon-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--felt);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 154, 75, 0.62);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.icon-button.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.icon-button.labeled {
  width: auto;
  min-width: 160px;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  background: var(--felt);
  border-color: var(--felt);
  font-weight: 800;
}

.address-lines {
  line-height: 1.85;
}

.map-frame {
  min-height: 360px;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(23, 21, 19, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

.cta {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 21, 19, 0.98), rgba(8, 59, 48, 0.98)),
    radial-gradient(circle at 20% 0, rgba(245, 215, 126, 0.2), transparent 30%);
}

.cta .section-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #111513;
  font-size: 13px;
  border-top: 1px solid rgba(245, 215, 126, 0.16);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 820px) {
  .nav {
    height: auto;
    min-height: 66px;
    width: min(100% - 24px, 1120px);
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .nav > .button {
    display: none;
  }

  .brand {
    flex: 1 1 auto;
    gap: 8px;
    font-size: 15px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    display: block;
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 640px;
    font-size: clamp(36px, 9vw, 58px);
  }

  .hero-stats,
  .cards,
  .photo-grid,
  .plans,
  .access-grid,
  .cta .section-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: calc(100% - 24px);
    margin: 0 auto;
    border-radius: var(--radius);
  }

  .stat {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .section-head,
  .footer-inner {
    display: block;
  }

  .footer-inner > span {
    display: block;
  }

  .footer-inner > span + span {
    margin-top: 10px;
  }

  .section-head p {
    margin-top: 12px;
  }

  .instagram-panel {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  main section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(34px, 11vw, 42px);
    line-height: 1.05;
  }

  .mobile-break {
    display: inline;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-parallax-bg,
  .hero-inner {
    transform: none;
  }
}
