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

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

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

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

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

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

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

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

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

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

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

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

/* Bankroll Management Card (Matches 300% Signup Card styling) */
.tips-about-card {
  background-color: rgba(255, 255, 255, 0.03);
  background-image: linear-gradient(120deg, rgba(190, 28, 66, 0.7) 0%, transparent 70%);
  /* border: 1px solid rgba(255, 255, 255, 0.08); */
  border-radius: 16px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.tips-about-image-wrap {
  width: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tips-about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

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

.tips-about-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-about-title .red-text {
  color: #FF154B;
  display: inline-block;
  font-weight: 700;
}

.tips-about-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: #D6D6D6;
  margin-bottom: 20px;
  font-weight: 400;
}

.tips-about-text:last-child {
  margin-bottom: 0;
}

/* Choose a Game Section (FFFFFF 4% background) */
.tips-choose-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.04);
}

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

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

.tips-choose-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;
  max-width: 700px;
}

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

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

.tips-choose-image-wrap {
  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);
}

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

.tips-choose-image-wrap:hover .tips-choose-img {
  transform: scale(1.02);
}

/* Take Advantage Section */
.tips-advantage-section {
  padding: 80px 0;
  background-color: #000000;
}

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

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

.tips-advantage-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;
  max-width: 750px;
}

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

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

.tips-advantage-image-wrap {
  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);
}

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

.tips-advantage-image-wrap:hover .tips-advantage-img {
  transform: scale(1.02);
}

/* Play For Free Section (Gradient Card) */
.tips-free-section {
  padding: 80px 0 100px;
  background-color: #000000;
}

.tips-free-card {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.03) 20%, #6e1525 100%);
  border-radius: 16px;
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  /* border: 1px solid rgba(255, 255, 255, 0.05); */
}

.tips-free-text-content {
  text-align: left;
}

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

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

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

.tips-free-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.tips-free-image-wrap:hover .tips-free-img {
  transform: scale(1.02);
}

/* Google Is Your Friend Section */
.tips-google-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #3d0c15 0%, rgba(255, 255, 255, 0.04) 100%);
  position: relative;
  overflow: hidden;
}

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

.tips-google-image-wrap {
  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);
}

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

.tips-google-image-wrap:hover .tips-google-img {
  transform: scale(1.02);
}

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

.tips-google-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;
  max-width: 750px;
}

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

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

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

.tips-video-grid {
  display: grid;
  grid-template-columns: 1.2fr 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;
  max-width: 750px;
}

.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 with absolute center alignment */
.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;
  /* offset the triangle play symbol */
}

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

/* Strategy and Tips Links Grid */
.tips-links-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  margin-top: 80px;
}

.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) {
  .tips-hero-title {
    font-size: 3.2rem;
  }

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

  .tips-about-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .tips-about-title {
    font-size: 2.25rem;
  }

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

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

  .tips-choose-title {
    font-size: 2.25rem;
  }

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

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

  .tips-advantage-title {
    font-size: 2.25rem;
  }

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

  .tips-free-card {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 40px 25px;
    background: linear-gradient(135deg, #0c0d12 40%, #3d0c15 100%);
  }

  .tips-free-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
  }

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

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

  .tips-google-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
  }

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

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

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

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

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

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

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

  .tips-lead-text,
  .tips-about-text,
  .tips-choose-desc,
  .tips-advantage-desc,
  .tips-free-desc,
  .tips-google-desc,
  .tips-video-desc {
    font-size: 1.05rem;
  }

  .tips-about-card {
    padding: 30px 20px;
  }

  .tips-about-title,
  .tips-choose-title,
  .tips-advantage-title,
  .tips-free-title,
  .tips-google-title,
  .tips-video-title {
    font-size: 1.8rem;
  }

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

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

  .tips-links-title {
    font-size: 1.05rem;
  }

  .tips-links-list li a {
    font-size: 0.95rem;
  }
}