/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
}

/* Header Styles */
.navbar {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 193, 7, 0.3);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffc107 !important;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #ffc107 !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: linear-gradient(90deg, #ffc107, #ff6b35);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler .bi-list {
  color: #eda540 !important;
}

/* Hero Section */
.hero-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffc107" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ff6b35" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  position: relative;
  z-index: 2;
}

.hero-buttons .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  border: none;
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.btn-outline-light {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-light:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
}

/* Hero Animation */
.hero-image {
  text-align: center;
  position: relative;
}

.slot-machine-animation {
  display: inline-block;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.slot-symbols {
  display: flex;
  gap: 1rem;
  font-size: 3rem;
  animation: slotSpin 3s infinite linear;
}

@keyframes slotSpin {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(0);
  }

  75% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Filters Section */
.filters-section {
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 193, 7, 0.2);
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.filter-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.filter-buttons,
.provider-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.provider-filter-buttons {
  max-height: 200px;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.provider-filter-buttons::-webkit-scrollbar {
  width: 8px;
}

.provider-filter-buttons::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.provider-filter-buttons::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  border-radius: 4px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.filter-btn.active {
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  border-color: #ffc107;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

/* Slots Section */
.slots-section {
  padding: 80px 0;
}

#slotsGrid.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Slot Cards */
.slot-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  position: relative;
}

.slot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 107, 53, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.slot-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 193, 7, 0.5);
}

.slot-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

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

.slot-image-link {
  display: block;
  text-decoration: none;
}

.slot-info {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.slot-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.slot-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.slot-title-link:hover {
  color: #ffc107;
}

.slot-provider {
  color: #ffc107;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slot-rtp {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.slot-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-play {
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  border: none;
  color: #000000;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
  color: #000000;
}

.btn-demo {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-demo:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: rgba(0, 0, 0, 0.2);
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
}

.feature-icon {
  font-size: 3rem;
  color: #ffc107;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-card p {
  color: #e0e0e0;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #000000, #1a1a2e);
  border-top: 1px solid rgba(255, 193, 7, 0.3);
  padding: 60px 0 30px;
}

.footer-title {
  color: #ffc107;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffc107;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: #999999;
}

/* Load More Button */
#loadMoreSlots {
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  border: none;
  color: #000000;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#loadMoreSlots:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

#loadMoreSlots:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* No Slots Message */
.no-slots-message {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .filter-buttons,
  .provider-filter-buttons {
    justify-content: center;
  }

  .provider-filter-buttons {
    max-height: 150px;
  }

  .slot-card {
    margin-bottom: 1.5rem;
  }

  .filters-section {
    padding: 40px 0;
  }

  .slots-section {
    padding: 60px 0;
  }

  .blog-hero-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.2rem !important;
  }

  .blog-hero-thumb {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-bottom: 0.5rem;
  }

  .blog-hero-thumb img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    # max-height: 180px;
    border-radius: 16px;
  }

  .blog-hero-content {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .slot-info {
    padding: 1rem;
  }

  .slot-title {
    font-size: 1.1rem;
  }
}

/* Loading Animation */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Breadcrumbs */
.breadcrumb-custom {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  margin: 2rem 0;
}

.breadcrumb {
  margin: 0;
  background: none;
}

.breadcrumb-item a {
  color: #ffc107;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #ffffff;
}

/* Archive Header */
.archive-header {
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffc107;
  margin-bottom: 1rem;
}

.archive-description {
  color: #e0e0e0;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 3rem;
}

.page-numbers {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  color: #000000;
  border-color: #ffc107;
}

.blog-hero-thumb {
  position: relative;
  overflow: hidden;
  # max-height: 180px;
}

.blog-hero-thumb img {
  display: block;
  width: 100%;
  height: auto;
  # max-height: 180px;
  border-radius: 16px;
}

.blog-hero-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(10, 10, 20, 0.7) 100%);
  border-radius: 0 0 16px 16px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .d-flex.flex-row.flex-wrap.gap-4 {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .blog-main-content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    display: block !important;
  }
}

@media (max-width: 768px) {

  aside .sidebar-slots,
  aside .sidebar-slots-title,
  .widget_random_slots_widget,
  .widget_random_slots_widget .sidebar-slots,
  .widget_random_slots_widget .sidebar-slots-title {
    display: none !important;
  }
}

@media (max-width: 768px) {

  .sidebar-slots-title,
  .blog-inline-slots {
    display: none !important;
  }
}

.scroll-to-top {
  position: fixed;
  right: 32px;
  bottom: 64px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ffc107, #ff6b35);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  cursor: pointer;
}

.scroll-to-top svg {
  display: block;
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

@media (max-width: 600px) {
  .scroll-to-top {
    right: 16px;
    bottom: 32px;
    width: 44px;
    height: 44px;
  }
}