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

/* Hero Section */
.hero {
  position: relative;
  background-color: #07080a;
  padding: 120px 0 100px;
  text-align: left;
  overflow: hidden;
  /* border-bottom: 1px solid var(--border-color); */
}

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

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

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

.hero-main-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 55px;
}

.hero-content {
  max-width: 100%;
  margin: 0;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-element {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(255, 21, 75, 0.18));
  animation: float 6s ease-in-out infinite;
}

.hero-title {
  font-size: 4.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
  font-size: 4.6rem;
  color: #ffffff;
}

.hero-title .red-text {
  background: linear-gradient(135deg, #FF154B, #B00927);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 600;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-description {
  font-size: 1.15rem;
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-actions .btn {
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 12px 28px;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #FF154B, #B00927) !important;
  color: #ffffff;
  box-shadow: none !important;
}

.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, #ff3b68, #c90e32) !important;
  transform: none;
}

.hero-actions .btn-secondary {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
}

.hero-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: none;
}

/* Hero Info Bar */
.hero-infobar {
  display: flex;
  gap: 40px;
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding: 0;
  border-radius: 0;
  max-width: 100%;
  margin: 0;
  justify-content: flex-start;
}

.infobar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0px;
  color: #ffffff;
}

.infobar-item span {
  color: #FF154B;
  font-size: 1.1rem;
}

/* Base Layout for Sections */
.section {
  padding: 80px 0;
  /* border-bottom: 1px solid var(--border-color); */
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1.15;
}

.section-title span {
  color: var(--accent-orange);
}

.section-text {
  color: #D6D6D6;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.section-image img {
  transition: all var(--transition-normal);
}

.section-image img:hover {
  transform: scale(1.02);
  border-color: var(--border-color-glow);
}

/* About Blackjack Section Custom Styles */
.about-blackjack-section {
  background-color: #000000;
}

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

.blackjack-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 92px;
  /* letter-spacing: -0.05em; */
  color: #ffffff;
}

.blackjack-title .red-highlight {
  color: #FF154B;
}

.blackjack-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.about-blackjack-section .section-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #D6D6D6;
  margin-bottom: 22px;
}

.about-blackjack-section .red-link {
  color: #FF154B;
  text-decoration: underline;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.about-blackjack-section .red-link:hover {
  color: var(--accent-orange-hover);
}

/* Everything You Need to Play Section Custom Styles */
.play-features-section {
  background-color: #000000;
  padding: 80px 0;
  /* border-bottom: 1px solid var(--border-color); */
}

.play-features-header {
  text-align: center;
  margin-bottom: 50px;
}

.play-features-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  text-transform: uppercase;
  /* letter-spacing: -0.05em; */
  color: #ffffff;
  line-height: 92px;
  text-align: center;
}

.play-features-title .red-highlight {
  color: #FF154B;
}

.play-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.play-feature-card {
  background-color: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 48px 24px 40px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.play-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 21, 75, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 21, 75, 0.1);
}

.play-feature-icon {
  width: 50px;
  height: 50px;
  background-color: #121214;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.play-feature-svg-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.play-feature-card:hover .play-feature-icon {
  background-color: rgba(255, 21, 75, 0.05);
  border-color: rgba(255, 21, 75, 0.3);
  box-shadow: 0 0 10px rgba(255, 21, 75, 0.15);
}

.play-feature-card:hover .play-feature-svg-img {
  transform: scale(1.08);
}

.play-feature-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.play-feature-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #D6D6D6;
  line-height: 1.5;
}

