/* Page-owned styles for Klub Pokerowy */

.poker-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-base);
}

.poker-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.poker-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(13, 11, 10, 0.8), rgba(13, 11, 10, 0.8));
}

.poker-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  text-align: center;
  padding-block: var(--space-8);
}

.poker-hero__title {
  color: var(--text-primary);
  margin-block-end: 0;
  max-width: 12ch;
  text-align: center;
}

.poker-hero__lead {
  color: var(--text-secondary);
  max-width: 65ch;
  margin-inline: auto;
  text-align: center;
  margin-block-end: 0;
}

.poker-hero__cta {
  margin-top: var(--space-3);
}

.poker-about {
  background-color: var(--bg-base);
}

.poker-about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.poker-about__copy {
  grid-column: span 7;
  min-width: 0;
}

.poker-about__media {
  grid-column: span 5;
  min-width: 0;
  margin: 0;
}

.poker-about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(0.9);
}

.poker-about__title {
  margin-block-end: var(--space-5);
}

.poker-about__intro {
  color: var(--text-secondary);
  max-width: 65ch;
  margin-block-end: var(--space-5);
}

.poker-about__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-about__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--text-primary);
  margin: 0;
}

.poker-about__feature-icon {
  color: var(--accent-brass);
  flex-shrink: 0;
  line-height: 1.6;
}

.poker-games {
  background-color: var(--bg-base);
}

.poker-games__title {
  margin-block-end: var(--space-6);
}

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

.poker-game-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sharp);
  padding: var(--space-5);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--transition-fast);
  min-width: 0;
}

.poker-game-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.poker-game-card__title {
  margin-block-end: 0;
  color: var(--text-primary);
}

.poker-game-card__description {
  color: var(--text-secondary);
  margin-block-end: 0;
}

.poker-tournaments {
  background-color: var(--bg-elevated);
}

.poker-tournaments__title {
  margin-block-end: var(--space-6);
}

.poker-tournaments__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.poker-tournaments__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  border-left: 3px solid var(--accent-brass);
  padding-left: var(--space-4);
  margin: 0;
}

.poker-tournaments__step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-brass);
  color: var(--bg-base);
  font-weight: 700;
  border-radius: var(--radius-round);
}

.poker-tournaments__step-content {
  min-width: 0;
  flex: 1;
}

.poker-tournaments__step-title {
  margin-block-end: var(--space-2);
  color: var(--text-primary);
}

.poker-tournaments__step-text {
  color: var(--text-secondary);
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-atmosphere {
  background-color: var(--bg-base);
}

.poker-atmosphere__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.poker-atmosphere__copy {
  grid-column: span 8;
  min-width: 0;
}

.poker-atmosphere__media {
  grid-column: span 4;
  min-width: 0;
  margin: 0;
}

.poker-atmosphere__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(0.9);
}

.poker-atmosphere__title {
  margin-block-end: var(--space-5);
}

.poker-atmosphere__text {
  color: var(--text-secondary);
  max-width: 65ch;
  margin-block-end: var(--space-5);
}

.poker-atmosphere__quote {
  background-color: var(--bg-subtle);
  border-left: 3px solid var(--accent-brass);
  padding: var(--space-5);
  margin-block-end: 0;
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.poker-atmosphere__quote p {
  margin-block-end: 0;
}

.poker-rules {
  background-color: var(--bg-base);
}

.poker-rules__title {
  margin-block-end: var(--space-6);
}

.poker-rules__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7);
}

.poker-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.poker-rules__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--text-primary);
  margin: 0;
}

.poker-rules__icon {
  color: var(--accent-brass);
  flex-shrink: 0;
  line-height: 1.6;
}

.poker-reservation {
  background-color: var(--bg-base);
}

.poker-reservation__container {
  max-width: 600px;
  margin-inline: auto;
}

.poker-reservation__title {
  text-align: center;
  margin-block-end: var(--space-5);
}

.poker-reservation__card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sharp);
  padding: var(--space-5);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.poker-reservation__intro {
  color: var(--text-secondary);
  margin-block-end: 0;
  text-align: center;
}

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

.poker-reservation__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.poker-reservation__field label {
  margin-block-end: 0;
}

.poker-reservation__submit {
  width: 100%;
  margin-top: var(--space-2);
}

.poker-reservation__message {
  margin-block-end: 0;
  text-align: center;
  font-weight: 500;
}

.poker-reservation__message[data-state="success"] {
  color: var(--success);
}

.poker-reservation__message[data-state="error"] {
  color: var(--error);
}

.poker-faq {
  background-color: var(--bg-elevated);
}

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

.poker-faq__title {
  text-align: center;
  margin-block-end: var(--space-6);
}

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

.poker-faq__item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sharp);
  background-color: var(--bg-base);
  overflow: hidden;
}

.poker-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.poker-faq__question:hover,
.poker-faq__question[aria-expanded="true"] {
  color: var(--accent-brass);
}

.poker-faq__icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  position: relative;
}

.poker-faq__icon::before,
.poker-faq__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform var(--transition-fast);
}

.poker-faq__icon::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.poker-faq__icon::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.poker-faq__question[aria-expanded="true"] .poker-faq__icon::after {
  transform: scaleY(0);
}

.poker-faq__answer {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-secondary);
}

.poker-faq__answer p {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-faq__answer[hidden] {
  display: none;
}

@media (max-width: 1023px) {
  .poker-about__grid,
  .poker-atmosphere__grid {
    grid-template-columns: 1fr;
  }

  .poker-about__copy,
  .poker-about__media,
  .poker-atmosphere__copy,
  .poker-atmosphere__media {
    grid-column: auto;
  }

  .poker-about__media img,
  .poker-atmosphere__media img {
    aspect-ratio: 16 / 9;
  }

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

  .poker-rules__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 767px) {
  .poker-hero {
    min-height: auto;
    padding-block: var(--space-8);
  }

  .poker-hero__content {
    padding-block: var(--space-7);
    gap: var(--space-4);
  }

  .poker-hero__title {
    max-width: 100%;
  }

  .poker-hero__lead {
    max-width: 100%;
  }

  .poker-hero__cta {
    width: 100%;
  }

  .poker-about__grid,
  .poker-atmosphere__grid {
    gap: var(--space-5);
  }

  .poker-about__media img,
  .poker-atmosphere__media img {
    aspect-ratio: 4 / 3;
  }

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

  .poker-tournaments__step {
    flex-direction: column;
    gap: var(--space-3);
    padding-left: var(--space-4);
  }

  .poker-tournaments__step-number {
    width: 28px;
    height: 28px;
  }

  .poker-reservation__card {
    padding: var(--space-4);
  }

  .poker-faq__question {
    padding: var(--space-3) var(--space-4);
  }

  .poker-faq__answer {
    padding: 0 var(--space-4) var(--space-4);
  }
}

@media (max-width: 479px) {
  .poker-hero__title {
    font-size: 2.25rem;
  }

  .poker-tournaments__step-text {
    max-width: 100%;
  }

  .poker-atmosphere__text,
  .poker-about__intro {
    max-width: 100%;
  }
}
