/* style/sic-bo.css */

/* Base styles for the page */
.page-sic-bo {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 0; /* HERO section is full width, no padding needed here */
}

/* General container for content sections */
.page-sic-bo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section headings */
.page-sic-bo__section-heading {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for main headings */
  text-transform: uppercase;
}

.page-sic-bo__sub-heading {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for sub headings */
}

.page-sic-bo__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  color: #f0f0f0; /* Slightly off-white for paragraphs */
}

.page-sic-bo__text-block strong {
  color: #FFD700;
}

.page-sic-bo__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-sic-bo__list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.page-sic-bo__list li strong {
  color: #FFD700;
}

/* Call to Action Buttons */
.page-sic-bo__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-sic-bo__btn-primary,
.page-sic-bo__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 200px;
}

.page-sic-bo__btn-primary {
  background: #B22222; /* Main color */
  color: #ffffff;
  border: 2px solid #B22222;
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4);
}

.page-sic-bo__btn-primary:hover {
  background: #a01c1c;
  border-color: #a01c1c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.6);
}

.page-sic-bo__btn-secondary {
  background: transparent;
  color: #FFD700; /* Gold accent */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-sic-bo__btn-secondary:hover {
  background: #FFD700;
  color: #B22222;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-sic-bo__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.page-sic-bo__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #FFD700;
  color: #B22222;
  border: none;
}

.page-sic-bo__btn-small:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

/* HERO Section */
.page-sic-bo__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: #000;
}

.page-sic-bo__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-sic-bo__hero-image {
  width: 100%;
  margin: 0;
}

.page-sic-bo__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* LOGO Carousel Section */
.page-sic-bo__logo-carousel-section {
  width: 100%;
  padding: 40px 20px;
  background: #0d0d0d; /* Slightly lighter dark background */
}

.page-sic-bo__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-sic-bo__logo-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 10px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none; /* Disable user interaction for carousel track */
}

.page-sic-bo__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-sic-bo__logo-item {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a; /* Darker background for logos */
  border: 1px solid #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto; /* Allow logo-item itself to be clickable */
}

.page-sic-bo__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.page-sic-bo__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: auto; /* Allow links to be clickable */
}

.page-sic-bo__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Games Section */
.page-sic-bo__games-section {
  width: 100%;
  padding: 60px 20px;
  background: #000; /* Dark background */
}

.page-sic-bo__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-sic-bo__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-sic-bo__featured-game-area {
  width: 100%;
}

.page-sic-bo__featured-game-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #ffd700; /* Yellow text */
  text-align: left;
}

.page-sic-bo__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a; /* Dark background for featured game */
  border: 1px solid #333333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sic-bo__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

.page-sic-bo__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-sic-bo__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-sic-bo__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sic-bo__games-grid-area {
  width: 100%;
}

.page-sic-bo__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.page-sic-bo__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.page-sic-bo__games-tab:hover {
  color: #ffffff;
}

.page-sic-bo__games-tab.active {
  color: #FFD700; /* Gold for active tab */
  text-decoration: underline;
}

.page-sic-bo__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-sic-bo__games-grid.active {
  display: grid;
}

.page-sic-bo__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a; /* Dark background for game cards */
  border: 1px solid #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sic-bo__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
}

.page-sic-bo__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-sic-bo__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-sic-bo__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-sic-bo__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0 0;
  padding: 0 5px 10px;
  color: #ffffff; /* White text for game titles */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* Intro Section */
.page-sic-bo__intro-section {
  padding: 60px 20px;
  background: #1a1a1a; /* Dark background */
}

.page-sic-bo__main-heading {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #FFD700; /* Gold for main heading */
  line-height: 1.2;
}

/* Quick Links Section */
.page-sic-bo__quick-links-section {
  background: #000; /* Dark background */
  padding: 60px 20px;
}

.page-sic-bo__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-sic-bo__quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #1a1a1a; /* Dark background for cards */
  padding: 25px;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid #333333;
}

.page-sic-bo__quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
  background: #B22222;
}

