/* ============================================================
   GreenPlayRetreat — Main Stylesheet
   Dark Luxury Social Casino for Canada
   Mobile-First, 375px baseline
   ============================================================ */

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #f5f5f5;
  background-color: #0a0a0a;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #c9a96e;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #d4b87a;
}

a:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 2px;
  border-radius: 4px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #f5f5f5;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

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

strong {
  color: #f5f5f5;
  font-weight: 600;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2a2a2a;
  height: 64px;
  transition: background-color 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c9a96e;
  letter-spacing: -0.02em;
}

.logo a {
  color: inherit;
}

.badge-18 {
  display: inline-block;
  background-color: #ff4444;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Navigation */
.nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f5f5f5;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #c9a96e;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #f5f5f5;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: rgba(201, 169, 110, 0.1);
  color: #c9a96e;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 10, 10, 0.98);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 2rem 1rem;
  gap: 1rem;
}

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

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 500;
  color: #f5f5f5;
  padding: 1rem 0;
  border-bottom: 1px solid #2a2a2a;
}

.mobile-nav a:hover {
  color: #c9a96e;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: #c9a96e;
  color: #0a0a0a;
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

.btn-primary:hover {
  background-color: #d4b87a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 169, 110, 0.4);
}

.btn-primary:active {
  background-color: #b8975c;
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #2a2a2a;
  color: #f5f5f5;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  border-color: #c9a96e;
  color: #c9a96e;
}

.btn-small {
  height: 36px;
  padding: 0 1rem;
  font-size: 0.875rem;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background-color: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-color: #3a3a3a;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f5f5f5;
}

.card-text {
  font-size: 0.875rem;
  color: #999999;
  line-height: 1.6;
}

/* ============================================================
   Disclaimer Banner
   ============================================================ */
.disclaimer {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-left: 3px solid #c9a96e;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #999999;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.disclaimer strong {
  color: #f5f5f5;
  font-weight: 600;
}

.disclaimer a {
  color: #c9a96e;
  text-decoration: underline;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: #111111;
  border-top: 1px solid #2a2a2a;
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.5rem;
  display: inline-block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #999999;
  margin-bottom: 1rem;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #999999;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #999999;
}

.footer-18 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #999999;
}

/* ============================================================
   Sections (Home)
   ============================================================ */
.section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.section-title span {
  color: #c9a96e;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0 4rem;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.hero::before {
  content: '👑';
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  font-size: 12rem;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  filter: blur(2px);
}

.hero-content {
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 68, 68, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff4444;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero h1 span {
  color: #c9a96e;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #999999;
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #999999;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: #c9a96e;
  flex-shrink: 0;
}

/* Featured Games */
.featured {
  background-color: #111111;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.game-card {
  background-color: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.game-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border-color: #3a3a3a;
  transform: translateY(-4px);
}

.game-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.game-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
}

.game-card-body {
  padding: 1.5rem;
}

.game-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

.game-card-text {
  font-size: 0.875rem;
  color: #999999;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* How It Works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(201, 169, 110, 0.15);
  border: 1px solid #c9a96e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #c9a96e;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

.step-content p {
  font-size: 0.875rem;
  color: #999999;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Daily Bonus */
.daily-bonus {
  background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
  text-align: center;
}

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

.daily-bonus-text {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  color: #999999;
}

/* Why Section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
  background-color: #111111;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  text-align: center;
}

.stars {
  color: #c9a96e;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: #f5f5f5;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f5f5f5;
}

.testimonial-location {
  font-size: 0.75rem;
  color: #999999;
}

/* ============================================================
   Content Pages (About, Terms, Privacy, Contact, Responsible)
   ============================================================ */
.page-header {
  padding: 6rem 0 2rem;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1rem;
  color: #999999;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 2rem 0;
}

.content-block {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.content-block h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

.content-block h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #c9a96e;
}

.content-block p,
.content-block li {
  font-size: 1rem;
  color: #999999;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.content-block ul li {
  position: relative;
  padding-left: 1.5rem;
}

.content-block ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #c9a96e;
}

.content-block a {
  color: #c9a96e;
  text-decoration: underline;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 1rem;
  color: #999999;
  line-height: 1.7;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #f5f5f5;
}

.contact-item-content p {
  font-size: 0.875rem;
  color: #999999;
  margin-bottom: 0;
}

.contact-item-content a {
  color: #c9a96e;
  text-decoration: underline;
}

/* ============================================================
   404 Page
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: #c9a96e;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.error-text {
  font-size: 1rem;
  color: #999999;
  margin-bottom: 2rem;
}

/* ============================================================
   Responsive (Tablet & Desktop)
   ============================================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
  
  .hero h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
  }
  
  .hero-subtitle {
    font-size: 1.35rem;
    max-width: 600px;
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
  
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .contact-info {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
    letter-spacing: -0.03em;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 5rem;
    letter-spacing: -0.03em;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
  }
  
  .hero::after {
    width: 800px;
    height: 800px;
    right: -15%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
  }
  
  .hero::before {
    font-size: 18rem;
    right: 8%;
    opacity: 0.12;
  }
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: #c9a96e; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ============================================================
   Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #c9a96e;
  color: #0a0a0a;
  padding: 0.5rem 1rem;
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}
