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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Variables */
:root {
  --primary-gold: #ffd700;
  --primary-red: #dc2626;
  --dark-bg: #0f0f23;
  --card-bg: #1a1a2e;
  --accent-blue: #16213e;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
  --border-color: #374151;
}

/* Utils */
.is-hidden {
  display: none !important;
}
.main-offset {
  padding-top: 100px;
}
.content-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.content-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}
.heading-accent {
  color: var(--primary-gold);
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-075 {
  margin-top: 0.75rem;
}
.text-center {
  text-align: center;
}
.text-light {
  color: var(--text-light);
}
.text-muted {
  color: var(--text-muted);
}
.text-white {
  color: #ffffff;
}
.m-0 {
  margin: 0;
}
.pl-18 {
  padding-left: 18px;
}
.link-accent {
  color: var(--primary-gold);
}
.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}
.card-danger {
  background: var(--primary-red);
  border: none;
}
.card-translucent {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
}
.grid-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: var(--primary-red);
  color: white;
}

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

.btn-outline:hover {
  background: var(--primary-gold);
  color: #000;
}

/* Modal Styles */
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  border: 1px solid var(--border-color);
}

#feedbackText {
  margin-top: 0.5rem;
  color: var(--text-light);
}

.modal-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.modal-header h2 {
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.age-buttons .btn {
  flex: 1;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
  background: rgba(15, 15, 35, 0.98);
}

.navbar {
  padding: 1rem 0;
  position: relative;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h1 {
  color: var(--primary-gold);
  margin: 0;
  font-size: 1.5rem;
}

.nav-brand img {
  height: 40px;
  width: auto;
  max-width: 200px;
  transition: transform 0.3s ease;
}

.nav-brand img:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-gold);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hamburger active → cross */
.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgba(15, 15, 35, 0.8) 0%,
      rgba(26, 26, 46, 0.8) 50%,
      rgba(22, 33, 62, 0.8) 100%
    ),
    url("images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Top Casinos Section */
.top-casinos {
  padding: 80px 0;
  background: var(--card-bg);
}

.top-casinos h2 {
  text-align: center;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.top-casinos > .container > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.casinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.casino-card {
  background: var(--dark-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.1);
}

.casino-logo {
  margin-bottom: 1rem;
}

.casino-logo img {
  max-width: 120px;
  height: 60px;
  object-fit: contain;
}

.casino-card h3 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.stars {
  color: var(--primary-gold);
  font-size: 1.2rem;
}

.features {
  list-style: none;
  margin-bottom: 2rem;
}

.features li {
  padding: 0.5rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.features li:last-child {
  border-bottom: none;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about h2 {
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
}

.about p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--text-muted);
  margin: 0;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
}

/* Games Section */
.games {
  padding: 80px 0;
  background: var(--card-bg);
}

.games h2 {
  text-align: center;
  color: var(--primary-gold);
  margin-bottom: 3rem;
}

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

.game-category {
  background: var(--dark-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

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

.game-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Ensure image icons fit nicely */
.game-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

.game-category h3 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.game-category p {
  color: var(--text-muted);
}

/* Trust and Security Section */
.trust-security {
  padding: 80px 0;
}

.trust-security h2 {
  text-align: center;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.trust-security > .container > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.trust-card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.1);
}

.trust-card img {
  max-width: 210px;
  height: 60px;
  object-fit: contain;
}

.trust-card h4 {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background: var(--card-bg);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.newsletter p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--dark-bg);
  color: white;
  font-size: 1rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-gold);
}

.newsletter-disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.newsletter-disclaimer a {
  color: var(--primary-gold);
  text-decoration: none;
}

.newsletter-disclaimer input[type="checkbox"] {
  margin-right: 8px;
  transform: translateY(1px);
}

.newsletter-contact {
  margin-top: 0.75rem;
  opacity: 0.9;
}

.newsletter-contact a {
  color: var(--primary-gold);
  text-decoration: none;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-section img {
  height: 32px;
  width: auto;
  max-width: 180px;
  margin-bottom: 1rem;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.footer-section img:hover {
  filter: brightness(1.1);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 101;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    flex-direction: column;
    gap: 16px;
  }

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

  .nav-menu a {
    font-size: 1.05rem;
    padding: 6px 0;
  }

  .nav-brand img {
    height: 32px;
    max-width: 160px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .stats {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

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

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

  .hero {
    padding: 100px 0 60px;
  }

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

  .casino-card,
  .game-category,
  .trust-card {
    padding: 1.5rem;
  }

  .game-icon img {
    width: 48px;
    height: 48px;
  }

  .stats {
    flex-direction: column;
  }
}

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

.casino-card,
.game-category,
.trust-card {
  animation: fadeInUp 0.6s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}
.testimonials h2 {
  color: var(--primary-gold);
  text-align: center;
  margin-bottom: 0.5rem;
}
.testimonials > .container > p {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--dark-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.08);
}
.testimonial-card .quote {
  color: var(--text-light);
  margin-bottom: 1rem;
}
.testimonial-card .author {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: var(--card-bg);
}
.faq h2 {
  color: var(--primary-gold);
  text-align: center;
  margin-bottom: 1.5rem;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--dark-bg);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: transparent;
  color: var(--text-light);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
}
.faq-toggle {
  color: var(--primary-gold);
  margin-left: 1rem;
}
.faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* No gold focus outline inside FAQ */
.faq button:focus,
.faq a:focus,
.faq input:focus {
  outline: none;
  outline-offset: 0;
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 1001;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  max-width: 300px;
}
.notification.show {
  opacity: 1;
  transform: translateX(0);
}
.notification-success {
  background: #10b981;
}
.notification-error {
  background: #ef4444;
}
.notification-warning {
  background: #f59e0b;
}
.notification-info {
  background: #3b82f6;
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #1a1a2e;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  z-index: 1000;
  max-width: 500px;
  margin: 0 auto;
}
.cookie-consent p {
  margin-bottom: 15px;
  color: var(--text-light);
}
.cookie-consent p a {
  color: var(--primary-gold);
}
.cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn-accept {
  background: var(--primary-gold);
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
}
.cookie-btn-decline {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}
