/* Poker Tables page styles */

#poker-tables-main {
    background-color: var(--color-felt-navy);
    color: var(--color-off-white);
}

/* Hero */
.poker-hero {
    position: relative;
    background-color: var(--color-felt-navy-deep);
    overflow: hidden;
}

.poker-hero__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.poker-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poker-hero__scrim {
    position: absolute;
    inset: 0;
    background-color: rgba(8, 17, 28, 0.08);
    pointer-events: none;
}

.poker-hero__content {
    position: relative;
    padding-block: var(--space-48);
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    align-items: flex-start;
    max-width: var(--container-max);
    margin-inline: auto;
}

.poker-hero__content h1 {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--color-off-white);
    margin-block-end: 0;
    max-width: 680px;
}

.poker-hero__lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-off-white);
    max-width: 680px;
    margin-block-end: 0;
}

.poker-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-16);
    margin-block-start: var(--space-8);
}

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

/* Standard section */
.poker-standard {
    padding-block: var(--space-64);
}

.poker-standard__panel {
    background-color: var(--color-felt-navy-deep);
    border: var(--border-dark);
    border-top: 2px solid var(--color-timber);
    border-radius: var(--radius-4);
    padding: var(--space-32);
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

.poker-standard__panel h2 {
    font-size: clamp(24px, 3vw, 28px);
    color: var(--color-off-white);
    margin-block-end: 0;
}

.poker-standard__units {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

.poker-standard__unit {
    max-width: 680px;
    padding-block-end: var(--space-24);
    border-bottom: 1px solid rgba(244, 241, 234, 0.16);
}

.poker-standard__unit:last-child {
    border-bottom: none;
    padding-block-end: 0;
}

.poker-standard__unit h3 {
    font-size: 20px;
    color: var(--color-off-white);
    margin-block-end: var(--space-12);
}

.poker-standard__unit p {
    color: var(--color-off-white);
    margin-block-end: var(--space-12);
}

.poker-standard__unit p:last-of-type {
    margin-block-end: 0;
}

.poker-standard__label {
    display: inline-block;
    margin-block-start: var(--space-8);
    color: var(--color-cobalt);
    font-weight: 600;
}

/* Table category sections */
.poker-table-category {
    padding-block: var(--space-64);
}

.poker-table-category--classic,
.poker-table-category--event,
.poker-table-category--lounge {
    background-color: var(--color-felt-navy);
}

.poker-table-category--private,
.poker-table-category--tournament {
    background-color: var(--color-felt-navy-deep);
}

.poker-table-category__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-32);
    align-items: center;
}

.poker-table-category__text {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.poker-table-category__text h2 {
    font-size: clamp(24px, 3vw, 28px);
    color: var(--color-off-white);
    margin-block-end: 0;
}

.poker-table-category__text h3 {
    font-size: 20px;
    color: var(--color-off-white);
    margin-block-end: 0;
}

.poker-table-category__text p {
    color: var(--color-off-white);
    margin-block-end: 0;
}

.poker-table-category__text .btn-tertiary {
    align-self: flex-start;
}

.poker-table-category__label {
    display: inline-block;
    color: var(--color-cobalt);
    font-weight: 600;
}

.poker-table-category__media {
    width: 100%;
    border: var(--border-dark);
    border-radius: var(--radius-4);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.poker-table-category__media:hover {
    border-color: var(--color-timber-light);
}

.poker-table-category__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* Reservation CTA */
.poker-reservation {
    padding-block: var(--space-64);
    background-color: var(--color-felt-navy-deep);
}

.poker-reservation__panel {
    background-color: var(--color-felt-navy);
    border: var(--border-dark);
    border-top: 2px solid var(--color-timber);
    border-radius: var(--radius-4);
    padding: var(--space-32);
    max-width: 680px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    text-align: center;
    align-items: center;
}

.poker-reservation__panel h2 {
    font-size: clamp(24px, 3vw, 28px);
    color: var(--color-off-white);
    margin-block-end: 0;
}

.poker-reservation__panel p {
    color: var(--color-off-white);
    margin-block-end: 0;
}

.poker-reservation__panel a {
    color: var(--color-cobalt);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.poker-reservation__panel a:hover {
    color: var(--color-cobalt-deep);
}

.poker-reservation__panel .btn-primary {
    width: 100%;
}

/* Participation note */
.poker-note {
    padding-block: var(--space-64);
    background-color: var(--color-concrete);
    color: var(--color-graphite);
}

.poker-note__panel {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.poker-note__panel h2 {
    font-size: clamp(24px, 3vw, 28px);
    color: var(--color-graphite);
    margin-block-end: 0;
}

.poker-note__panel p {
    color: var(--color-graphite);
    margin-block-end: 0;
}

.poker-note__legal {
    font-size: 14px;
    color: var(--color-brick);
    font-weight: 600;
}

/* Tablet */
@media (min-width: 768px) {
    .poker-hero__media {
        aspect-ratio: 21 / 9;
    }

    .poker-hero__content {
        position: absolute;
        inset: 0;
        justify-content: center;
        padding-block: var(--space-64);
    }

    .poker-hero__actions .btn {
        width: auto;
    }

    .poker-standard__panel {
        padding: var(--space-48);
    }

    .poker-table-category__grid {
        grid-template-columns: 2fr 3fr;
        gap: var(--space-48);
    }

    .poker-table-category__grid--reverse {
        grid-template-columns: 3fr 2fr;
    }

    .poker-table-category__grid--reverse .poker-table-category__media {
        order: -1;
    }

    .poker-reservation__panel {
        padding: var(--space-48);
    }

    .poker-reservation__panel .btn-primary {
        width: auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .poker-hero__content h1 {
        font-size: 56px;
    }

    .poker-standard__units {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-32);
    }

    .poker-standard__unit {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        border-bottom: none;
        padding-block-end: 0;
        border-inline-end: 1px solid rgba(244, 241, 234, 0.16);
        padding-inline-end: var(--space-32);
    }

    .poker-standard__unit:last-child {
        border-inline-end: none;
        padding-inline-end: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .poker-table-category__media,
    .poker-hero__actions .btn,
    .poker-reservation__panel .btn-primary {
        transition-duration: 0ms;
    }
}
