.casino-categories {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

section.casino-categories {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.heading-style {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.01em;
  text-transform: none;
  font-family: "Inter", sans-serif;
}

.game-card {
  background: #232336;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  border-color: #ff8f32;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 143, 50, 0.1);
}

.game-card-banner {
  position: relative;
  padding-top: 65%;
  overflow: hidden;
}

.game-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.game-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 20, 31, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: #ff8f32;
  color: black;
  border-radius: 6px;
  font-weight: 600;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.game-card:hover .game-card-play-btn {
  transform: translateY(0);
}

.game-card-play-btn i {
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

.game-card-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: black;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.game-card-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-card-title {
  font-weight: 600;
  color: #f5f7f9;
  font-size: 0.95rem;
}

.game-card-multiplier {
  font-size: 0.7rem;
  font-weight: 500;
}

.game-card-desc {
  margin-top: 0.5rem;
  color: #b1b5d2;
  font-size: 0.75rem;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}

.card {
  position: relative;
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: filter 0.3s ease;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 26px;
  text-align: start;
  backdrop-filter: blur(4px);
}

.card-content h2 {
  font-size: 2rem;
  font-weight: 600;
}

.card-content p {
  font-size: 1rem;
  font-weight: 400;
}

.card:hover::before {
  opacity: 1;
}

.card:hover .card-content {
  opacity: 1;
}
.card-content h2 {
  margin-bottom: 8px;
}

.card-content p {
  margin-bottom: 16px;
}

.card-content button {
  padding: 10px 20px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.card-content button:hover {
  background: var(--accent-hover);
}

/* --- Featured Games Section --- */
.featured-games-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 3rem auto;
}
.featured-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
/* --- New Game Card Styles --- */
.game-card-plain.with-bg {
  position: relative;
  background: rgba(35, 35, 54, 0.3);
  border-radius: 1rem;
  border: 0;
  box-shadow: none;
  transition: box-shadow 0.3s, outline 0.3s;
  cursor: pointer;
  overflow: hidden;
  min-height: 200px;
  outline: 1px solid rgba(255, 255, 255, 0.07);
  width: 100%;
  height: 200px;
  text-decoration: none;
  display: block;
}

.game-card-plain.with-bg:hover {
  outline: 2px solid #ff8f32;
  box-shadow: inset 0 0 20px rgba(255, 143, 50, 0.3);
}

.game-card-plain.with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.3s;
  z-index: 1;
}

.game-card-plain.with-bg:hover::before {
  opacity: 0.5;
}

/* Background images for each game */
.crash-bg::before {
  background: url("/cdn/crash.png") center center/cover no-repeat;
}
.cases-bg::before {
  background: url("/cdn/cases.png") center center/cover no-repeat;
}
.mines-bg::before {
  background: url("/cdn/mines.png") center center/cover no-repeat;
}
.towers-bg::before {
  background: url("/cdn/towers.png") center center/cover no-repeat;
}
.roulette-bg::before {
  background: url("/cdn/roulette.png") center center/cover no-repeat;
}
.crossyroad-bg::before {
  background: url("/cdn/crossy.png") center center/cover no-repeat;
}

.game-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 0.5rem;
  color: #fff;
  background: #22c55e;
  transition: background 0.2s;
}
.game-card-badge.destructive {
  background: #dc2626;
}
.game-card-badge.success {
  background: #22c55e;
}

.game-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 200px;
  opacity: 0;
}

.game-card-plain.with-bg:hover .game-card-content {
  opacity: 1;
}

.game-card-icon i {
  margin-bottom: 2rem;
  font-size: 4rem;
  color: #d4d4d4;
  transition: color 0.3s, transform 0.3s;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.game-card-plain.with-bg:hover .game-card-icon i {
  color: #fff;
  transform: scale(1.1) translateY(-0.5rem);
}

.game-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e5e5e5;
  letter-spacing: 0.04em;
  transition: color 0.3s, transform 0.3s;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
  margin: 0;
}

.game-card-plain.with-bg:hover .game-card-title {
  color: #fff;
  transform: translateY(-0.25rem);
}

/* Welcome Banner Styles */
.welcome-banner {
  background: linear-gradient(135deg, #232336 0%, #1e1e2f 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.welcome-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 143, 50, 0.05) 0%,
    transparent 50%,
    rgba(57, 199, 217, 0.05) 100%
  );
  z-index: 1;
}

.welcome-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.welcome-text {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 143, 50, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.welcome-info h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.welcome-info p {
  color: var(--text-color);
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.welcome-subtext {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.promo-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  flex: 1.2;
}

.promo-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.promo-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 143, 50, 0.2);
  transform: translateY(-2px);
}

.promo-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.promo-item div {
  display: flex;
  flex-direction: column;
}

.promo-item strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.promo-item span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* Cases Featured Section */
.cases-featured-section {
  background: var(--secondary-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Cases Slider Styles */
.cases-slider-container {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.cases-featured-swiper {
  padding: 20px 0 40px 0;
  overflow: visible !important;
  width: 100%;
}

.cases-featured-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.cases-featured-swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  width: auto;
  flex-shrink: 0;
}

.cases-featured-swiper .swiper-slide > * {
  width: 100%;
  height: 100%;
  flex: 1;
}

/* Custom navigation buttons */
.cases-featured-swiper .swiper-button-next,
.cases-featured-swiper .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: rgba(255, 143, 50, 0.1);
  border: 1px solid rgba(255, 143, 50, 0.3);
  border-radius: 50%;
  color: #ff8f32;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  top: 50%;
  margin-top: -22px;
}

.cases-featured-swiper .swiper-button-next:hover,
.cases-featured-swiper .swiper-button-prev:hover {
  background: rgba(255, 143, 50, 0.2);
  border-color: rgba(255, 143, 50, 0.5);
  transform: scale(1.1);
}

.cases-featured-swiper .swiper-button-next::after,
.cases-featured-swiper .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.cases-featured-swiper .swiper-button-next {
  right: -10px;
}

.cases-featured-swiper .swiper-button-prev {
  left: -10px;
}

/* Custom pagination */
.cases-featured-swiper .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.cases-featured-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.cases-featured-swiper .swiper-pagination-bullet-active {
  background: #ff8f32;
  transform: scale(1.3);
}

/* Ensure proper card sizing within slides */
.cases-featured-swiper .swiper-slide .case-card {
  min-height: 300px;
  max-width: 280px;
  margin: 0 auto;
}

/* Basic slide styling */
.cases-featured-swiper .swiper-slide {
  min-width: 200px;
  display: flex;
  justify-content: center;
}

/* Responsive adjustments for navigation */
@media (max-width: 640px) {
  .cases-featured-swiper .swiper-button-next,
  .cases-featured-swiper .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 1100px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 700px) {
  .featured-title {
    font-size: 1.1rem;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .game-card-plain.with-bg {
    height: 160px;
  }
  .game-card-content {
    padding: 1.5rem;
  }
  .game-card-icon i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
  .game-card-title {
    font-size: 1.25rem;
  }
}
@media (max-width: 1024px) {
  .welcome-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .promo-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .welcome-content {
    padding: 1.5rem;
  }

  .welcome-icon {
    width: 60px;
    height: 60px;
  }

  .welcome-icon i {
    font-size: 2rem;
  }

  .welcome-info h2 {
    font-size: 1.5rem;
  }
}