/* Highlight Block Container (Player Focused) */
.highlight-block {
  background: linear-gradient(105deg, #601c13 0%, #150706 100%);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.highlight-block .section-title {
  color: #ffffff;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0px;
}

.highlight-block .section-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.highlight-block .section-image img {
  border-radius: 16px;
  border: none;
}

/* Features Block */
.features-section {
  text-align: center;
}

.features-header {
  max-width: 700px;
  margin: 0 auto 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 12px;
  transition: all var(--transition-normal);
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: 0 10px 25px rgba(255, 21, 75, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 21, 75, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon span {
  font-size: 1.5rem;
  color: var(--accent-orange);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Types of Sports Betting Cards Section */
.betting-types-section {
  background-color: var(--bg-secondary);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.type-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.type-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: 0 10px 25px rgba(255, 21, 75, 0.15);
}

.type-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.type-card:hover .type-image img {
  transform: scale(1.08);
}

.type-content {
  padding: 25px;
}

.type-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.type-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .play-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-main-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-title span {
    font-size: 3.2rem;
  }

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

  .section-image {
    order: 2;
    /* Move image to bottom on mobile */
  }

  .section-image-left {
    order: 2;
  }

  .types-grid {
    grid-template-columns: 1fr 1fr;
  }

  .play-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }

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

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

  .hero-infobar {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .types-grid {
    grid-template-columns: 1fr;
  }

  .highlight-block {
    padding: 30px 20px;
  }

  .play-features-title {
    font-size: 36px;
    line-height: 48px;
  }
}

@media (max-width: 480px) {
  .play-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Casino Games Section Styles */
.casino-games-section {
  background-color: rgba(255, 255, 255, 0.04);
  padding: 80px 0;
  /* border-bottom: 1px solid var(--border-color); */
}

.casino-games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
}

.casino-games-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 92px;
  margin: 0;
}

.casino-games-title .red-highlight {
  color: #FF154B;
}

.btn-view-more {
  background: linear-gradient(135deg, #FF154B, #B00927) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-size: 0.85rem !important;
  padding: 10px 24px !important;
  border-radius: 4px !important;
  height: fit-content;
}

.btn-view-more:hover {
  background: linear-gradient(135deg, #ff3b68, #c90e32) !important;
  transform: translateY(-2px);
}

.casino-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-items: center;
  width: 100%;
}

.game-card {
  width: 100%;
  max-width: 320px;
  background-color: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 21, 75, 0.40);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 21, 75, 0.15);
}

.game-image-wrap {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.game-card:hover .game-img {
  transform: scale(1.08);
}

.game-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-play-now {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
  cursor: pointer;
  width: fit-content;
}

.btn-play-now:hover {
  background-color: #FF154B;
  border-color: #FF154B;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 21, 75, 0.3);
}

/* Responsive adjustments for Casino Games Section */
@media (max-width: 1200px) {
  .casino-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .casino-games-title {
    font-size: 36px;
    line-height: 48px;
  }

  .casino-games-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .casino-games-grid {
    grid-template-columns: 1fr;
  }
}

/* Latest News Section Styles */
.latest-news-section {
  background-color: #000000;
  padding: 80px 0;
  /* border-bottom: 1px solid var(--border-color); */
}

.latest-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
}

.latest-news-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 92px;
  margin: 0;
}

.latest-news-title .red-highlight {
  color: #FF154B;
}

.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.news-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.news-image-wrap {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
  background-color: #121214;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.news-item:hover .news-img {
  transform: scale(1.06);
}

.news-title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: left;
  transition: color var(--transition-fast);
}


.news-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.news-read-more {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.news-read-more:hover {
  color: #FF154B;
}

/* Responsive adjustments for Latest News Section */
@media (max-width: 992px) {
  .latest-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .latest-news-title {
    font-size: 36px;
    line-height: 48px;
  }

  .latest-news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .latest-news-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section Styles */
.faq-section {
  background-color: #000000;
  padding: 80px 0;
  /* border-bottom: 1px solid var(--border-color); */
}

.faq-main-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 64px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 92px;
  text-align: center;
  margin-bottom: 50px;
}

.faq-main-title .red-highlight {
  color: #FF154B;
}

.faq-list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq-item {
  width: 100%;
  background: #0A0A0A;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 20px 30px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.faq-item[open] {
  background: #0A0A0A
}

.faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  outline: none;
}

/* Hide default marker in Safari */
.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Plus/Minus icon using pseudo-elements */
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

/* Rotate / hide vertical line when details is open */
.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  transition: all 0.3s ease;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #D6D6D6;
  line-height: 1.6;
}

/* Hover effect */
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Responsive adjustments for FAQ Section */
@media (max-width: 768px) {
  .faq-main-title {
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 30px;
  }

  .faq-item {
    padding: 16px 20px;
  }

  .faq-question {
    font-size: 1rem;
  }
}