/* Poker Nights page styles */
#poker-nights-page {
  --butter: #F4D35E;
  --oxblood: #722F37;
  --powder-blue: #A8C3D6;
  --off-white: #F5F5F0;
  --ink: #2B2B2B;
}

#poker-nights-page .poker-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--ink);
}

#poker-nights-page .poker-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#poker-nights-page .poker-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#poker-nights-page .poker-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(43, 43, 43, 0.25) 0%, rgba(43, 43, 43, 0.75) 100%);
}

#poker-nights-page .poker-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 64px 48px;
}

#poker-nights-page .poker-hero__text {
  max-width: 600px;
  color: var(--off-white);
}

#poker-nights-page .poker-hero__title {
  color: var(--off-white);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  margin-bottom: 16px;
}

#poker-nights-page .poker-hero__lead {
  color: var(--off-white);
  font-size: 18px;
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 24px;
}

#poker-nights-page .poker-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

#poker-nights-page .poker-hero__secondary {
  color: var(--off-white);
  border-color: var(--off-white);
}

#poker-nights-page .poker-hero__secondary:hover {
  background-color: var(--off-white);
  color: var(--oxblood);
  border-color: var(--off-white);
}

#poker-nights-page .poker-social {
  background-color: var(--off-white);
}

#poker-nights-page .poker-social__container {
  position: relative;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

#poker-nights-page .poker-social__decor {
  flex: 0 0 8px;
  align-self: stretch;
  background-image: repeating-conic-gradient(var(--butter) 0% 25%, var(--off-white) 0% 50%, var(--butter) 0% 75%, var(--off-white) 0%);
  background-size: 16px 16px;
  border-radius: 4px;
  min-height: 120px;
}

#poker-nights-page .poker-social__content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 800px;
}

#poker-nights-page .poker-social__intro {
  max-width: 65ch;
  margin-bottom: 24px;
}

#poker-nights-page .poker-social__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#poker-nights-page .poker-social__card {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 24px;
  min-width: 0;
}

#poker-nights-page .poker-social__card h3 {
  margin-bottom: 16px;
}

#poker-nights-page .poker-social__card p:last-child,
#poker-nights-page .poker-social__card ul:last-child {
  margin-bottom: 0;
}

#poker-nights-page .poker-setup {
  background-color: var(--off-white);
}

#poker-nights-page .poker-setup__container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
}

#poker-nights-page .poker-setup__text {
  min-width: 0;
}

#poker-nights-page .poker-setup__text p {
  max-width: 45ch;
}

#poker-nights-page .poker-setup__text ul {
  max-width: 45ch;
}

#poker-nights-page .poker-setup__media {
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#poker-nights-page .poker-setup__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

#poker-nights-page .poker-pairings {
  background-color: var(--butter);
  position: relative;
}

#poker-nights-page .poker-pairings::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(rgba(245, 245, 240, 0.15) 0% 25%, transparent 0% 50%, rgba(245, 245, 240, 0.15) 0% 75%, transparent 0%);
  background-size: 32px 32px;
  pointer-events: none;
}

#poker-nights-page .poker-pairings__container {
  position: relative;
  z-index: 1;
}

#poker-nights-page .poker-pairings__content {
  max-width: 800px;
  margin-inline: auto;
}

#poker-nights-page .poker-pairings__content > p {
  max-width: 60ch;
}

#poker-nights-page .poker-pairings__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

#poker-nights-page .poker-pairings__card {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 24px;
  min-width: 0;
}

#poker-nights-page .poker-pairings__card h3 {
  margin-bottom: 16px;
}

#poker-nights-page .poker-pairings__card p:last-child,
#poker-nights-page .poker-pairings__card ul:last-child {
  margin-bottom: 0;
}

#poker-nights-page .poker-schedule {
  background-color: var(--off-white);
}

#poker-nights-page .poker-schedule__container {
  max-width: 700px;
  margin-inline: auto;
}

#poker-nights-page .poker-schedule__timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  padding-left: 32px;
}

