@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css');

:root {
  --primary-color: #4C95B8;
  --secondary-color: #000000;
  --third-color: #111111;
  --text-primary: #FFFFFF;
  --text-secondary: #AAAAAA;
  --accent-primary: #476EA4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Ubuntu', sans-serif;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(images/nextpokies-casinohall.webp);
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
}


a {
  text-decoration: none;
  color: var(--accent-primary);
}

img {
  max-width: 100%;
  height: auto;
  width: auto;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(71, 110, 164, 0.3) 100%);
  z-index: 2;
  backdrop-filter: blur(1px);
}

.navbar {
  background-color: var(--secondary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
}

.navbar .logo img {
  height: 50px;
  align-items: center;
}

.navbar-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.navbar-menu li a {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar-menu li a:hover {
  color: var(--primary-color);
}

.navbar .auth-buttons {
  display: flex;
  gap: 10px;
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
}

.breadcrumbs ol {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 10px;
  color: var(--primary-color);
  font-weight: bold;
}

.breadcrumbs a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumbs span {
  color: var(--text-primary);
}

.btn-login {
  background-color: var(--text-primary);
  color: var(--secondary-color);
  border: 2px solid var(--text-primary);
}

.btn-register {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-login:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-register:hover {
  background-color: var(--text-primary);
  color: var(--secondary-color);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(71, 110, 164, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 60px 50px;
  top: 20px;
  border-radius: 15px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

.hero-image-left {
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  width: 300px;
  height: auto;
  filter: blur(2px);
  animation: floatLeft 6s ease-in-out infinite;
}

.hero-image-right {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%) rotate(15deg);
  width: 300px;
  height: auto;
  filter: blur(2px);
  animation: floatRight 6s ease-in-out infinite;
}

.hero-image-center {
  position: absolute;
  right: 10%;
  top: 20%;
  width: 200px;
  height: auto;
  filter: blur(1px);
  opacity: 0.2;
  animation: floatCenter 8s ease-in-out infinite;
}

.hero-background-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

@keyframes floatLeft {
  0%, 100% {
    transform: translateY(-50%) rotate(-15deg) translateX(0);
  }
  50% {
    transform: translateY(-50%) rotate(-15deg) translateX(20px);
  }
}

@keyframes floatRight {
  0%, 100% {
    transform: translateY(-50%) rotate(15deg) translateX(0);
  }
  50% {
    transform: translateY(-50%) rotate(15deg) translateX(-20px);
  }
}

@keyframes floatCenter {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out;
  text-align: center;
  width: 100%;
}

.badge-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-primary));
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(76, 149, 184, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  animation: fadeInUp 1s ease-out;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.h1-line-1 {
  background: linear-gradient(135deg, #4C95B8 0%, #FFFFFF 50%, #4C95B8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 0 30px rgba(76, 149, 184, 0.5);
  animation: shimmer 3s linear infinite;
  letter-spacing: 1px;
  text-align: center;
  display: block;
}

.h1-line-2 {
  background: linear-gradient(135deg, #FFFFFF 0%, #4C95B8 50%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  animation: shimmer 3s linear infinite 0.5s;
  letter-spacing: 2px;
  text-align: center;
  display: block;
}

.h1-line-3 {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  animation: shimmer 3s linear infinite 1s;
  letter-spacing: 1px;
  position: relative;
  text-align: center;
  display: block;
}

.h1-line-3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  animation: slideIn 1.5s ease-out 1s both;
}

.hero-image-below-h1 {
  margin: 30px auto;
  text-align: center;
  animation: fadeInUp 1.2s ease-out;
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-below-h1 img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(76, 149, 184, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  object-fit: cover;
}

.hero-image-below-h1 img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6),
              0 0 40px rgba(76, 149, 184, 0.5);
  border-color: rgba(76, 149, 184, 0.3);
}

/* Table of Contents Section */
.table-of-contents {
  margin: 40px 0;
  padding: 0 16px;
}

.toc-container {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(71, 110, 164, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
  border-radius: 15px;
  padding: 40px 30px;
  border: 1px solid rgba(76, 149, 184, 0.2);
  backdrop-filter: blur(10px);
}

.toc-heading {
  font-size: 1.8rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.toc-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.toc-nav {
  width: 100%;
}

.toc-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toc-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 15px;
  background: rgba(17, 17, 17, 0.6);
  border: 2px solid rgba(76, 149, 184, 0.3);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.toc-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76, 149, 184, 0.2), transparent);
  transition: left 0.5s ease;
}

.toc-link:hover::before {
  left: 100%;
}

.toc-link:hover {
  background: rgba(76, 149, 184, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(76, 149, 184, 0.3);
}

.toc-link i {
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.toc-link:hover i {
  color: var(--text-primary);
  transform: scale(1.2) rotate(5deg);
}

.toc-link span {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: color 0.3s ease;
}

.toc-link:hover span {
  color: var(--primary-color);
}

.toc-link[aria-current="page"] {
  background: rgba(76, 149, 184, 0.3);
  border-color: var(--primary-color);
}

.toc-link[aria-current="page"] i {
  color: var(--text-primary);
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease-out;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(76, 149, 184, 0.3);
}

.hero-feature-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.hero-feature-item span {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: fadeInUp 1.4s ease-out;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-buttons .btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-buttons .btn i {
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
  transform: translateX(5px);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
  padding: 12px 30px;
  font-size: 1.1rem;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  padding: 12px 30px;
  font-size: 1.1rem;
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--secondary-color);
}

.btn-play {
  display: inline-block;
  margin-top: 10px;
  background-color: var(--primary-color);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-play:hover {
  background-color: var(--accent-primary);
  transform: translateY(-2px);
}

.about-us {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 40px;
}

.about-us-banner {
  flex: 1;
  max-width: 50%;
  overflow: hidden;
}

.about-us-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}

.about-us-intro {
  flex: 1;
  max-width: 50%;
  padding: 30px;
  background-color: var(--secondary-color);
  border-radius: 0 10px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-us-intro h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-us-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.feature-list li {
  padding: 10px 0 10px 25px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.bonus {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.bonus-carousel {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.bonus-carousel a {
  flex-shrink: 0;
  width: 100%;
}

.bonus-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.bonus-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.bonus-banner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  max-width: 600px;
  margin-top: 30px;
  height: auto;
}

.bonus-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.bonus-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
}

.bonus-intro h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bonus-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bonus-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.bonus-card {
  flex: 1;
  min-width: 200px;
  background-color: var(--third-color);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease;
}

.bonus-card:hover {
  transform: translateY(-5px);
}

.bonus-card h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bonus-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bonus-card i {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--accent-primary);
}

.games {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  border-radius: 10px;
  background-color: var(--secondary-color);
}

.games-intro h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.games-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

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

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

.game-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.game-card h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.faq {
  margin-top: 20px;
  padding: 30px;
  border-radius: 10px;
  background-color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Why Choose Section */
.why-choose {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--third-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(76, 149, 184, 0.3);
}

.feature-icon {
  margin-bottom: 20px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.feature-icon i {
  font-size: 3rem;
  color: var(--primary-color);
  display: inline-block;
  transition: all 0.3s ease;
}

/* 3D Icon Effects */
.icon-3d {
  position: relative;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-3d::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(76, 149, 184, 0.3), rgba(71, 110, 164, 0.1), transparent 70%);
  transform: translateZ(-10px);
  transition: all 0.4s ease;
}

.icon-3d i {
  font-size: 4rem;
  background: linear-gradient(135deg, #4C95B8 0%, #6BB3D4 30%, #476EA4 60%, #2E5F8F 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 8px 20px rgba(76, 149, 184, 0.5)) 
          drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
  position: relative;
  z-index: 2;
  transform: translateZ(25px);
  animation: iconFloat 4s ease-in-out infinite, iconShimmer 3s linear infinite;
  display: block;
}

.icon-3d i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(76, 149, 184, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-15px);
  z-index: -1;
  filter: blur(20px);
  animation: iconGlow 3s ease-in-out infinite;
}

.feature-card:hover .icon-3d {
  transform: translateY(-15px) rotateY(15deg) rotateX(10deg) scale(1.05);
}

.feature-card:hover .icon-3d::before {
  background: radial-gradient(circle at 30% 30%, rgba(76, 149, 184, 0.5), rgba(71, 110, 164, 0.2), transparent 70%);
  transform: translateZ(-5px) scale(1.1);
}

.feature-card:hover .icon-3d i {
  filter: drop-shadow(0 15px 35px rgba(76, 149, 184, 0.7)) 
          drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
  transform: translateZ(40px) scale(1.15);
  animation-duration: 2s, 2s;
}

.feature-card:hover .icon-3d i::after {
  filter: blur(25px);
  opacity: 0.8;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateZ(25px) translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateZ(25px) translateY(-12px) rotateZ(2deg);
  }
}

@keyframes iconShimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes iconGlow {
  0%, 100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) translateZ(-15px) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) translateZ(-15px) scale(1.1);
  }
}

/* Individual icon animations with slight delays */
.feature-card:nth-child(1) .icon-3d i {
  animation-delay: 0s;
}

.feature-card:nth-child(2) .icon-3d i {
  animation-delay: 0.5s;
}

.feature-card:nth-child(3) .icon-3d i {
  animation-delay: 1s;
}

.feature-card:nth-child(4) .icon-3d i {
  animation-delay: 1.5s;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Pokies Section */
.pokies-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.pokies-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.pokie-category-card:hover {
  transform: translateY(-5px);
}

.pokie-category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-content {
  padding: 20px;
}

.category-content h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.category-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Live Casino Section */
.live-casino-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.live-casino-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.live-casino-image {
  flex: 1;
}

.live-casino-image img {
  width: 100%;
  border-radius: 10px;
}

.live-casino-text {
  flex: 1;
}

.live-casino-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Promotions Section */
.promotions-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.promotion-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.promotion-card:hover {
  transform: translateY(-5px);
}

.promotion-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.promotions-info {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--third-color);
  border-radius: 10px;
}

.promotions-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.promotions-info .btn-primary {
  margin-top: 20px;
}

/* Banking Section */
.banking-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.banking-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.banking-method-card:hover {
  transform: translateY(-5px);
}

.banking-icon {
  margin-bottom: 20px;
}

.banking-icon i {
  font-size: 3rem;
  color: var(--primary-color);
}

.banking-method-card h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.banking-method-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.banking-note {
  margin-top: 40px;
  padding: 20px;
  background-color: var(--third-color);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.banking-note p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Mobile Section */
.mobile-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.mobile-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.mobile-text {
  flex: 1;
}

.mobile-text h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.mobile-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.mobile-image {
  flex: 1;
}

.mobile-image img {
  width: 100%;
  border-radius: 10px;
}

/* Get Started Section */
.get-started-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  background-color: var(--third-color);
  padding: 30px;
  border-radius: 10px;
  position: relative;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.get-started-note {
  margin-top: 40px;
  padding: 20px;
  background-color: var(--third-color);
  border-radius: 10px;
  text-align: center;
}

.get-started-note p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Trust & Safety Section */
.trust-safety-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.trust-content {
  margin-top: 40px;
}

.trust-features,
.responsible-gambling {
  background-color: var(--third-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.trust-features h3,
.responsible-gambling h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.trust-features p,
.responsible-gambling p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Final Thoughts Section */
.final-thoughts-section {
  margin-top: 60px;
  padding: 40px 30px;
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.final-thoughts-content {
  margin-top: 40px;
}

.final-thoughts-banner {
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
}

.final-thoughts-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.final-thoughts-checklist {
  background-color: var(--third-color);
  padding: 30px;
  border-radius: 10px;
}

.final-thoughts-checklist h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.final-thoughts-checklist p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 20px;
  font-size: 1rem;
}

/* Enhanced FAQ */
.faq h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: var(--third-color);
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background-color: rgba(76, 149, 184, 0.1);
}

.faq-item h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0;
  position: relative;
  padding-right: 30px;
}

.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active h3::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  opacity: 0;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  opacity: 1;
  padding-top: 15px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.faq-item {
  background-color: var(--third-color);
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-item h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  position: relative;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active p {
  max-height: 500px;
  opacity: 1;
}

.footer {
  background-color: var(--secondary-color);
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid var(--);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-logo img {
  height: 50px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  width: 100%;
  max-width: 1000px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-link-group h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-link-group a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-align: left;
}

.footer-link-group a:hover {
  color: var(--accent-primary);
}

.footer-copy {
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-copy p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: var(--text-secondary) !important;
  opacity: 0.8;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .navbar {
    padding: 20px 40px;
    flex-wrap: wrap;
  }

  .about-us {
    flex-direction: column;
  }

  .about-us-banner,
  .about-us-intro {
    max-width: 100%;
    border-radius: 10px;
  }

  .about-us-intro {
    padding: 20px;
  }

  .bonus {
    flex-direction: column;
  }

  .bonus-banner,
  .bonus-details {
    max-width: 100%;
  }

  .games {
    padding: 20px;
  }

  .faq {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 3;
    margin-top: 20px;
    gap: 10px;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar .auth-buttons {
    order: 2;
    margin-left: auto;
    margin-right: 10px;
  }

  .hero {
    padding: 40px 20px;
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .h1-line-1 {
    font-size: 1.4rem;
  }

  .h1-line-2 {
    font-size: 1.8rem;
  }

  .h1-line-3 {
    font-size: 1.6rem;
  }

  .hero-image-below-h1 {
    margin: 20px 0;
  }

  .hero-image-below-h1 img {
    max-width: 100%;
  }

  .hero-image-left,
  .hero-image-right,
  .hero-image-center {
    display: none;
  }

  .hero-features {
    gap: 10px;
  }

  .hero-feature-item {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .about-us-intro h2 {
    font-size: 1.4rem;
  }

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

  .why-choose-grid,
  .pokies-categories,
  .banking-methods,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .live-casino-content,
  .mobile-content {
    flex-direction: column;
  }

  .promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .games-intro h2,
  .faq h2 {
    font-size: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-container {
    gap: 20px;
  }
}

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

  .hero {
    padding: 30px 15px;
    min-height: 450px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .h1-line-1 {
    font-size: 1.2rem;
  }

  .h1-line-2 {
    font-size: 1.4rem;
  }

  .h1-line-3 {
    font-size: 1.3rem;
  }

  .badge-text {
    font-size: 0.8rem;
    padding: 6px 15px;
  }

  .hero-image-below-h1 {
    margin: 15px 0;
  }

  .hero-image-below-h1 img {
    border-radius: 10px;
    border-width: 2px;
  }

  .table-of-contents {
    margin: 30px 0;
    padding: 0 10px;
  }

  .toc-container {
    padding: 30px 20px;
  }

  .toc-heading {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .toc-menu {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }

  .toc-link {
    padding: 15px 10px;
    min-height: 100px;
  }

  .toc-link i {
    font-size: 2rem;
  }

  .toc-link span {
    font-size: 0.9rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 8px;
  }

  .hero-feature-item {
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

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

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

  .section-header {
    padding: 0 10px;
  }

  .why-choose,
  .pokies-section,
  .live-casino-section,
  .promotions-section,
  .banking-section,
  .mobile-section,
  .get-started-section,
  .trust-safety-section,
  .final-thoughts-section {
    padding: 30px 15px;
    margin-top: 40px;
  }

  .about-us-intro {
    padding: 20px 15px;
  }

  .bonus-details {
    padding: 20px 15px;
  }

  .games {
    padding: 20px 15px;
  }

  .faq {
    padding: 20px 15px;
  }

  .footer {
    padding: 30px 15px;
  }

  .feature-card,
  .banking-method-card,
  .step-card {
    padding: 20px;
  }

  .feature-icon i,
  .banking-icon i {
    font-size: 2.5rem;
  }

  .icon-3d {
    width: 80px;
    height: 80px;
  }

  .icon-3d i {
    font-size: 3rem;
  }
}