/* Home page styles — scoped to page-owned sections */

.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--graphite-950);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(14, 17, 20, 0.35) 0%,
    rgba(14, 17, 20, 0.55) 45%,
    rgba(14, 17, 20, 0.85) 100%
  );
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: var(--space-9);
  padding-top: var(--space-10);
}

.home-hero__text {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  animation: homeFadeIn 400ms ease-out both;
}

.home-hero__eyebrow {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue-300);
  margin-block-end: 0;
}

.home-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 400;
  color: var(--ivory-100);
  margin-block-end: 0;
  max-width: 12ch;
}

.home-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--ivory-100);
  margin-block-end: 0;
  max-width: 68ch;
}

.home-hero__detail {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--ivory-300);
  margin-block-end: 0;
  max-width: 68ch;
}

.home-hero__cta {
  margin-block-start: var(--space-2);
}

@keyframes homeFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Offline Poker */
.home-offline {
  background-color: var(--graphite-950);
  border-top: var(--border-dark);
}

.home-offline__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-8);
  align-items: start;
}

.home-offline__left {
  min-width: 0;
}

.home-offline__left h2 {
  margin-block-end: var(--space-5);
}

.home-offline__left p {
  max-width: 60ch;
  color: var(--ivory-300);
  margin-block-end: var(--space-4);
}

.home-offline__right {
  min-width: 0;
  border-left: 1px solid var(--graphite-800);
  padding-left: var(--space-6);
}

.home-offline__right h3 {
  margin-block-end: var(--space-4);
}

.home-offline__right p {
  max-width: 55ch;
  color: var(--ivory-300);
  margin-block-end: var(--space-5);
}

.home-offline__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-end: 0;
}

.home-offline__list li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--ivory-100);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.home-offline__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--blue-500);
}

/* Poker Room */
.home-poker-room {
  background-color: var(--graphite-900);
  border-top: var(--border-dark);
  border-bottom: var(--border-dark);
}

.home-poker-room__grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-8);
  align-items: start;
}

.home-poker-room__text {
  min-width: 0;
}

.home-poker-room__text h2 {
  margin-block-end: var(--space-5);
}

.home-poker-room__text h3 {
  margin-block-start: var(--space-6);
  margin-block-end: var(--space-4);
}

.home-poker-room__text p {
  max-width: 60ch;
  color: var(--ivory-300);
  margin-block-end: var(--space-4);
}

.home-poker-room__media {
  min-width: 0;
  border-radius: var(--radius-0);
  overflow: hidden;
}

.home-poker-room__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* Poker Tables */
.home-tables {
  background-color: var(--graphite-950);
  border-top: var(--border-dark);
}

.home-tables__intro {
  max-width: 720px;
  margin-block-end: var(--space-8);
}

.home-tables__intro h2 {
  margin-block-end: var(--space-5);
}

.home-tables__intro p {
  color: var(--ivory-300);
  margin-block-end: var(--space-4);
}

.home-tables__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.home-tables__card {
  background-color: var(--graphite-900);
  border: 1px solid var(--graphite-800);
  border-radius: var(--radius-2);
  padding: var(--space-6);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--transition-fast);
}

.home-tables__card:hover {
  border-color: var(--blue-500);
}

.home-tables__icon {
  width: 40px;
  height: 40px;
  color: var(--blue-500);
  flex-shrink: 0;
}

.home-tables__icon svg {
  width: 100%;
  height: 100%;
}

.home-tables__card h3 {
  margin-block-end: 0;
}

.home-tables__card p {
  color: var(--ivory-300);
  margin-block-end: 0;
  max-width: 50ch;
}

/* Card Lounge */
.home-lounge {
  background-color: var(--graphite-900);
  border-top: var(--border-dark);
  border-bottom: var(--border-dark);
}

.home-lounge__intro {
  max-width: 720px;
  margin-block-end: var(--space-8);
}

.home-lounge__intro h2 {
  margin-block-end: var(--space-5);
}

.home-lounge__intro p {
  color: var(--ivory-300);
  margin-block-end: var(--space-4);
}

