.page-index-security-guarantee {
  color: #ffffff; /* Dark body background #121212, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index-security-guarantee__hero-section {
  position: relative;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0; /* shared.css is assumed to set body padding-top */
  margin-top: 0;
  background-color: #000000; /* Fallback background for hero */
}

.page-index-security-guarantee__hero-container {
  position: relative;
  margin: 0 auto;
  max-width: 1920px;
}

.page-index-security-guarantee__hero-image {
  width: 100%;
  margin: 0;
}

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

.page-index-security-guarantee__logo-carousel-section {
  width: 100%;
  padding: 30px 20px;
  background: #1a1a1a; /* Slightly lighter than body for contrast */
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-index-security-guarantee__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-index-security-guarantee__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a; /* Darker background for logos */
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto; /* Re-enable pointer events for individual logo links */
}

.page-index-security-guarantee__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-index-security-guarantee__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-index-security-guarantee__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-index-security-guarantee__games-section {
  width: 100%;
  padding: 60px 20px;
  background: #121212;
}

.page-index-security-guarantee__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.page-index-security-guarantee__featured-game-area {
  width: 100%;
}

.page-index-security-guarantee__featured-game-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 25px 0;
  color: #FFD700; /* Gold text */
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-security-guarantee__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-security-guarantee__featured-game:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-index-security-guarantee__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index-security-guarantee__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-index-security-guarantee__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-security-guarantee__games-grid-area {
  width: 100%;
}

.page-index-security-guarantee__games-tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: flex-start;
}

.page-index-security-guarantee__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
}

.page-index-security-guarantee__games-tab:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.page-index-security-guarantee__games-tab.active {
  color: #FFD700; /* Gold text for active tab */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

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

.page-index-security-guarantee__games-grid.active {
  display: grid;
}

.page-index-security-guarantee__game-card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-security-guarantee__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-index-security-guarantee__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index-security-guarantee__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-index-security-guarantee__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-security-guarantee__game-card-title {
  font-size: 15px;
  font-weight: 500;
  margin: 12px 0 10px 0;
  padding: 0 8px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

.page-index-security-guarantee__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-security-guarantee__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-index-security-guarantee__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #cccccc;
  line-height: 1.8;
}

.page-index-security-guarantee__introduction-section {
  padding: 80px 0;
  background: #1a1a1a;
}

.page-index-security-guarantee__dark-section {
  background: #1a1a1a;
  color: #ffffff;
}

.page-index-security-guarantee__main-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #FFD700;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}