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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #0a0a0a;
}

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

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

h1 {
  font-size: 2.5rem;
  color: #ffd700;
}

h2 {
  font-size: 2rem;
  color: #ffd700;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: #ffb347;
}

p {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffb347;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: linear-gradient(135deg, #ffb347, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000;
}

.btn-secondary {
  background: linear-gradient(135deg, #666, #888);
  color: #fff;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Header */
header {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo h1 {
  color: #ffd700;
  font-size: 1.8rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: #ffd700;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Play Now Buttons */
.btn-play-desktop {
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-play-desktop:hover {
  background: linear-gradient(135deg, #ffb347, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.btn-play-mobile {
  display: none;
}

/* Mobile Menu Toggle */
.menu-checkbox {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ffd700;
  margin: 3px 0;
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/Royal-Chip-Lounge.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 215, 0, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3.5rem;
  color: #ffd700;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #ffb347;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.highlight {
  color: #ffd700;
  font-weight: 600;
  background: rgba(255, 215, 0, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.free-text {
  font-size: 1.3rem;
  color: #90ee90;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Sections */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-image {
  position: relative;
}

.guide-image {
  position: relative;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-placeholder {
  background: #333;
  aspect-ratio: 16/9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1.2rem;
  border: 2px dashed #555;
}

/* Leaderboard */
.leaderboard-table {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 80px 1fr 120px 150px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000;
  font-weight: 600;
  padding: 15px 20px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 150px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.leaderboard-row:hover {
  background: rgba(255, 215, 0, 0.1);
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.rank {
  font-weight: 700;
  color: #ffd700;
}

.player {
  color: #e0e0e0;
}

.score {
  color: #90ee90;
  font-weight: 600;
}

.winnings {
  color: #ffd700;
  font-weight: 600;
}

/* Security Section */
.certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.certificate-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease;
}

.certificate-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.certificate-item h3 {
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.certificate-item p {
  color: #ccc;
  font-size: 0.9rem;
}

/* Guide Section */
.guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.guide-image-top {
  margin-bottom: 2rem;
}

.guide-image-top .section-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.guide-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* FAQ */
.faq-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.faq-item h3 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.faq-item p {
  color: #e0e0e0;
  line-height: 1.8;
}

/* Testimonials */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("images/Reel-_-Cards-Atrium.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.testimonials-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

.testimonial-author {
  color: #ffd700;
  font-weight: 600;
  text-align: right;
}

/* Contact */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.contact-item {
  color: #e0e0e0;
}

.contact-item strong {
  color: #ffd700;
  display: block;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #ffb347;
  text-decoration: none;
}

.contact-item a:hover {
  color: #ffd700;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content p {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffb347;
}

.footer-banners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.footer-banner {
  display: block;
  object-fit: contain;
}

.banner-18plus {
  height: 2rem;
}

.banner-gambleaware {
  height: 1rem;
}

.banner-gamcare {
  height: 2rem;
}

.footer-banners a {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-banners a:hover {
  opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border-top: 2px solid #ffd700;
  padding: 1rem 0;
  z-index: 999;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  color: #e0e0e0;
  margin: 0;
  flex: 1;
}

.cookie-content a {
  color: #ffd700;
  text-decoration: underline;
}

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

/* Age Verification Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  padding: 3rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  border: 2px solid #ffd700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #e0e0e0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Legal Pages */
.legal-page {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  min-height: 100vh;
  padding: 100px 0 50px;
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #ffb347;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-content section {
  margin-bottom: 3rem;
  padding: 0;
}

.legal-content h2 {
  color: #ffd700;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.legal-content h3 {
  color: #ffb347;
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.8rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.legal-content p {
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.important-note {
  background: rgba(255, 215, 0, 0.1);
  border-left: 4px solid #ffd700;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 5px;
}

.important-note strong {
  color: #ffd700;
}

.cookie-table table,
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
}

.cookie-table th,
.cookie-table td,
.legal-content th,
.legal-content td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.cookie-table th,
.legal-content th {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  font-weight: 600;
}

.warning-text {
  color: #ff6b6b;
  font-weight: 600;
  font-style: italic;
}

.acceptance-statement {
  background: rgba(255, 215, 0, 0.1);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-top: 3rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 900px) {
  /* Mobile Menu */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 80px 20px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .menu-checkbox:checked ~ .main-nav {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav a {
    display: block;
    padding: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
  }

  .main-nav a:hover {
    background: rgba(255, 215, 0, 0.1);
  }

  .btn-play-desktop {
    display: none;
  }

  .btn-play-mobile {
    display: block;
    margin-top: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #000;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
  }

  /* Burger Animation */
  .menu-checkbox:checked ~ .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-checkbox:checked ~ .menu-toggle span:nth-child(2) {
    transform: scale(0);
  }

  .menu-checkbox:checked ~ .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Header adjustments */
  .header-content {
    padding: 0 15px;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  /* Hero adjustments */
  .hero h2 {
    font-size: 2.5rem;
  }

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

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

  /* Layout adjustments */
  .about-content,
  .guide-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .certificates {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Leaderboard adjustments */
  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 60px 1fr 100px 120px;
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  /* Cookie banner adjustments */
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  /* Modal adjustments */
  .modal-content {
    margin: 20px;
    padding: 2rem;
  }

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

  /* Legal pages adjustments */
  .legal-content {
    padding: 0 15px;
  }

  .legal-content h2 {
    font-size: 1.5rem;
  }

  .cookie-table,
  .legal-content table {
    font-size: 0.9rem;
  }

  .cookie-table th,
  .cookie-table td,
  .legal-content th,
  .legal-content td {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 2rem;
  }

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

  .logo h1 {
    font-size: 1.2rem;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 50px 1fr 80px 100px;
    font-size: 0.8rem;
    padding: 10px 12px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.text-gold {
  color: #ffd700;
}

.text-amber {
  color: #ffb347;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}
