/* ===================================
   Northern Reels Game - Style Sheet
   Aurora Teal, Midnight Navy, Silver
   =================================== */

:root {
  --aurora-teal: #00d9d9;
  --midnight-navy: #0a1628;
  --silver: #c0c0c0;
  --light-silver: #e8e8e8;
  --dark-teal: #008b8b;
  --gold-accent: #ffd700;
  --white: #ffffff;
  --text-light: #f0f0f0;
  --overlay-dark: rgba(10, 22, 40, 0.95);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--midnight-navy);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility Classes */
.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   AGE VERIFICATION MODAL
   =================================== */

.age-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.age-modal-content {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #1a2a4a 100%);
  border: 2px solid var(--aurora-teal);
  border-radius: 15px;
  padding: 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 217, 217, 0.5);
}

.age-modal-header h2 {
  color: var(--aurora-teal);
  font-size: 2rem;
  margin-bottom: 20px;
}

.age-modal-body p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.age-disclaimer {
  font-size: 0.95rem;
  color: var(--silver);
}

.age-modal-content form {
  width: 100%;
}

.age-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.btn-age-yes,
.btn-age-no {
  padding: 15px 40px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-age-yes {
  background: linear-gradient(
    135deg,
    var(--aurora-teal) 0%,
    var(--dark-teal) 100%
  );
  color: var(--white);
}

.btn-age-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 217, 217, 0.4);
}

.btn-age-no {
  background: var(--silver);
  color: var(--midnight-navy);
}

.btn-age-no:hover {
  background: #a0a0a0;
}

/* ===================================
   COOKIE BANNER
   =================================== */

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #1a2a4a 100%);
  border-top: 2px solid var(--aurora-teal);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-banner-content p {
  flex: 1;
  min-width: 300px;
  color: var(--text-light);
}

.cookie-banner-content a {
  color: var(--aurora-teal);
  text-decoration: underline;
}

.cookie-banner-content form {
  display: inline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept,
.btn-cookie-decline {
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cookie-accept {
  background: var(--aurora-teal);
  color: var(--midnight-navy);
}

.btn-cookie-accept:hover {
  background: var(--dark-teal);
  color: var(--white);
}

.btn-cookie-decline {
  background: transparent;
  border: 1px solid var(--silver);
  color: var(--silver);
}

.btn-cookie-decline:hover {
  background: var(--silver);
  color: var(--midnight-navy);
}

/* ===================================
   HEADER
   =================================== */

.header {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0d1f3a 100%);
  border-bottom: 2px solid var(--aurora-teal);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--aurora-teal);
  text-decoration: none;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 217, 217, 0.5);
}

.menu-toggle {
  display: none;
}

.burger-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger-icon span {
  width: 30px;
  height: 3px;
  background: var(--aurora-teal);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 5px;
}

.nav-menu a:hover {
  color: var(--aurora-teal);
  background: rgba(0, 217, 217, 0.1);
}

.btn-header-play {
  background: linear-gradient(
    135deg,
    var(--aurora-teal) 0%,
    var(--dark-teal) 100%
  );
  color: var(--white) !important;
  padding: 10px 25px !important;
  border-radius: 25px;
  font-weight: 700;
}

.btn-header-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 217, 217, 0.4);
}

/* Burger Menu - 900px breakpoint */
@media (max-width: 900px) {
  .burger-icon {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--midnight-navy) 0%, #1a2a4a 100%);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

  .nav-menu a {
    width: 100%;
    padding: 15px 30px;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 217, 217, 0.2);
  }

  .menu-toggle:checked ~ .nav-menu {
    right: 0;
  }

  .menu-toggle:checked ~ .burger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle:checked ~ .burger-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .burger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  background: linear-gradient(rgba(10, 22, 40, 0.75), rgba(10, 22, 40, 0.75)),
    url("../images/1. Aurora Reels.jpg") center/cover no-repeat;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at top,
    rgba(0, 217, 217, 0.2) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--aurora-teal);
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0, 217, 217, 0.6);
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--silver);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-disclaimer {
  font-size: 1.3rem;
  color: var(--gold-accent);
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--gold-accent);
  border-radius: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-hero-play {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--aurora-teal) 0%,
    var(--dark-teal) 100%
  );
  color: var(--white);
  padding: 18px 50px;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 217, 217, 0.3);
}

.btn-hero-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 217, 217, 0.5);
}

/* ===================================
   PLAY NOW SECTION
   =================================== */

.play-now-section {
  background: linear-gradient(rgba(10, 22, 40, 0.85), rgba(10, 22, 40, 0.85)),
    url("../images/4. Frosted Fortune.jpg") center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  border-top: 2px solid var(--aurora-teal);
  border-bottom: 2px solid var(--aurora-teal);
  position: relative;
}

.play-now-content h2 {
  font-size: 2.8rem;
  color: var(--aurora-teal);
  margin-bottom: 25px;
}

.play-now-content p {
  font-size: 1.2rem;
  color: var(--light-silver);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.free-play-notice {
  font-size: 1.1rem;
  color: var(--gold-accent);
  font-weight: 700;
  margin: 30px 0;
  letter-spacing: 1px;
}

.btn-play-main {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-accent) 0%, #ffed4e 100%);
  color: var(--midnight-navy);
  padding: 20px 60px;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 35px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(255, 215, 0, 0.4);
  margin: 20px 0;
}

.btn-play-main:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 35px rgba(255, 215, 0, 0.6);
}

.play-disclaimer {
  font-size: 0.95rem;
  color: var(--silver);
  font-style: italic;
  margin-top: 20px;
}

