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

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

.online-tips-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.4); */
  z-index: 1;
}

.online-tips-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;
}

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

.online-tips-hero-content {
  max-width: 850px;
  text-align: left;
}

.online-tips-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;
}

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

/* Content Section */
.online-tips-content {
  padding: 80px 0;
  background-color: #000000;
}

.online-tips-wrap {
  margin: 0 auto;
}

.online-tips-lead {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #D6D6D6;
  font-weight: 400;
}

/* DO'S and DON'TS Section */
.tips-do-dont-section {
  padding: 80px 0 100px;
  background-color: #000000;
}

.tips-do-dont-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
  text-align: center;
}

.tips-do-dont-title .red-text {
  color: #FF154B;
  font-weight: 700;
}

.tips-do-dont-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tips-do-dont-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.tips-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tips-do-card {
  background: linear-gradient(90deg, #3d0c15 0%, #0D0D0D 70%);
  /* border: 1px solid rgba(254, 21, 74, 0.15); */
}

.tips-dont-card {
  background: #0D0D0D;
  /* border: 1px solid rgba(255, 255, 255, 0.06); */
}

.tips-icon-wrap {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips-icon-wrap svg,
.tips-icon-wrap img {
  width: 30px;
  height: 30px;
  display: block;
}

.tips-do-icon {
  color: #FF154B;
}

.tips-dont-icon {
  color: rgba(255, 255, 255, 0.4);
}

.tips-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #D6D6D6;
  font-weight: 400;
}

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

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

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

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

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

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

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

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

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

.video-preview-container:hover .tips-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;
}

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

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

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

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

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

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

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

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

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

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

.tips-links-list li a:hover {
  color: #FF154B;
}

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

  .online-tips-content {
    padding: 60px 0;
  }

  .tips-do-dont-section {
    padding: 60px 0;
  }

  .tips-do-dont-title {
    font-size: 38px;
    margin-bottom: 40px;
  }

  .tips-do-dont-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

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

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

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

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

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

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

  .online-tips-lead {
    font-size: 1.05rem;
  }

  .tips-do-dont-title {
    font-size: 30px;
  }

  .tips-card {
    padding: 20px;
    gap: 16px;
  }

  .tips-text {
    font-size: 15px;
  }

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

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

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

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