/* ==========================================================================
   BLACKJACK BASIC STRATEGY CUSTOM STYLES
   Project: BET SMART WIN BIGGER - Static HTML/CSS/JS Platform
   ========================================================================== */

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

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

.strategy-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -250px;
  width: 600px;
  height: 600px;
  background-color: #D40E37;
  opacity: 0.28;
  filter: blur(110px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

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

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

.strategy-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;
}

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

/* Content Section */
.strategy-content {
  padding: 80px 0 40px;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.strategy-wrap {
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.strategy-wrap::before {
  content: '';
  position: absolute;
  left: -250px;
  width: 450px;
  height: 50%;
  background-color: #D40E37;
  opacity: 0.12;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.strategy-lead {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.8;
  color: #FFFFFF;
  margin-bottom: 30px;
  font-weight: 500;
}

.strategy-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: #D6D6D6;
  margin-bottom: 15px;
  font-weight: 400;
}

/* Strategy Grid & Alternating Columns Section */
.strategy-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.strategy-row:last-child {
  margin-bottom: 0;
}

.strategy-col-text {
  display: flex;
  flex-direction: column;
}

.strategy-bullet-list {
  list-style-type: disc;
  margin-left: 24px;
  margin-top: 10px;
  margin-bottom: 24px;
  color: #D6D6D6;
}

.strategy-bullet-list li {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 5px;
  font-weight: 400;
}

.strategy-bullet-list li::marker {
  color: #FF154B;
}

.strategy-col-image {
  width: 100%;
}

.strategy-image-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.strategy-grid-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.strategy-image-container:hover .strategy-grid-img {
  transform: scale(1.02);
}

/* Strategy and Tips Links Section */
.strategy-links-section {
  padding: 80px 0 100px;
  background-color: #000000;
}

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

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

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

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

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

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

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

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

.strategy-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;
}

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

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

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

.strategy-video-content {
  display: flex;
  flex-direction: column;
}

.strategy-video-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;
}

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

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

.strategy-video-image-wrap {
  width: 100%;
}

.strategy-video-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  transition: transform var(--transition-normal);
}

.video-preview-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.video-preview-container:hover .strategy-video-img {
  transform: scale(1.02);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal);
}

.video-preview-container:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.play-button-icon {
  width: 70px;
  height: 70px;
  background-color: #FF154B;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 21, 75, 0.4);
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.play-button-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.video-preview-container:hover .play-button-icon {
  transform: scale(1.1);
  background-color: #ff3c6a;
}

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

  .strategy-content {
    padding: 60px 0 30px;
  }

  .strategy-row,
  .strategy-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
  }

  .strategy-links-section {
    padding: 30px 0 60px;
  }

  .strategy-links-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 0;
  }

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

  .strategy-video-section {
    padding: 60px 0;
  }

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

  .strategy-video-title {
    font-size: 38px;
    margin-bottom: 16px;
  }
}

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

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

  .strategy-text,
  .strategy-lead {
    font-size: 1.05rem;
    margin-bottom: 16px;
  }

  .strategy-video-title {
    font-size: 30px;
  }

  .strategy-video-desc {
    font-size: 1.05rem;
  }

  .play-button-icon {
    width: 60px;
    height: 60px;
  }

  .play-button-icon svg {
    width: 22px;
    height: 22px;
  }
}