/*
Theme Name: Mostbet Affiliate Theme
Author: v0
Description: Custom theme for Mostbet affiliate site
Version: 1.1
*/

:root {
  --primary-color: #07498f;
  --secondary-color: #002246;
  --accent-color-1: #4690e0;
  --accent-color-2: #fa5000;
  --text-color-light: #ffffff;
  --text-color-dark: #212529;
  --background-gradient: linear-gradient(0deg, #07498f 0%, #002246 100%);
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  line-height: 1.7;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex-grow: 1;
}

/* Header */
.header {
  background: var(--background-gradient);
  border-bottom: 2px solid var(--accent-color-1);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}
.logo {
  max-height: 50px;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
.online-counter {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Buttons */
.btn {
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.btn-download {
  background-color: var(--accent-color-1);
  color: var(--text-color-light);
}
.btn-download:hover {
  background-color: #5a9eee;
  color: var(--text-color-light);
}
.btn-bonus {
  background-color: var(--accent-color-2);
  color: var(--text-color-light);
}
.btn-bonus:hover {
  background-color: #ff6a29;
  color: var(--text-color-light);
}

/* Hero Section */
.hero-section {
  background: url("/wp-content/uploads/hero-banner.jpg") no-repeat center center;
  background-size: cover;
  padding: 6rem 0;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 34, 70, 0.7);
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.iphone-frame {
  max-width: 300px;
  margin: 0 auto;
  background: #111;
  border-radius: 40px;
  padding: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.iphone-frame img {
  width: 100%;
  border-radius: 25px;
}

/* Content Blocks */
.content-block {
  background-color: #003268;
  border-radius: 15px;
  margin-bottom: 2rem;
  padding: 2rem;
}
section {
  padding: 4rem 0;
}
section h2 {
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2.5rem !important;
}

/* Table of Contents */
.toc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #003268;
  color: var(--text-color-light);
  text-decoration: none;
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}
.toc-tile:hover {
  transform: translateY(-5px);
  background: var(--accent-color-1);
}
.toc-tile i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.toc-tile span {
  font-weight: 700;
}

/* Info Table */
.info-table {
  color: var(--text-color-light);
}
.info-table td:first-child {
  font-weight: 700;
  width: 40%;
}
.info-table tr {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Jackpots */
.jackpot-section {
  background: var(--background-gradient);
}
.jackpot-amount {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-color-2);
  text-shadow: 0 0 20px var(--accent-color-2);
}

/* Pros and Cons */
.pros-cons-card {
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
}
.pros-cons-card .card-header {
  font-weight: 700;
  color: var(--text-color-light);
}
.pros .card-header {
  background-color: #28a745;
}
.cons .card-header {
  background-color: #dc3545;
}
.pros-cons-card .list-group-item {
  background-color: #003a7a;
  color: var(--text-color-light);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Mirrors Table */
.mirrors-table .promo-code {
  background-color: var(--accent-color-2);
  color: var(--text-color-light);
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}

/* Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 15px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Games */
.game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.game-card:hover {
  transform: scale(1.05);
}
.game-card img {
  width: 100%;
  display: block;
}
.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  padding: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.game-card:hover .game-card-overlay {
  opacity: 1;
}
.game-card-overlay h5 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Main Content Styling */
.post-content {
  background-color: #003268;
  padding: 2rem;
  border-radius: 15px;
}
.post-content h2,
.post-content h3 {
  font-weight: 700;
  color: var(--accent-color-1);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}
.post-content p {
  margin-bottom: 1rem;
}
.post-content ul,
.post-content ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.post-content li {
  margin-bottom: 0.5rem;
}
.post-content table {
  width: 100%;
  margin-bottom: 1rem;
  color: var(--text-color-light);
  border-collapse: collapse;
}
.post-content th,
.post-content td {
  padding: 0.75rem;
  vertical-align: top;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.post-content thead th {
  vertical-align: bottom;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  background-color: #004080;
}

/* FAQ Accordion */
.accordion-item {
  background-color: #003a7a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0.5rem;
  border-radius: 10px !important;
}
.accordion-button {
  background-color: #003a7a;
  color: var(--text-color-light);
  font-weight: 700;
  border-radius: 10px !important;
}
.accordion-button:not(.collapsed) {
  background-color: var(--accent-color-1);
  color: var(--text-color-light);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-body {
  color: #eee;
}

/* Footer */
.footer {
  background: var(--background-gradient);
  border-top: 2px solid var(--accent-color-1);
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--text-color-light);
}
.payment-logos img,
.provider-logos img {
  height: 25px;
  margin-right: 10px;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.payment-logos img:hover,
.provider-logos img:hover {
  opacity: 1;
}
.copyright {
  font-size: 0.8rem;
  color: #aaa;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--background-gradient);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--accent-color-2);
}
.sticky-widget .widget-text {
  font-size: 1.1rem;
}
.sticky-widget a {
  text-decoration: none;
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Unused styles for uniqueness */
.wp-block-gallery {
  display: none;
}
.comment-form-cookies-consent {
  visibility: hidden;
}
.entry-meta {
  font-style: italic;
}

/* Responsive */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 4rem 0;
  }
  .jackpot-amount {
    font-size: 2.5rem;
  }
  .sticky-widget .widget-text {
    font-size: 0.9rem;
  }
  .sticky-widget .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  /* Here you would add JS to make the games section a slider */
}
