:root {
  --primary: #c9a84c;
  --primary-hover: #e0bf5f;
  --secondary: #7b2fbe;
  --bg-base: #0d0a1a;
  --bg-surface: #16112b;
  --bg-elevated: #1e1740;
  --text-primary: #f5f0ff;
  --text-secondary: #a99bc8;
  --success: #34d399;
  --border: #2d2552;
  --gradient-wash: linear-gradient(135deg, #7b2fbe 0%, #c9a84c 100%);
  --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #e0bf5f 100%);
  --glow: rgba(201, 168, 76, 0.25);

  --font-display: "Rajdhani", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

h1,
h2,
.font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 80px 0;
}

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

/* Clean Catalog Page Dividers */
.catalog-divider {
  border-bottom: 1px solid var(--border);
}

/* Headings & Accents */
.h2-left {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  color: #ffffff;
}
.h2-left::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin-top: 12px;
}

.h2-center {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  color: #ffffff;
}
.h2-center::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 12px auto 0;
}

@media (max-width: 767px) {
  .h2-left,
  .h2-center {
    font-size: 28px;
  }
}

.section-title-sub {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  white-space: nowrap;
}

.btn-type-a {
  background: var(--gradient-gold);
  color: #ffffff;
  border-radius: 100px;
  padding: 0 32px;
  height: 56px;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}
.btn-type-a:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-type-b {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 100px;
  padding: 0 24px;
  height: 48px;
  font-size: 16px;
}
.btn-type-b:hover {
  background: var(--primary);
  color: var(--bg-base);
  box-shadow: 0 0 15px var(--glow);
}

/* Navbar Style Update */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition:
    background-color 0.3s ease,
    border-bottom 0.3s ease;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background-color: rgba(22, 17, 43, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo span {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}
.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-login {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
}
.nav-login:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Slide Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border);
  padding: 40px 30px;
  transition: right 0.3s ease-in-out;
  z-index: 101;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.mobile-menu .nav-link {
  display: block;
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-link.active::after {
  display: none;
}
.mobile-menu .nav-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
  gap: 12px;
}
.mobile-menu .btn-type-a,
.mobile-menu .btn-type-b {
  width: 100%;
  min-width: unset;
}

@media (max-width: 1023px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
}

/* Hero Architecture (Centered Layout Preferences) */
.hero {
  position: relative;
  padding: 140px 0 100px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  background-color: var(--bg-base);
}
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 10, 26, 0.3) 0%,
    rgba(13, 10, 26, 0.95) 90%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 44px;
  margin-bottom: 24px;
  color: #ffffff;
}
.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.hero-cta-badge {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-cta-cluster {
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero-cta-cluster {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-cta-cluster .btn {
    width: 100%;
  }
}

/* Plain Paragraph Text Layout */
.text-block-plain {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* 3-Column Game Card Grid */
.cards-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* Game Recommendation Card */
.game-rec-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.game-rec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--glow);
  border-color: var(--primary);
}

/* Last Item strategy for 5 items grid asymmetry resolution */
.cards-catalog-grid .game-rec-card.span-two-thirds {
  grid-column: span 2;
}

.game-rec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}
.game-rec-tags {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.provider-tag {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}
.game-rec-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.rtp-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--success);
  padding: 2px 8px;
  border: 1px solid var(--success);
  border-radius: 100px;
  white-space: nowrap;
}
.game-rec-desc {
  font-size: 14px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sizing variants for tag components */
.tags-inline-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.tag-pill-large {
  display: inline-flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--text-secondary);
}

/* 2-Column Split Component Style */
.split-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}
.compact-bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}
.compact-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: bold;
}

/* HD Imagery Layout */
.panoramic-image-wrapper {
  margin: 24px 0 32px;
}
.panoramic-image-wrapper img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.aspect-21-9 img {
  aspect-ratio: 21 / 9;
}
.aspect-16-9 img {
  aspect-ratio: 16 / 9;
}

/* Vertical Listing Content Component */
.vertical-row-listing {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
}
.row-list-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.row-list-item:first-child {
  padding-top: 0;
}
.row-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.row-item-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.row-item-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Game Providers Components Grid Layout */
.providers-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.provider-text-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}
.provider-text-card:hover {
  border-color: var(--primary);
}
.provider-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.provider-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
}
.additional-providers-row {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 24px;
  text-align: center;
  padding: 16px;
  background: var(--bg-surface);
  border-radius: 8px;
}

@media (max-width: 1023px) {
  .cards-catalog-grid,
  .providers-layout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-catalog-grid .game-rec-card.span-two-thirds {
    grid-column: auto;
  }
  .split-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 767px) {
  .cards-catalog-grid,
  .providers-layout-grid {
    grid-template-columns: 1fr;
  }
  .aspect-21-9 img {
    aspect-ratio: 16 / 9;
  }
}

/* FAQ Accordion Architecture */
.faq-accordion {
  max-width: 1200px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border-left: 3px solid transparent;
  transition: border-left-color 0.3s ease;
}
.faq-item.active {
  border-left-color: var(--primary);
}
.faq-question {
  padding: 20px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-icon {
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  padding: 0 20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 15px;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
  opacity: 1;
}

.faq-section {
  padding-bottom: 100px;
}
@media (max-width: 767px) {
  .faq-section {
    padding-bottom: 64px;
  }
}

/* Footer Architecture */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  text-align: left;
}
.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 300px;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Floating CTA Module */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gradient-gold);
  color: #fff;
  padding: 0 24px;
  height: 52px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  z-index: 90;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 15px var(--glow);
  animation: pulse 2s infinite ease-in-out;
}
.floating-cta:hover {
  animation: none;
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 767px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    height: 48px;
  }
}
