/* ============================================
   ROOPOKIES - Games & Pokies Page
   Vibrant Gaming-Focused Design
   ============================================ */

/* CSS Variables */
:root {
  --bg-main: #060714;
  --bg-section: #0e1024;
  --bg-card: #171a36;
  --accent-primary: #f5a623;
  --accent-secondary: #b24bff;
  --accent-cta: #ff4b6e;
  --accent-success: #00d4aa;
  --accent-games: #ff6b35;
  --text-main: #ffffff;
  --text-muted: #a0a3b1;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-glow: rgba(245, 166, 35, 0.3);
  --gradient-primary: linear-gradient(135deg, var(--accent-primary), #ff8c42);
  --gradient-games: linear-gradient(135deg, #ff6b35, #f5a623);
  --gradient-purple: linear-gradient(135deg, #b24bff, #8b5cf6);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Roboto', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 7, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 997;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger-menu span {
  width: 24px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: block;
  position: absolute;
}

.hamburger-menu span:nth-child(1) {
  top: 12px;
}

.hamburger-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
  bottom: 12px;
}

.hamburger-menu.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scale(0);
}

.hamburger-menu.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.logo {
  justify-self: center;
  grid-column: 2;
}

.logo img {
  height: 50px;
  width: auto;
}

.navbar-spacer {
  display: none;
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: rgba(6, 7, 20, 0.98);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}

.navbar-menu li {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  display: block;
  text-decoration: none;
  width: 100%;
  padding: 1rem;
  color: var(--text-main);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: var(--accent-games);
  background: rgba(255, 107, 53, 0.1);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-games);
  color: var(--bg-main);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 2px solid var(--border-soft);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-games);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.1rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.section--dark {
  background: var(--bg-section);
}

.section--highlight {
  background: linear-gradient(135deg, var(--bg-section) 0%, rgba(255, 107, 53, 0.05) 100%);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  background: rgba(14, 16, 36, 0.8);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-primary);
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-item:last-child {
  color: var(--accent-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.games-hero {
  position: relative;
  padding: 4rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 7, 20, 0.95) 0%,
    rgba(6, 7, 20, 0.8) 50%,
    rgba(255, 107, 53, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-games);
  margin-bottom: 1.5rem;
}

.badge-icon {
  font-size: 1.1rem;
}

.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-games) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-showcase {
  position: relative;
  max-width: 450px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

.showcase-image {
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(255, 107, 53, 0.3);
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.2) 0%,
    transparent 70%
  );
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* ============================================
   WHY POKIES SECTION
   ============================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-games);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.why-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  text-align: center;
}

.why-summary p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ============================================
   GAME CATEGORIES
   ============================================ */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-games);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.category-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  background: var(--gradient-games);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.category-content {
  padding: 1.5rem;
}

.category-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.category-content > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.category-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-features li {
  padding: 0.35rem 0.75rem;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-games);
}

.category-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.category-tag.featured {
  background: var(--gradient-games);
  color: var(--bg-main);
  font-weight: 600;
}

/* ============================================
   GAME MECHANICS
   ============================================ */

.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mechanic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.mechanic-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

.mechanic-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-games);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.mechanic-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.mechanic-card > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.mechanic-details {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.mechanic-details h4 {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.mechanic-details ul {
  list-style: none;
}

.mechanic-details li {
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.rtp-low { color: #ff6b6b; }
.rtp-mid { color: #feca57; }
.rtp-high { color: #1dd1a1; }
.vol-low { color: #1dd1a1; }
.vol-mid { color: #feca57; }
.vol-high { color: #ff6b6b; }

.mechanic-note {
  padding: 0.75rem 1rem;
  background: rgba(255, 107, 53, 0.1);
  border-left: 3px solid var(--accent-games);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mechanic-note.warning {
  background: rgba(255, 149, 0, 0.1);
  border-left-color: #ff9500;
}

/* ============================================
   POPULAR GAMES
   ============================================ */

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.popular-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.popular-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 40px rgba(245, 166, 35, 0.2);
}

.popular-image {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.popular-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.popular-card:hover .popular-image img {
  transform: scale(1.1);
}

.popular-content {
  padding: 1.25rem;
  text-align: center;
}

.popular-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.popular-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.popular-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   SAFE PLAY
   ============================================ */

.safe-play-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.safe-tips {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2rem;
}

.safe-tips h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.tip-item:hover {
  background: rgba(255, 107, 53, 0.1);
}

.tip-icon {
  font-size: 1.5rem;
}

.tip-item span:last-child {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.safe-warning {
  background: linear-gradient(135deg, rgba(255, 75, 110, 0.1), rgba(255, 149, 0, 0.1));
  border: 1px solid rgba(255, 75, 110, 0.3);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.warning-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.warning-icon {
  font-size: 2.5rem;
}

.warning-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.warning-text p strong {
  color: var(--text-main);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-games);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-games);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] {
  background: rgba(255, 107, 53, 0.05);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-section) 0%, rgba(255, 107, 53, 0.08) 100%);
  border-top: 1px solid var(--border-soft);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.age-badge {
  width: 50px;
  height: 50px;
  background: var(--gradient-games);
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.responsible-badge {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid var(--accent-games);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-games);
  display: flex;
  align-items: center;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cta-content > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-soft);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-games);
}

.footer-age-badge {
  width: 60px;
  height: 60px;
  background: var(--gradient-games);
  color: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gamble-responsibly {
  color: var(--accent-games);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .game-showcase {
    max-width: 350px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mechanics-grid {
    grid-template-columns: 1fr;
  }

  .safe-play-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .logo {
    grid-column: 2;
    justify-self: center;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 7, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 998;
    display: flex !important;
    list-style: none;
    margin: 0;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }

  .navbar-menu li:last-child {
    border-bottom: none;
  }

  .navbar-menu li a {
    display: block;
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
  }

  .games-hero {
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-content h2 {
    font-size: 1.85rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .navbar {
    padding: 1rem;
  }

  .hero-text h1 {
    font-size: 1.65rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .popular-grid {
    grid-template-columns: 1fr;
  }

  .category-content {
    padding: 1.25rem;
  }

  .mechanic-card {
    padding: 1.5rem;
  }
}

/* Accessibility */
*:focus-visible {
  outline: 2px solid var(--accent-games);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

