/* Casino Page Specific Styles */

/* Casino Hero Section */
.casino-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/casino/casino-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
}

.casino-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.casino-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Casino Categories Section */
.casino-categories {
  padding: 60px 0;
}

.categories-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.search-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  width: 300px;
}

.search-box input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-right: none;
  background-color: var(--card-background);
  color: var(--text-color);
  border-radius: 5px 0 0 5px;
}

.search-box button {
  background-color: var(--primary-color);
  color: var(--text-dark);
  border: none;
  padding: 0 15px;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
}

.filter-options select {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  background-color: var(--card-background);
  color: var(--text-color);
  border-radius: 5px;
  cursor: pointer;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Games Grid */
.games-grid {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.8rem;
  color: var(--text-color);
}

.view-all {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.view-all i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-all:hover i {
  transform: translateX(5px);
}

.games-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.game-card {
  background-color: var(--card-background);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
}

.game-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.play-btn,
.demo-btn {
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 600;
  margin: 5px;
  transition: all 0.3s ease;
}

.play-btn {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.play-btn:hover {
  background-color: var(--primary-dark);
}

.demo-btn {
  background-color: transparent;
  border: 1px solid var(--text-color);
  color: var(--text-color);
}

.demo-btn:hover {
  background-color: var(--text-color);
  color: var(--card-background);
}

.live-badge,
.jackpot-badge,
.new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 1;
}

.live-badge {
  background-color: #dc3545;
  color: white;
}

.jackpot-badge {
  background-color: #28a745;
  color: white;
}

.new-badge {
  background-color: #17a2b8;
  color: white;
}

.game-info {
  padding: 15px;
}

.game-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-info p {
  font-size: 0.9rem;
  color: #999999;
}

/* Casino Bonus Section */
.casino-bonus {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.bonus-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.bonus-text {
  flex: 1;
}

.bonus-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.bonus-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.bonus-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.bonus-features {
  margin-bottom: 30px;
}

.bonus-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.bonus-features li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.bonus-image {
  flex: 1;
}

.bonus-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Casino Providers Section */
.casino-providers {
  padding: 80px 0;
}

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

.provider-logo {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.provider-logo:hover {
  transform: translateY(-10px);
}

.provider-logo img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.provider-logo:hover img {
  filter: grayscale(0%);
}

/* Casino Guide Section */
.casino-guide {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.guide-text {
  flex: 1;
}

.guide-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.guide-text p {
  margin-bottom: 20px;
}

.guide-text ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.guide-text ol li {
  margin-bottom: 10px;
}

.guide-image {
  flex: 1;
}

.guide-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Popular Games Section */
.popular-games {
  padding: 80px 0;
}

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

.game-info-card {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.game-info-card:hover {
  transform: translateY(-10px);
}

.game-info-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.game-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.game-info-card p {
  color: #cccccc;
  margin-bottom: 20px;
}

/* Responsible Gambling Section */
.responsible-gambling {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.responsible-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.responsible-text {
  flex: 1;
}

.responsible-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.responsible-text p {
  margin-bottom: 20px;
}

.responsible-text ul {
  margin-bottom: 20px;
}

.responsible-text ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.responsible-text ul li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.responsible-image {
  flex: 1;
}

.responsible-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Casino FAQ Section */
.casino-faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: var(--card-background);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  font-size: 1.2rem;
  margin: 0;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

/* SEO Content Section */
.seo-content {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.seo-text {
  max-width: 1000px;
  margin: 0 auto;
}

.seo-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.seo-text h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

.seo-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.seo-text ul,
.seo-text ol {
  margin: 0 0 20px 20px;
}

.seo-text li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .games-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .providers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .games-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .providers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bonus-content,
  .guide-content,
  .responsible-content {
    flex-direction: column;
  }

  .bonus-image,
  .guide-image,
  .responsible-image {
    margin-top: 30px;
  }

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

@media (max-width: 768px) {
  .casino-hero h1 {
    font-size: 2.5rem;
  }

  .search-filter {
    flex-direction: column;
    gap: 15px;
  }

  .search-box {
    width: 100%;
  }

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

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

  .games-info-grid {
    grid-template-columns: 1fr;
  }
}

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

  .tab-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .section-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }
}