#poker-nights-page .poker-schedule__timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--oxblood);
}

#poker-nights-page .poker-schedule__item {
  position: relative;
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}

#poker-nights-page .poker-schedule__item:last-child {
  padding-bottom: 0;
}

#poker-nights-page .poker-schedule__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--butter);
  border: 2px solid var(--oxblood);
  z-index: 1;
}

#poker-nights-page .poker-schedule__time {
  font-weight: 600;
  color: var(--oxblood);
  font-size: 16px;
  line-height: 1.4;
  padding-top: 2px;
}

#poker-nights-page .poker-schedule__content {
  min-width: 0;
}

#poker-nights-page .poker-schedule__content h3 {
  margin-bottom: 8px;
}

#poker-nights-page .poker-schedule__content p {
  max-width: 50ch;
  margin-bottom: 0;
}

#poker-nights-page .poker-etiquette {
  background-color: var(--off-white);
}

#poker-nights-page .poker-etiquette__container {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 48px;
  align-items: center;
}

#poker-nights-page .poker-etiquette__text {
  min-width: 0;
}

#poker-nights-page .poker-etiquette__text p,
#poker-nights-page .poker-etiquette__text ul {
  max-width: 45ch;
}

#poker-nights-page .poker-etiquette__graphic {
  min-width: 0;
  display: flex;
  justify-content: center;
}

#poker-nights-page .poker-etiquette__wheel {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid var(--oxblood);
  background-color: var(--powder-blue);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#poker-nights-page .poker-etiquette__wheel-number {
  position: absolute;
  font-size: 14px;
  font-weight: 600;
  color: var(--oxblood);
  transform: translate(-50%, -50%);
}

#poker-nights-page .poker-etiquette__wheel-number:nth-child(1) { top: 50%; left: 50%; font-size: 20px; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(2) { top: 8%; left: 50%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(3) { top: 20%; left: 82%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(4) { top: 50%; left: 92%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(5) { top: 80%; left: 82%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(6) { top: 92%; left: 50%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(7) { top: 80%; left: 18%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(8) { top: 50%; left: 8%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(9) { top: 20%; left: 18%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(10) { top: 8%; left: 50%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(11) { top: 20%; left: 82%; }
#poker-nights-page .poker-etiquette__wheel-number:nth-child(12) { top: 50%; left: 92%; }

#poker-nights-page .poker-reservations {
  background-color: var(--off-white);
  scroll-margin-top: 24px;
}

#poker-nights-page .poker-reservations__container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: start;
}

#poker-nights-page .poker-reservations__info {
  min-width: 0;
}

#poker-nights-page .poker-reservations__info p {
  max-width: 45ch;
}

#poker-nights-page .poker-reservations__contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

#poker-nights-page .poker-reservations__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

#poker-nights-page .poker-reservations__contact-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1.4;
}

#poker-nights-page .poker-reservations__contact-list a,
#poker-nights-page .poker-reservations__contact-list address {
  min-width: 0;
  overflow-wrap: anywhere;
}

#poker-nights-page .poker-reservations__form-wrapper {
  min-width: 0;
}

#poker-nights-page .poker-reservations__form {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#poker-nights-page .poker-reservations__form .form-row {
  margin-bottom: 0;
}

#poker-nights-page .poker-reservations__form input,
#poker-nights-page .poker-reservations__form select,
#poker-nights-page .poker-reservations__form textarea {
  border-color: var(--powder-blue);
}

#poker-nights-page .poker-reservations__form input:focus,
#poker-nights-page .poker-reservations__form select:focus,
#poker-nights-page .poker-reservations__form textarea:focus {
  border-color: var(--oxblood);
  box-shadow: 0 0 0 2px rgba(114, 47, 55, 0.15);
}

#poker-nights-page .poker-reservations__form .btn {
  margin-top: 8px;
}

#poker-nights-page .poker-reservations__form .form-hint {
  margin-top: -8px;
}

