/* ==========================================================================   
   POKER TOURNAMENTS PAGE STYLES
   ========================================================================== */

/* Hero Section */
.poker-hero {
  padding-top: var(--space-16);
}

.poker-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
}

.poker-hero__lead {
  font-size: var(--font-size-lg);
}

.poker-hero__media {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-hero__image {
  min-height: 260px;
}

.poker-hero__stats {
  margin-top: var(--space-3);
}

.poker-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Section Headers */
.poker-section-header {
  max-width: 720px;
  margin-inline: auto;
}

/* Poker Grid */
.poker-grid {
  align-items: stretch;
}

/* Poker List */
.poker-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poker-list li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.poker-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-primary));
}

/* Tournament Format Cards */
.poker-format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.poker-format-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: var(--space-6);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.poker-format-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.04);
  transform: translateY(-4px);
}

.poker-format-card__header {
  margin-bottom: var(--space-4);
  border-bottom: 2px solid rgba(249, 115, 22, 0.2);
  padding-bottom: var(--space-4);
}

.poker-format-card__header h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 var(--space-1) 0;
  color: var(--color-text);
}

.poker-format-card__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  margin: 0;
  font-weight: 500;
}

.poker-format-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.poker-format-card__body p {
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* Two Column Layout */
.poker-two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.poker-experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poker-experience-list li {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.poker-experience-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.list-label {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.list-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--line-height-relaxed);
}

.poker-experience-image {
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
}

.poker-experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Applications Grid */
.poker-applications {
  gap: var(--space-6);
}

.application-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: var(--space-6);
  transition: all 0.3s ease;
}

.application-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.04);
  transform: translateY(-2px);
}

.application-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 var(--space-3) 0;
  color: var(--color-text);
}

.application-card p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* FAQ Section */
.poker-faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-5) 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: "+";
  font-size: 1.5em;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

details[open] > .faq-question::after {
  transform: rotate(45deg);
  content: "−";
}

.faq-answer {
  padding: var(--space-4) 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.faq-answer p {
  margin: 0;
}

/* CTA Section */
.poker-cta {
  padding: var(--space-12) 0;
}

.poker-cta h2 {
  font-size: var(--font-size-4xl);
}

.poker-cta p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.justify-center {
  justify-content: center;
}

/* Meta List */
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.meta-list span {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
}

.meta-list span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-right: var(--space-2);
}

.meta-list span:first-child::before {
  display: none;
  margin-right: 0;
}

/* Section Alt Background */
.section--alt {
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.04) 0%,
    rgba(249, 115, 22, 0.02) 100%
  );
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-md {
  gap: var(--space-4);
}

.gap-lg {
  gap: var(--space-6);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

.mb-md {
  margin-bottom: var(--space-4);
}

.mb-lg {
  margin-bottom: var(--space-6);
}

.mb-xl {
  margin-bottom: var(--space-8);
}

.mt-lg {
  margin-top: var(--space-6);
}

.mt-xl {
  margin-top: var(--space-8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .poker-hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-two-column {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-format-grid {
    grid-template-columns: 1fr;
  }

  .poker-hero__image {
    min-height: 200px;
  }

  .poker-experience-image {
    min-height: 240px;
  }

  .application-card {
    padding: var(--space-4);
  }

  .poker-cta h2 {
    font-size: var(--font-size-3xl);
  }

  .faq-question {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  .poker-hero__layout {
    gap: var(--space-4);
  }

  .poker-hero__image {
    min-height: 160px;
  }

  .poker-experience-image {
    min-height: 200px;
  }

  .poker-applications {
    grid-template-columns: 1fr;
  }

  .flex-wrap.gap-md {
    flex-direction: column;
    gap: var(--space-3);
  }

  .poker-cta h2 {
    font-size: var(--font-size-2xl);
  }

  .meta-list {
    flex-direction: column;
    gap: var(--space-2);
  }
}
