section {
  padding: 5rem 0;
  position: relative;
}

.hero-section {
  padding: 8rem 0 6rem;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 247, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.hero-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-section h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-section p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-section .cta-button {
  animation: fadeInUp 0.8s ease 0.4s both;
  font-size: 20px;
  padding: 20px 50px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-links {
  background: var(--dark-surface);
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.quick-links h2 {
  text-align: left;
  margin-bottom: 2.5rem;
  font-size: 18px;
}

.quick-links-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 0 2rem;
  font-size: 17px;
  cursor: pointer;
  user-select: none;
  background: var(--dark-card);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.quick-links-toggle:hover {
  border-color: var(--primary-electric);
  box-shadow: var(--shadow-sm);
  background: rgba(0, 240, 255, 0.08);
}

.quick-links-toggle::after {
  content: '▾';
  font-size: 18px;
  color: var(--primary-electric);
  transition: transform 0.3s ease;
}

.quick-links-toggle.open::after {
  transform: rotate(180deg);
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--dark-card);
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.links-grid.open {
  max-height: 600px;
}

.links-grid a {
  background: transparent;
  padding: 0.7rem 1.5rem;
  border-radius: 0;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: all 0.3s ease;
  display: block;
}

.links-grid a:last-child {
  border-bottom: none;
}

.links-grid a:hover {
  color: var(--primary-electric);
  background: rgba(0, 240, 255, 0.08);
  padding-left: 2rem;
}

.facts-block {
  margin-top: 3rem;
}

.facts-block h2 {
  font-size: clamp(20px, 2.4vw, 28px);
}

.facts-block .table-responsive {
  border: 1px solid rgba(0, 240, 255, 0.1);
  margin: 0;
}

.facts-block .facts-table {
  margin: 0;
}

.facts-table th,
.facts-table td {
  background: var(--dark-card);
  padding: 1.1rem 1.5rem;
  font-size: 15px;
}

.facts-table th {
  width: 42%;
  color: var(--primary-electric);
  font-weight: 600;
  text-align: left;
}

.facts-table td {
  color: var(--text-muted);
}

.facts-table tr {
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: background 0.3s ease;
}

.facts-table tr:hover th,
.facts-table tr:hover td {
  background: rgba(0, 240, 255, 0.05);
}

.facts-table tr:last-child {
  border-bottom: none;
}

.bonuses-section,
.login-section,
.pokies-section,
.mobile-section,
.advantages-section,
.providers-section,
.security-section {
  background: var(--dark-bg);
}

.bonuses-section h2,
.login-section h2,
.pokies-section h2,
.mobile-section h2,
.advantages-section h2,
.providers-section h2,
.security-section h2 {
  text-align: left;
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
}

.bonuses-section h2::after,
.login-section h2::after,
.pokies-section h2::after,
.mobile-section h2::after,
.advantages-section h2::after,
.providers-section h2::after,
.security-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

article {
  margin-bottom: 4rem;
}

article h3 {
  margin-top: 2rem;
}


.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cards-grid article {
  background: var(--dark-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: all 0.4s ease;
}

.cards-grid article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 240, 255, 0.3);
}

.comparison-table {
  margin: 0;
}

.pokies-gallery {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pokies-gallery img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

.app-showcase-img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

dl {
  margin: 1.5rem 0;
}

dt {
  color: var(--primary-electric);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 16px;
}

dd {
  color: var(--text-muted);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(0, 240, 255, 0.2);
}

.cta-section {
  background: var(--gradient-dark);
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 0, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 19px;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .cta-button {
  font-size: 20px;
  padding: 22px 55px;
}

@media (max-width: 1199px) {
  .cards-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }

  .pokies-gallery {
    gap: 0.75rem;
  }

  .pokies-gallery img {
    width: calc(50% - 0.375rem);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-section {
    padding: 5rem 0 4rem;
  }

  .hero-section p {
    font-size: 16px;
  }

  .hero-section .cta-button {
    font-size: 18px;
    padding: 18px 40px;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  .cards-grid article {
    padding: 1.5rem;
  }

  .accordion-header {
    padding: 1.25rem 1.5rem;
    font-size: 18px;
    padding-right: 3rem;
  }

  .accordion-header::after {
    right: 1.5rem;
  }

  .accordion-body {
    padding: 0 1.5rem;
  }

  .accordion-item.active .accordion-body {
    padding: 0 1.5rem 1.25rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-section p {
    font-size: 16px;
  }

  .cta-section .cta-button {
    font-size: 18px;
    padding: 18px 40px;
  }

  h2 {
    font-size: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  .hero-section .cta-button,
  .cta-section .cta-button {
    width: 100%;
    padding: 16px 30px;
  }
}

/* site-blocks: card components for games / providers / payments / footer RG badges */

.games-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}

.games-block-header:first-child {
  margin-top: 0;
}

.games-block-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.games-all-btn {
  display: inline-block;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--text-light);
  padding: 0.55rem 1.4rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.games-all-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-2px);
}

.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.game-card {
  display: block;
  flex: 1 1 150px;
  max-width: 190px;
  background: var(--dark-card);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
  border-color: var(--primary-electric);
}

.game-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 39, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.game-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.game-demo-btn {
  background: var(--accent-neon);
  color: var(--dark-bg);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.game-card-info {
  padding: 0.75rem 0.9rem 0.9rem;
}

.game-card-info h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

.logo-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 130px;
  max-width: 200px;
  height: 90px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-electric);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.25);
}

.logo-card.on-light {
  background: rgba(240, 244, 251, 0.95);
  border-color: rgba(0, 240, 255, 0.3);
}

.logo-card.on-light:hover {
  border-color: var(--primary-electric);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.35);
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.payments-logos {
  margin-bottom: 0;
}