.page-sic-bo__quick-link-icon {
  margin-bottom: 15px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.1);
  flex-shrink: 0;
}

.page-sic-bo__quick-link-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-sic-bo__quick-link-text {
  font-size: 18px;
  font-weight: bold;
  color: #FFD700;
}

.page-sic-bo__alt-link-heading {
  font-size: 28px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-sic-bo__alt-links-list {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-bottom: 40px;
}

.page-sic-bo__alt-links-list li {
  margin-bottom: 10px;
}

.page-sic-bo__alt-links-list a {
  color: #B22222;
  text-decoration: underline;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-sic-bo__alt-links-list a:hover {
  color: #FFD700;
}

/* Game Details Section */
.page-sic-bo__game-details-section {
  padding: 60px 20px;
  background: #1a1a1a; /* Dark background */
}

/* Promotions Section */
.page-sic-bo__promotions-section {
  padding: 60px 20px;
  background: #0d0d0d; /* Slightly lighter dark background */
}

.page-sic-bo__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sic-bo__promo-card {
  background: #1a1a1a; /* Dark background for promo cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333333;
  display: flex;
  flex-direction: column;
}

.page-sic-bo__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
}

.page-sic-bo__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sic-bo__promo-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin: 15px 15px 10px 15px;
  text-align: center;
}

.page-sic-bo__promo-description {
  font-size: 15px;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sic-bo__promo-card .page-sic-bo__btn-small {
  margin: 0 15px 15px 15px;
  width: calc(100% - 30px);
  align-self: center;
}

/* Security & Support Section */
.page-sic-bo__security-support-section {
  padding: 60px 20px;
  background: #B22222; /* Main brand color for this section */
  color: #ffffff;
}

.page-sic-bo__security-support-section .page-sic-bo__section-heading {
  color: #FFD700;
}

.page-sic-bo__security-support-section .page-sic-bo__sub-heading {
  color: #FFD700;
}

.page-sic-bo__security-support-section .page-sic-bo__text-block {
  color: #f0f0f0;
}

.page-sic-bo__security-support-section .page-sic-bo__list {
  color: #f0f0f0;
}

.page-sic-bo__security-support-section .page-sic-bo__list li strong {
  color: #FFD700;
}

/* FAQ Section */
.page-sic-bo__faq-section {
  padding: 60px 20px;
  background: #000; /* Dark background */
}

.page-sic-bo__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sic-bo__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #f0f0f0;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a1a1a; /* Darker background for answer */
  border-radius: 0 0 5px 5px;
}

.page-sic-bo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0d0d0d; /* Slightly lighter dark background for question */
  border: 1px solid #333333;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sic-bo__faq-question:hover {
  background: #1a1a1a;
  border-color: #FFD700;
}

.page-sic-bo__faq-question:active {
  background: #2a2a2a;
}

.page-sic-bo__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-sic-bo__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Latest Blog Section */
.page-sic-bo__latest-blog-section {
  padding: 60px 20px;
  background: #1a1a1a; /* Dark background */
}

.page-sic-bo__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sic-bo__blog-card {
  background: #0d0d0d; /* Slightly lighter dark background for blog cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333333;
  display: flex;
  flex-direction: column;
}

.page-sic-bo__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25);
}

.page-sic-bo__blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sic-bo__blog-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-sic-bo__blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-sic-bo__blog-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sic-bo__blog-title a:hover {
  color: #ffffff;
}

.page-sic-bo__blog-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-sic-bo__blog-date {
  font-size: 13px;
  color: #999999;
  text-align: right;
}