/* ===================================
   SECTION STYLES
   =================================== */

section {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--aurora-teal);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 0 15px rgba(0, 217, 217, 0.4);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0d1f3a 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--light-silver);
  line-height: 1.8;
}

.about-image {
  position: sticky;
  top: 100px;
}

.image-placeholder {
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background: linear-gradient(135deg, #2a3a5a 0%, #1a2a4a 100%);
  border: 2px solid var(--aurora-teal);
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder::after {
  content: "16:9 Image Placeholder";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--silver);
  font-size: 1.2rem;
  text-align: center;
}

.content-image {
  width: 100%;
  height: auto;
  border: 2px solid var(--aurora-teal);
  border-radius: 10px;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 217, 217, 0.3);
}

/* ===================================
   LEADERBOARD SECTION
   =================================== */

.leaderboard-section {
  background: linear-gradient(135deg, #1a2a4a 0%, var(--midnight-navy) 100%);
}

.leaderboard-note {
  text-align: center;
  color: var(--silver);
  margin-bottom: 30px;
  font-style: italic;
}

.leaderboard-table {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(10, 22, 40, 0.6);
  border: 2px solid var(--aurora-teal);
  border-radius: 10px;
  overflow: hidden;
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 100px 1fr 150px;
  background: var(--aurora-teal);
  color: var(--midnight-navy);
  font-weight: 700;
  padding: 15px 20px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 100px 1fr 150px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(0, 217, 217, 0.2);
  transition: background 0.3s ease;
}

.leaderboard-row:hover {
  background: rgba(0, 217, 217, 0.1);
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.gold-rank {
  background: rgba(255, 215, 0, 0.1);
}

.silver-rank {
  background: rgba(192, 192, 192, 0.1);
}

.bronze-rank {
  background: rgba(205, 127, 50, 0.1);
}

.rank-col {
  font-weight: 700;
}

.score-col {
  text-align: right;
  color: var(--aurora-teal);
  font-weight: 700;
}

/* ===================================
   SECURITY SECTION
   =================================== */

.security-section {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0d1f3a 100%);
}

.security-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.security-intro p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--light-silver);
  line-height: 1.8;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.certificate-card {
  background: rgba(26, 42, 74, 0.6);
  border: 2px solid var(--aurora-teal);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 217, 217, 0.3);
}

.certificate-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.certificate-card h3 {
  color: var(--aurora-teal);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.certificate-card p {
  color: var(--light-silver);
  line-height: 1.7;
}

/* ===================================
   PLAYER GUIDE SECTION
   =================================== */

.guide-section {
  background: linear-gradient(135deg, #1a2a4a 0%, var(--midnight-navy) 100%);
}

.guide-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.guide-text h3 {
  color: var(--aurora-teal);
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.guide-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--light-silver);
  line-height: 1.8;
}

.guide-image {
  position: sticky;
  top: 100px;
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery-section {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0d1f3a 100%);
}

.gallery-intro {
  text-align: center;
  color: var(--silver);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-section {
  background: linear-gradient(135deg, #1a2a4a 0%, var(--midnight-navy) 100%);
}

.faq-item {
  background: rgba(26, 42, 74, 0.6);
  border: 2px solid var(--aurora-teal);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
}

.faq-question {
  color: var(--aurora-teal);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.faq-answer p {
  color: var(--light-silver);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0d1f3a 100%);
}

.testimonials-intro {
  text-align: center;
  color: var(--silver);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(26, 42, 74, 0.6);
  border: 2px solid var(--aurora-teal);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 217, 217, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--aurora-teal);
  color: var(--midnight-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-info h4 {
  color: var(--aurora-teal);
  margin-bottom: 5px;
}

.testimonial-location {
  color: var(--silver);
  font-size: 0.9rem;
}

.testimonial-rating {
  color: var(--gold-accent);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--light-silver);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
  background: linear-gradient(135deg, #1a2a4a 0%, var(--midnight-navy) 100%);
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--light-silver);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 30px 0;
}

.contact-icon {
  font-size: 3rem;
}

.contact-email {
  color: var(--aurora-teal);
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-email:hover {
  color: var(--dark-teal);
  text-shadow: 0 0 10px rgba(0, 217, 217, 0.5);
}

.contact-note {
  color: var(--silver);
  font-size: 0.95rem;
  margin-top: 20px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: linear-gradient(135deg, #0a1628 0%, #050d1a 100%);
  border-top: 2px solid var(--aurora-teal);
  padding: 60px 20px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--aurora-teal);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
  color: var(--silver);
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--aurora-teal);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 217, 217, 0.2);
}

.footer-disclaimer {
  color: var(--light-silver);
  margin-bottom: 15px;
  line-height: 1.7;
}

.footer-copyright {
  color: var(--silver);
  font-size: 0.95rem;
}

.footer-banners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 217, 217, 0.2);
  flex-wrap: wrap;
}

.footer-banners img {
  display: block;
  width: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-banners a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-banners a:hover {
  transform: translateY(-3px);
}

.footer-banners a img:hover {
  opacity: 0.8;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 900px) {
  .about-content,
  .guide-content {
    grid-template-columns: 1fr;
  }

  .about-image,
  .guide-image {
    position: static;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-disclaimer {
    font-size: 1.1rem;
  }

  .play-now-content h2 {
    font-size: 2rem;
  }

  .btn-play-main {
    font-size: 1.2rem;
    padding: 15px 40px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 80px 1fr 120px;
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .age-modal-content {
    padding: 30px 20px;
  }

  .age-modal-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-age-yes,
  .btn-age-no {
    width: 100%;
  }
}
