/* Casino Bridge Builder Pro - Shared Styles */
/* Market: ca-casino (Canada) */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --background: 260 30% 8%;
  --foreground: 45 20% 95%;
  --card: 260 25% 12%;
  --card-foreground: 45 20% 95%;
  --primary: 45 100% 50%;
  --primary-foreground: 260 30% 8%;
  --secondary: 280 50% 25%;
  --secondary-foreground: 45 20% 95%;
  --muted: 260 20% 18%;
  --muted-foreground: 260 10% 60%;
  --accent: 280 60% 40%;
  --border: 260 20% 20%;
  --gold: 45 100% 50%;
  --gold-light: 45 100% 65%;
  --charcoal: 260 30% 6%;
  --charcoal-light: 260 25% 15%;
  --purple-deep: 280 60% 20%;
  --purple-glow: 280 80% 50%;
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Cinzel', serif; }

a { text-decoration: none; color: inherit; }

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

/* Utility */
.container { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Colors */
.text-gold { color: hsl(var(--gold)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.bg-background { background: hsl(var(--background)); }
.bg-charcoal { background: hsl(var(--charcoal)); }
.bg-muted { background: hsl(var(--muted)); }

.glow-gold { text-shadow: 0 0 20px hsl(45 100% 50% / 0.5); }

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, hsl(45 100% 50%), hsl(35 100% 45%));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 30px hsl(45 100% 50% / 0.3);
  transition: all 0.3s ease;
  gap: 0.5rem;
}
.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px hsl(45 100% 50% / 0.5);
}

/* Card */
.card-premium {
  background: linear-gradient(145deg, hsl(260 25% 14%), hsl(260 25% 10%));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 8px 32px hsl(0 0% 0% / 0.4);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s ease;
}
.card-premium:hover { border-color: hsl(45 100% 50% / 0.2); }

/* Compliance Bar */
.compliance-bar {
  background: hsl(var(--muted) / 0.5);
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
}
.compliance-bar p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.compliance-bar .close-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.compliance-bar .close-btn:hover { color: hsl(var(--foreground)); }

/* Header */
.site-header {
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem 0;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo img { height: 3.5rem; width: auto; }
.site-header nav { display: none; }
.site-header nav a {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.8);
  transition: color 0.3s;
}
.site-header nav a:hover { color: hsl(var(--gold)); }

/* Sub-page Header */
.sub-header {
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  padding: 1rem 0;
}
.sub-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sub-header .logo img { height: 3.5rem; width: auto; }
.sub-header .back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
}
.sub-header .back-link:hover { color: hsl(var(--gold)); }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background) / 0.8), hsl(var(--background) / 0.6), hsl(var(--background)));
}
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: hsl(var(--purple-glow) / 0.2);
  filter: blur(150px);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: -3rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
}
.hero-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--gold));
  animation: pulse 2s ease-in-out infinite;
}
.hero-badge span { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}
.hero .trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.hero .trust-row span.check { color: hsl(var(--gold)); }
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid hsl(var(--muted-foreground) / 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator .dot {
  width: 0.25rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--gold));
}

/* Steps Section */
.steps-section {
  padding: 6rem 0;
  background: hsl(var(--charcoal));
  position: relative;
  overflow: hidden;
}
.steps-section .bg-blob-left {
  position: absolute;
  top: 50%;
  left: 0;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--purple-glow) / 0.1);
  filter: blur(150px);
  border-radius: 50%;
  transform: translateY(-50%);
}
.steps-section .bg-blob-right {
  position: absolute;
  top: 50%;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--gold) / 0.05);
  filter: blur(150px);
  border-radius: 50%;
  transform: translateY(-50%);
}
.steps-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  text-align: center;
  position: relative;
  padding-top: 1rem;
}
.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--gold));
  z-index: 2;
}
.step-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 2.25rem; height: 2.25rem; color: hsl(var(--gold)); }

/* Look-For Section */
.lookfor-section {
  padding: 6rem 0;
  background: hsl(var(--charcoal));
  position: relative;
  overflow: hidden;
}
.lookfor-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .lookfor-grid { grid-template-columns: repeat(2, 1fr); } }
.lookfor-card .inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.lookfor-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lookfor-icon svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--gold)); }
.lookfor-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.lookfor-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

/* Content Section */
.content-section {
  padding: 6rem 0;
  position: relative;
}
.content-section .gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--charcoal)), hsl(var(--background)), hsl(var(--background)));
}
.content-inner { max-width: 56rem; margin: 0 auto; position: relative; z-index: 10; }
.bonus-card {
  text-align: center;
  border-color: hsl(var(--gold) / 0.2);
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}
.bonus-card .label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--gold));
  margin-bottom: 1rem;
}
.features-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card .inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--gold)); }
.feature-card h4 { font-family: 'Cinzel', serif; font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }

.prose-content { margin-top: 4rem; }
.prose-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.prose-content p { color: hsl(var(--muted-foreground)); line-height: 1.8; margin-bottom: 2rem; }

/* Footer */
.site-footer {
  background: hsl(var(--charcoal));
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding-top: 4rem;
  padding-bottom: 2rem;
}
.footer-cta { text-align: center; margin-bottom: 4rem; }
.footer-cta h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.footer-cta p { color: hsl(var(--muted-foreground)); max-width: 28rem; margin: 0 auto 2rem; }
.trust-signals {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  margin-bottom: 3rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}
.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--gold));
}
.trust-icon svg { width: 1.125rem; height: 1.125rem; color: hsl(var(--gold)); }
.disclaimers { max-width: 56rem; margin: 0 auto 2rem; text-align: center; }
.disclaimers p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
}
.footer-bottom p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.75rem; color: hsl(var(--muted-foreground)); transition: color 0.3s; }
.footer-links a:hover { color: hsl(var(--gold)); }

/* Sub-page styles */
.page-hero {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 4rem;
}
.page-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-icon svg { width: 2rem; height: 2rem; color: hsl(var(--gold)); }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.page-hero p { color: hsl(var(--muted-foreground)); }

.policy-content { max-width: 48rem; margin: 0 auto; }
.policy-section { margin-bottom: 2rem; }
.policy-section h2 { font-family: 'Cinzel', serif; font-size: 1.25rem; font-weight: 700; color: hsl(var(--gold)); margin-bottom: 1rem; }
.policy-section p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; }
.policy-section a { color: hsl(var(--gold)); }
.policy-section a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form { max-width: 40rem; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: hsl(var(--gold)); }
.form-group textarea { resize: none; min-height: 8rem; }
.form-note { font-size: 0.75rem; color: hsl(var(--muted-foreground)); text-align: center; margin-top: 1rem; }
.form-note a { color: hsl(var(--gold)); }

.simple-footer {
  border-top: 1px solid hsl(var(--border) / 0.3);
  padding: 2rem 0;
  text-align: center;
}
.simple-footer p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* Animations */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 30px hsl(45 100% 50% / 0.3); }
  50% { box-shadow: 0 0 50px hsl(45 100% 50% / 0.6); }
}
.animate-pulse-gold { animation: pulseGlow 2s ease-in-out infinite; }

/* Section header utility */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--gold));
  margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.section-header p { color: hsl(var(--muted-foreground)); max-width: 42rem; margin: 0 auto; }

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .card-premium { padding: 1.5rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: 0.75rem; }
}