#poker-nights-page .poker-faq {
  background-color: var(--off-white);
  scroll-margin-top: 24px;
}

#poker-nights-page .poker-faq__container {
  max-width: 800px;
  margin-inline: auto;
}

#poker-nights-page .poker-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

#poker-nights-page .poker-faq__item {
  background-color: var(--off-white);
  border: 1px solid var(--powder-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#poker-nights-page .poker-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--oxblood);
  text-align: left;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

#poker-nights-page .poker-faq__question:hover {
  background-color: rgba(244, 211, 94, 0.2);
}

#poker-nights-page .poker-faq__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  position: relative;
}

#poker-nights-page .poker-faq__icon::before,
#poker-nights-page .poker-faq__icon::after {
  content: "";
  position: absolute;
  background-color: var(--oxblood);
  transition: transform 0.2s ease-in-out;
}

#poker-nights-page .poker-faq__icon::before {
  top: 50%;
  left: 0;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

#poker-nights-page .poker-faq__icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}

#poker-nights-page .poker-faq__item.is-open .poker-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

#poker-nights-page .poker-faq__answer {
  padding: 0 24px 24px;
  color: var(--ink);
}

#poker-nights-page .poker-faq__answer p {
  max-width: 60ch;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  #poker-nights-page .poker-hero {
    min-height: 480px;
  }

  #poker-nights-page .poker-setup__container {
    gap: 32px;
  }

  #poker-nights-page .poker-etiquette__container {
    gap: 32px;
  }

  #poker-nights-page .poker-reservations__container {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  #poker-nights-page .poker-hero {
    min-height: 0;
    align-items: flex-end;
  }

  #poker-nights-page .poker-hero__content {
    padding-block: 200px 32px;
  }

  #poker-nights-page .poker-hero__overlay {
    background: linear-gradient(180deg, rgba(43, 43, 43, 0.1) 0%, rgba(43, 43, 43, 0.85) 100%);
  }

  #poker-nights-page .poker-hero__title {
    font-size: clamp(36px, 4.5vw, 48px);
  }

  #poker-nights-page .poker-social__container {
    flex-direction: column;
    gap: 24px;
  }

  #poker-nights-page .poker-social__decor {
    flex: 0 0 8px;
    width: 100%;
    min-height: 8px;
    align-self: auto;
  }

  #poker-nights-page .poker-social__grid {
    grid-template-columns: 1fr;
  }

  #poker-nights-page .poker-setup__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #poker-nights-page .poker-setup__media {
    order: -1;
  }

  #poker-nights-page .poker-pairings__grid {
    grid-template-columns: 1fr;
  }

  #poker-nights-page .poker-schedule__item {
    grid-template-columns: 90px 1fr;
    gap: 12px;
  }

  #poker-nights-page .poker-etiquette__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #poker-nights-page .poker-etiquette__wheel {
    width: 180px;
    height: 180px;
  }

  #poker-nights-page .poker-reservations__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #poker-nights-page .poker-reservations__form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  #poker-nights-page .poker-hero__content {
    padding-block: 160px 24px;
  }

  #poker-nights-page .poker-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  #poker-nights-page .poker-hero__actions .btn {
    width: 100%;
  }

  #poker-nights-page .poker-schedule__timeline {
    padding-left: 24px;
  }

  #poker-nights-page .poker-schedule__timeline::before {
    left: 4px;
  }

  #poker-nights-page .poker-schedule__item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 0;
  }

  #poker-nights-page .poker-schedule__item::before {
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
  }

  #poker-nights-page .poker-schedule__time {
    font-size: 14px;
  }

  #poker-nights-page .poker-faq__question {
    font-size: 18px;
    padding: 16px 20px;
  }

  #poker-nights-page .poker-faq__answer {
    padding: 0 20px 20px;
  }

  #poker-nights-page .poker-reservations__form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #poker-nights-page .poker-faq__icon::before,
  #poker-nights-page .poker-faq__icon::after {
    transition: none;
  }
}