/* Common dark section style */
.page-sic-bo__dark-section {
  background: #1a1a1a;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sic-bo__section-heading {
    font-size: 30px;
  }

  .page-sic-bo__main-heading {
    font-size: 36px;
  }

  .page-sic-bo__games-layout {
    grid-template-columns: 1fr;
  }

  .page-sic-bo__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-sic-bo__featured-game-image {
    height: 400px;
  }

  .page-sic-bo__quick-link-card {
    padding: 20px;
  }

  .page-sic-bo__quick-link-icon {
    width: 70px;
    height: 70px;
  }

  .page-sic-bo__quick-link-icon img {
    width: 50px;
    height: 50px;
  }

  .page-sic-bo__quick-link-text {
    font-size: 16px;
  }

  .page-sic-bo__promo-card img {
    height: 180px;
  }

  .page-sic-bo__blog-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-sic-bo {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sic-bo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sic-bo__section,
  .page-sic-bo__card,
  .page-sic-bo__container,
  .page-sic-bo__hero-section,
  .page-sic-bo__logo-carousel-section,
  .page-sic-bo__games-section,
  .page-sic-bo__intro-section,
  .page-sic-bo__quick-links-section,
  .page-sic-bo__game-details-section,
  .page-sic-bo__promotions-section,
  .page-sic-bo__security-support-section,
  .page-sic-bo__faq-section,
  .page-sic-bo__latest-blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sic-bo__section-heading {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-sic-bo__main-heading {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .page-sic-bo__sub-heading {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-sic-bo__text-block {
    font-size: 15px;
  }

  .page-sic-bo__list li {
    font-size: 15px;
  }

  .page-sic-bo__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sic-bo__btn-primary,
  .page-sic-bo__btn-secondary {
    min-width: unset;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-sic-bo__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-sic-bo__hero-image img {
    width: 100%;
    height: auto;
  }

  .page-sic-bo__logo-carousel-section {
    padding: 30px 0;
  }
  .page-sic-bo__logo-carousel-container {
    padding: 0 15px;
  }
  .page-sic-bo__logo-item {
    width: 120px;
    height: 120px;
    gap: 10px;
  }
  .page-sic-bo__logo-item img {
    padding: 10px;
  }

  .page-sic-bo__games-section {
    padding: 40px 15px;
  }
  
  .page-sic-bo__games-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-sic-bo__featured-game-title {
    font-size: 20px;
  }
  
  .page-sic-bo__featured-game-image {
    height: 300px;
  }
  
  .page-sic-bo__games-tabs {
    gap: 15px;
    justify-content: center;
  }
  
  .page-sic-bo__games-tab {
    font-size: 16px;
  }
  
  .page-sic-bo__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-sic-bo__game-card-image {
    height: 150px;
  }
  
  .page-sic-bo__game-card-title {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0 3px;
  }

  .page-sic-bo__intro-section,
  .page-sic-bo__quick-links-section,
  .page-sic-bo__game-details-section,
  .page-sic-bo__promotions-section,
  .page-sic-bo__security-support-section,
  .page-sic-bo__faq-section,
  .page-sic-bo__latest-blog-section {
    padding: 40px 15px;
  }

  .page-sic-bo__links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sic-bo__quick-link-icon {
    width: 60px;
    height: 60px;
  }

  .page-sic-bo__quick-link-icon img {
    width: 40px;
    height: 40px;
  }

  .page-sic-bo__quick-link-text {
    font-size: 15px;
  }

  .page-sic-bo__alt-link-heading {
    font-size: 22px;
    margin-top: 40px;
  }

  .page-sic-bo__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sic-bo__promo-card img {
    height: 150px;
  }

  .page-sic-bo__promo-title {
    font-size: 18px;
  }

  .page-sic-bo__promo-description {
    font-size: 14px;
  }

  .page-sic-bo__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-sic-bo__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-sic-bo__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-sic-bo__faq-answer {
    padding: 0 15px;
  }
  
  .page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
    padding: 15px !important;
  }

  .page-sic-bo__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sic-bo__blog-card img {
    height: 180px;
  }

  .page-sic-bo__blog-title {
    font-size: 18px;
  }

  .page-sic-bo__blog-excerpt {
    font-size: 14px;
  }
}

/* Contrast Fixes */
.page-sic-bo__dark-bg {
  color: #ffffff;
  background: #B22222;
}

.page-sic-bo__light-bg {
  color: #333333;
  background: #ffffff;
}

.page-sic-bo__medium-bg {
  color: #000000;
  background: #FFD700;
}

.page-sic-bo__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-sic-bo__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}