/* ==========================================================================
   CARIBBEAN STUD POKER CUSTOM STYLES
   Project: BET SMART WIN BIGGER - Static HTML/CSS/JS Platform
   ========================================================================== */

/* Hero Section */
.poker-hero {
  position: relative;
  background-image: url('../images/caribbean-stud-poker-hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fallback background if the user hasn't uploaded the image yet */
@supports not (background-image: url('../images/caribbean-stud-poker-hero.png')) {
  .poker-hero {
    background-color: #121212;
  }
}

.poker-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%); */
  z-index: 1;
}

/* Ambient Red Glow on Right side of Hero */
.poker-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -250px;
  width: 600px;
  height: 600px;
  background-color: #D40E37;
  opacity: 0.25;
  filter: blur(110px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.poker-hero .container {
  position: relative;
  z-index: 2;
}

.poker-hero-content {
  text-align: left;
}

.poker-hero-title {
  font-family: var(--font-heading);
  font-size: 4.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -1px;
}

.poker-hero-title .red-text {
  color: #FF154B;
  display: inline-block;
  font-weight: 700;
}

/* Content & Grid Section */
.poker-content {
  padding: 100px 0 120px;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.poker-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.poker-image-wrap {
  position: relative;
  z-index: 2;
}

.poker-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: block;
}

/* Fallback if the main content image is not loaded yet */
@supports not (background-image: url('../images/caribbean-stud-poker-main.png')) {
  .poker-image-wrap::before {
    content: '';
    display: block;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background-color: #1a1a1a;
    border-radius: 12px;
  }
}

.poker-text-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.poker-section-title {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 0;
  /* margin-bottom: 10px; */
  line-height: 1.15;
}

.poker-section-title .red-text {
  color: #FF154B;
}

.poker-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: #d6d6d6;
  font-weight: 400;
  margin: 0;
}

.poker-list {
  list-style: none;
  padding: 0;
  /* margin: 10px 0 0 0; */
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.poker-list-item {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: #d6d6d6;
}

/* Links Section Styles */
.poker-links-section {
  padding: 0px 0 100px;
  background-color: #000000;
}

.poker-links-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}

.poker-links-col {
  display: flex;
  flex-direction: column;
}

.poker-links-col.right-col {
  align-items: flex-end;
  text-align: right;
}

.poker-links-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: #D6D6D6;
  margin-bottom: 20px;
  text-transform: none;
}

.poker-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.poker-links-list.horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.poker-links-list.vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poker-links-list li {
  display: block;
}

.poker-links-list li a {
  font-family: var(--font-body);
  font-size: 18px;
  color: #D6D6D6;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-normal);
  font-weight: 400;
  white-space: nowrap;
}

.poker-links-list li a:hover,
.poker-links-list li a.active {
  color: #FF154B;
}

/* Potential Section */
.poker-potential-section {
  padding: 80px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 30%, #3d0c15 100%);
  position: relative;
  overflow: hidden;
}

.poker-potential-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.poker-potential-content {
  display: flex;
  flex-direction: column;
}

.poker-potential-title {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.poker-potential-title .red-text {
  color: #FF154B;
  display: inline-block;
  font-weight: 700;
}

.poker-potential-desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: #D6D6D6;
  font-weight: 400;
}

.poker-potential-image-wrap {
  width: 100%;
}

.poker-potential-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-normal);
}

.poker-potential-image-wrap:hover .poker-potential-img {
  transform: scale(1.02);
}

/* Card Rankings Section */
.poker-rankings-section {
  padding: 80px 0;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.poker-rankings-header {
  text-align: center;
  margin-bottom: 50px;
}

.poker-rankings-title {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.poker-rankings-title .red-text {
  color: #FF154B;
  display: inline-block;
  font-weight: 700;
}

.poker-rankings-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: #D6D6D6;
  font-weight: 400;
  margin: 0;
}

.poker-rankings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.poker-rank-card {
  background: #0D0D0D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.poker-rank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 21, 75, 0.4);
  box-shadow: 0 8px 24px rgba(255, 21, 75, 0.12);
}

.rank-image-wrap {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #1a1a1a;
}

.rank-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rank-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .poker-hero-title {
    font-size: 3.2rem;
  }

  .poker-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .poker-img {
    max-width: 500px;
    margin: 0 auto;
  }

  .poker-section-title {
    font-size: 34px;
  }

  .poker-content {
    padding: 70px 0 80px;
  }

  .poker-links-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .poker-links-col.right-col {
    align-items: flex-start;
    text-align: left;
  }

  .poker-potential-section {
    padding: 60px 0;
  }

  .poker-potential-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .poker-potential-title {
    font-size: 38px;
    margin-bottom: 16px;
  }

  .poker-rankings-section {
    padding: 60px 0;
  }

  .poker-rankings-title {
    font-size: 38px;
    margin-bottom: 12px;
  }

  .poker-rankings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .poker-hero {
    height: 320px;
  }

  .poker-hero-title {
    font-size: 2.5rem;
  }

  .poker-section-title {
    font-size: 28px;
  }

  .poker-content {
    padding: 60px 0 70px;
  }

  .poker-list-item {
    font-size: 15px;
  }

  .poker-links-list.horizontal {
    flex-direction: column;
    gap: 12px;
  }

  .poker-potential-title {
    font-size: 30px;
  }

  .poker-potential-desc {
    font-size: 1.05rem;
  }

  .poker-rankings-title {
    font-size: 30px;
  }

  .poker-rankings-subtitle {
    font-size: 15px;
  }

  .poker-rankings-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .poker-rank-card {
    padding: 12px 15px;
    gap: 12px;
  }

  .rank-image-wrap {
    width: 44px;
    height: 44px;
  }

  .rank-name {
    font-size: 15px;
  }
}