:root {
  --bg: #050508;
  --bg-alt: #0c0c12;
  --card-bg: #111119;
  --accent: #d4a258;
  --accent-soft: rgba(212, 162, 88, 0.16);
  --text-main: #f5f3ee;
  --text-muted: #a7a4a0;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.45);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #1c150a 0, #050508 42%, #050508 100%);
}

body {
  min-height: 100vh;
}

/* Layout helpers */

main {
  padding-bottom: 4rem;
}

.section {
  padding: 4.5rem 1.5rem;
}

.section-alt {
  background: radial-gradient(circle at top, #15141e 0, #050508 48%);
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-family: "Playfair Display", "Inter", serif;
  font-size: 2.1rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.04em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 620px;
}

/* Header and nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 5, 8, 0.95), rgba(5, 5, 8, 0.7));
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fce5b0 0, #d4a258 35%, #8b5a27 70%, #2f1907 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #080508;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.club-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.86rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.25rem 0.1rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 140ms ease-out;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top, rgba(212, 162, 88, 0.2), rgba(212, 162, 88, 0.05));
  color: var(--text-main);
}

.logo-area {
  text-decoration: none;
  color: inherit;
}

/* Logo link should behave like the original div */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}


/* Hero */

.hero {
  padding: 3.25rem 1.5rem 4.5rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}

.hero-text p {
  margin: 0;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  margin: 1.75rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-note span {
  color: var(--accent);
  font-weight: 600;
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, rgba(212, 162, 88, 0.18), rgba(8, 8, 13, 0.96));
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem 1.3rem;
  border: 1px solid rgba(212, 162, 88, 0.35);
  box-shadow: var(--shadow-soft);
  max-width: 380px;
  justify-self: flex-end;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-tasting-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.hero-card-subtitle {
  margin: 0 0 0.8rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-featured-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-featured-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.hero-featured-name {
  font-weight: 500;
}

.hero-featured-tag {
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.55rem;
}

.hero-small-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-theme-label {
  font-size: 0.82rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 80ms ease-out, box-shadow 80ms ease-out, background 120ms ease-out, border-color 120ms ease-out;
}

.btn.primary {
  background: radial-gradient(circle at top, #fce5b0, #d4a258, #8b5a27);
  color: #120c06;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* About */

.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.6rem;
}

.about-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Tastings */

.tasting-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

.tasting-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1rem;
}

.tasting-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tasting-meta h3 {
  margin: 0;
  font-size: 1.05rem;
}

.tasting-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tasting-theme {
  font-size: 0.85rem;
  color: var(--accent);
}

.tasting-note {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.tasting-bottles {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.84rem;
}

.tasting-bottles-title {
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.tasting-bottles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tasting-bottles li {
  display: flex;
  justify-content: space-between;
}

/* Bottle list */

.filters {
  max-width: var(--max-width);
  margin: 0 auto 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 180px;
  flex: 1 1 0;
}

.filter-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.filter-group input,
.filter-group select {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 8, 12, 0.96);
  color: var(--text-main);
  font-size: 0.86rem;
}

.filter-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.bottle-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.bottle-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bottle-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.bottle-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.bottle-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 162, 88, 0.45);
  background: var(--accent-soft);
  color: var(--accent);
}

.bottle-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bottle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bottle-meta span {
  white-space: nowrap;
}

.bottle-notes {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-main);
}

/* Rules */

.rules-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rule-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border-subtle);
}

.rule-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.rule-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Join form */

.join-form {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.6rem 1.4rem;
  border: 1px solid var(--border-subtle);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  padding: 0.6rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border-subtle);
  background: rgba(6, 6, 10, 0.96);
  color: var(--text-main);
  font-size: 0.9rem;
  resize: vertical;
}

.small-text {
  font-size: 0.78rem;
}

.muted {
  color: var(--text-muted);
  margin-top: 0.7rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-note {
  opacity: 0.9;
}

/* Responsive */

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    justify-self: stretch;
  }

  .tasting-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===============================
   Whiskey Club Commandments
   =============================== */

.commandments-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.commandments-tablet {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 3.5rem;
  background: #f6f1e7;
  border: 10px solid #3a2c1a;
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.15),
    0 25px 60px rgba(0,0,0,0.25);
}

.tablet-title {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

.commandments-list {
  list-style: decimal;
  padding-left: 1.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  line-height: 1.9;
}

.commandments-list li {
  margin-bottom: 1rem;
}

/* ===============================
   Whiskey Club Commandments – Contrast Fix
   =============================== */

.commandments-tablet {
  color: #2b2116; /* dark parchment ink */
}

.commandments-tablet .tablet-title {
  color: #1f170f;
}

.commandments-list,
.commandments-list li {
  color: #2b2116;
}

/* Optional ink-on-parchment polish */
.commandments-list {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}


/* ===============================
   Tastings – Secondary Section
   =============================== */

.tastings-section .section-header h2 {
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.tastings-section .section-header p {
  font-size: 0.9rem;
  max-width: 520px;
}

.tastings-section {
  padding-top: 3.2rem;
}

.site-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.6);
}

/* ===============================
   Unicorn Reserve – Hero Feature
   =============================== */

.hero-unicorn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.hero-unicorn-image {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.hero-unicorn-caption h2 {
  margin: 0.3rem 0 0.2rem;
  font-size: 1.2rem;
}

.hero-unicorn-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