.home-lounge__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-8);
  align-items: start;
}

.home-lounge__media {
  min-width: 0;
  border-radius: var(--radius-0);
  overflow: hidden;
}

.home-lounge__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.home-lounge__text {
  min-width: 0;
}

.home-lounge__text h3 {
  margin-block-end: var(--space-4);
}

.home-lounge__text p {
  max-width: 55ch;
  color: var(--ivory-300);
  margin-block-end: var(--space-4);
}

/* Poker Events */
.home-events {
  background-color: var(--timber-900);
  border-top: var(--border-dark);
  border-bottom: var(--border-dark);
}

.home-events__intro {
  margin-block-end: var(--space-8);
}

.home-events__intro h2 {
  margin-block-end: var(--space-5);
}

.home-events__intro p {
  color: var(--ivory-300);
  margin-block-end: var(--space-4);
}

.home-events__list {
  border-top: 1px solid var(--graphite-800);
  padding-top: var(--space-6);
}

.home-events__list h3 {
  margin-block-end: var(--space-4);
}

.home-events__list > p {
  color: var(--ivory-300);
  margin-block-end: var(--space-5);
}

.home-events__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-block-end: var(--space-5);
}

.home-events__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--graphite-800);
  transition: color var(--transition-fast);
}

.home-events__item:hover .home-events__date {
  color: var(--blue-300);
}

.home-events__date {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue-500);
  transition: color var(--transition-fast);
}

.home-events__desc {
  color: var(--ivory-100);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.home-events__note {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--ivory-300);
  margin-block-end: 0;
}

/* Restaurant */
.home-restaurant {
  background-color: var(--graphite-950);
  border-top: var(--border-dark);
}

.home-restaurant__grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--space-8);
  align-items: start;
}

.home-restaurant__text {
  min-width: 0;
}

.home-restaurant__text h2 {
  margin-block-end: var(--space-5);
}

.home-restaurant__text p {
  max-width: 60ch;
  color: var(--ivory-300);
  margin-block-end: var(--space-4);
}

.home-restaurant__media {
  min-width: 0;
  border-radius: var(--radius-0);
  overflow: hidden;
}

.home-restaurant__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* Location */
.home-location {
  background-color: var(--graphite-900);
  border-top: var(--border-dark);
  border-bottom: var(--border-dark);
}

.home-location__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-8);
  align-items: start;
}

.home-location__info {
  min-width: 0;
}

.home-location__info h2 {
  margin-block-end: var(--space-5);
}

.home-location__info p {
  max-width: 60ch;
  color: var(--ivory-300);
  margin-block-end: var(--space-5);
}

.home-location__address {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-style: normal;
  margin-block-end: var(--space-5);
}

.home-location__address span,
.home-location__address a {
  color: var(--ivory-100);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.home-location__address a:hover {
  color: var(--blue-300);
}

.home-location__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-end: 0;
}

.home-location__details li {
  color: var(--ivory-300);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.home-location__map {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-2);
  border: 1px solid var(--graphite-800);
  aspect-ratio: 4 / 3;
  background-color: var(--graphite-950);
}

.home-location__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Reveal animations */
.reveal-media {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal-media.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1023px) {
  .home-offline__grid,
  .home-poker-room__grid,
  .home-lounge__grid,
  .home-restaurant__grid,
  .home-location__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .home-offline__right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--graphite-800);
    padding-top: var(--space-6);
  }

  .home-tables__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__content {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: 70vh;
  }

  .home-hero__bg img {
    object-position: center 70%;
  }

  .home-hero__content {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
  }

  .home-hero__title {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
  }

  .home-hero__lead {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .home-tables__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-tables__card {
    padding: var(--space-5);
  }

  .home-location__map {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 479px) {
  .home-hero__text {
    gap: var(--space-4);
  }

  .home-hero__cta {
    width: 100%;
    justify-content: center;
  }

  .home-offline__grid,
  .home-poker-room__grid,
  .home-lounge__grid,
  .home-restaurant__grid,
  .home-location__grid {
    gap: var(--space-5);
  }
}
