/* FortuneOddsLabs – unique prefix fol- */
:root {
  --fol-bg: #0c0b0a;
  --fol-surface: #161412;
  --fol-gold: #c9a227;
  --fol-gold-light: #e4c04a;
  --fol-gold-dim: #8b6914;
  --fol-text: #e8e4e0;
  --fol-text-muted: #9a958f;
  --fol-border: rgba(201, 162, 39, 0.2);
  --fol-font-head: 'Cormorant Garamond', Georgia, serif;
  --fol-font-body: 'Source Sans 3', system-ui, sans-serif;
  --fol-header-h: 72px;
  --fol-container: min(92%, 1200px);
}

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

html {
  scroll-behavior: smooth;
}

body.fol-body {
  margin: 0;
  font-family: var(--fol-font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fol-text);
  background: var(--fol-bg);
  overflow-x: hidden;
}

.fol-body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: fol-bg-pulse 12s ease-in-out infinite;
}

@keyframes fol-bg-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

h1, h2, h3, h4 {
  font-family: var(--fol-font-head);
  font-weight: 600;
  line-height: 1.2;
}

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

a {
  color: var(--fol-gold);
  text-decoration: none;
}

a:hover {
  color: var(--fol-gold-light);
}

/* Layout */
.fol-container {
  width: var(--fol-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header */
.fol-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--fol-header-h);
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fol-border);
  transition: background 0.3s ease;
}

.fol-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fol-logo {
  display: flex;
  align-items: center;
  color: var(--fol-gold);
  letter-spacing: 0.02em;
}

.fol-logo-img {
  width: auto;
  height: 36px;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.fol-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.fol-nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fol-text);
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.fol-nav-link:hover,
.fol-nav-link.fol-nav-link--active {
  color: var(--fol-gold);
}

/* Burger – visible from 991px down */
.fol-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--fol-gold);
  transition: opacity 0.2s ease;
  position: relative;
}

.fol-burger:hover {
  opacity: 0.85;
}

.fol-burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fol-burger-line:nth-child(1) { top: 14px; }
.fol-burger-line:nth-child(2) { top: 21px; }
.fol-burger-line:nth-child(3) { top: 28px; }

/* Close button inside mobile menu */
.fol-close--inside {
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fol-gold);
  transition: opacity 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.fol-close--inside:hover {
  opacity: 0.9;
  color: var(--fol-gold-light);
}

.fol-close-x::before,
.fol-close-x::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  top: 50%;
  left: 50%;
}
.fol-close-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.fol-close-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fol-close--inside {
  position: relative;
}

.fol-close--inside .fol-close-x {
  position: relative;
}

/* Mobile menu – full overlay, above header */
.fol-mobile-menu {
  position: relative;
  top: -48px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 11, 10, 0.98);
  backdrop-filter: blur(16px);
  padding: 0;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.fol-mobile-menu.fol-mobile-menu--open {
  visibility: visible;
  opacity: 1;
}

.fol-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--fol-header-h) + 1rem) 1.5rem 1rem;
  border-bottom: 1px solid var(--fol-border);
}

.fol-mobile-menu-title {
  font-family: var(--fol-font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fol-gold);
}

.fol-mobile-list {
  list-style: none;
  margin: 0;
  padding: 2rem 1.5rem;
}

.fol-mobile-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.25rem;
  color: var(--fol-text);
  border-bottom: 1px solid var(--fol-border);
  transition: color 0.2s ease;
}

.fol-mobile-link:hover {
  color: var(--fol-gold);
}

@media (max-width: 991px) {
  .fol-nav {
    display: none;
  }

  .fol-burger {
    display: flex;
  }
}

@media (min-width: 992px) {
  .fol-mobile-menu {
    display: none;
  }
}

/* Hero with video */
.fol-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--fol-header-h) 1.5rem 3rem;
}

.fol-hero-video-wrap {
  position: absolute;
  inset: 0;
}

.fol-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fol-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.6) 0%, rgba(12, 11, 10, 0.85) 100%);
}

.fol-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.fol-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
  color: #fff;
  animation: fol-fade-up 0.8s ease forwards;
}

.fol-hero-text {
  font-size: 1.125rem;
  color: var(--fol-text-muted);
  margin: 0 0 2rem;
  animation: fol-fade-up 0.8s 0.15s ease forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.fol-hero-cta {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--fol-gold);
  color: var(--fol-bg);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.2s ease;
  animation: fol-fade-up 0.8s 0.3s ease forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.fol-hero-cta:hover {
  background: var(--fol-gold-light);
  color: var(--fol-bg);
  transform: translateY(-2px);
}

.fol-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 24px;
  height: 40px;
  margin-left: -12px;
  border: 2px solid var(--fol-gold);
  border-radius: 12px;
  animation: fol-scroll-bounce 2s ease-in-out infinite;
}

@keyframes fol-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fol-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Sections common */
.fol-section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--fol-text);
}

.fol-section-title--light {
  color: #fff;
}

/* Intro */
.fol-intro {
  padding: 4rem 0;
  background: var(--fol-surface);
  position: relative;
  z-index: 1;
}

.fol-intro-lead {
  max-width: 640px;
  margin: 0 0 1.5rem;
  color: var(--fol-text-muted);
  font-size: 1.0625rem;
}

.fol-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--fol-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.fol-btn--primary {
  background: var(--fol-gold);
  color: var(--fol-bg);
}

.fol-btn--primary:hover {
  background: var(--fol-gold-light);
  color: var(--fol-bg);
}

.fol-btn--secondary {
  background: transparent;
  color: var(--fol-gold);
  border-color: var(--fol-gold);
}

.fol-btn--secondary:hover {
  background: var(--fol-gold);
  color: var(--fol-bg);
}

/* Featured bars grid */
.fol-featured {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.fol-featured-sub {
  margin: 0 0 2.5rem;
  color: var(--fol-text-muted);
  max-width: 560px;
}

/* Bars layout – varied card styles */
.fol-bars-layout {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.fol-bars-item {
  margin: 0;
}

/* Classic vertical card */
.fol-bars-item--vertical .fol-bar-card {
  max-width: 420px;
  margin: 0 auto;
}

.fol-bar-card {
  background: var(--fol-surface);
  border: 1px solid var(--fol-border);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fol-bar-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.fol-bar-card--classic .fol-bar-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.fol-bar-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.fol-bar-card-media--wide {
  aspect-ratio: 4 / 3;
  min-width: 280px;
}

.fol-bar-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fol-bar-card:hover .fol-bar-card-img {
  transform: scale(1.03);
}

.fol-bar-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fol-bar-card-body--wide {
  padding: 1.75rem 2rem;
  justify-content: center;
}

.fol-bar-card-address {
  font-size: 0.8125rem;
  color: var(--fol-gold);
  margin: 0 0 0.25rem;
}

.fol-bar-card-rating {
  font-size: 0.9375rem;
  color: var(--fol-gold-light);
  margin: 0 0 0.5rem;
}

.fol-bar-card-title {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: #fff;
}

.fol-bar-card-desc {
  font-size: 0.9375rem;
  color: var(--fol-text-muted);
  margin: 0 0 0.75rem;
  flex: 1;
}

.fol-bar-card-features {
  font-size: 0.8125rem;
  color: var(--fol-text-muted);
  margin: 0 0 1rem;
}

.fol-bar-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.fol-bar-card-detail-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--fol-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fol-gold);
  background: transparent;
  border: 1px solid var(--fol-gold);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.fol-bar-card-detail-btn:hover {
  background: var(--fol-gold);
  color: var(--fol-bg);
}

.fol-bar-card-btn {
  display: inline-block;
  text-align: center;
  padding: 0.625rem 1.25rem;
  background: var(--fol-gold);
  color: var(--fol-bg);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.25s ease, color 0.25s ease;
}

.fol-bar-card-btn:hover {
  background: var(--fol-gold-light);
  color: var(--fol-bg);
}

/* Horizontal card – image left */
.fol-bar-card--horizontal {
  flex-direction: row;
  max-width: 900px;
  margin: 0 auto;
}

.fol-bar-card--horizontal .fol-bar-card-media--wide {
  width: 42%;
  min-width: 260px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.fol-bar-card--horizontal .fol-bar-card-body--wide {
  flex: 1;
  min-width: 0;
}

@media (max-width: 767px) {
  .fol-bar-card--horizontal {
    flex-direction: column;
  }
  .fol-bar-card--horizontal .fol-bar-card-media--wide {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
  }
}

/* Accent card – gold left border */
.fol-bar-card--accent {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  border-left: 4px solid var(--fol-gold);
}

.fol-bar-card-accent-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--fol-gold) 0%, var(--fol-gold-dim) 100%);
  border-radius: 4px 0 0 4px;
}

/* Legacy grid (for top-bars page if needed) */
.fol-card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.fol-card-item {
  margin: 0;
}

/* Bar detail popup */
.fol-bar-detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.fol-bar-detail-overlay.fol-bar-detail-overlay--open {
  visibility: visible;
  opacity: 1;
}

.fol-bar-detail-box {
  background: var(--fol-surface);
  border: 1px solid var(--fol-border);
  border-radius: 12px;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.fol-bar-detail-overlay.fol-bar-detail-overlay--open .fol-bar-detail-box {
  transform: scale(1);
}

.fol-bar-detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--fol-text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.fol-bar-detail-close:hover {
  color: var(--fol-gold);
}

.fol-bar-detail-title {
  font-family: var(--fol-font-head);
  font-size: 1.75rem;
  margin: 0 2rem 0 0;
  color: #fff;
}

.fol-bar-detail-meta {
  font-size: 0.9375rem;
  color: var(--fol-gold);
  margin: 0.5rem 0 1rem;
}

.fol-bar-detail-text {
  font-size: 0.9375rem;
  color: var(--fol-text-muted);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.fol-bar-detail-cta {
  display: inline-block;
}

/* Why */
.fol-why {
  padding: 4rem 0;
  background: var(--fol-surface);
  position: relative;
  z-index: 1;
}

.fol-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.fol-why-item {
  padding: 1.5rem;
  border: 1px solid var(--fol-border);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.fol-why-item:hover {
  border-color: rgba(201, 162, 39, 0.35);
}

.fol-why-icon {
  display: block;
  color: var(--fol-gold);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.fol-why-heading {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.fol-why-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--fol-text-muted);
}

/* CTA */
.fol-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--fol-gold-dim) 0%, var(--fol-gold) 100%);
  position: relative;
  z-index: 1;
}

.fol-cta .fol-section-title--light {
  color: #fff;
}

.fol-cta-text {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.fol-cta .fol-btn--secondary {
  border-color: #fff;
  color: #fff;
}

.fol-cta .fol-btn--secondary:hover {
  background: #fff;
  color: var(--fol-gold-dim);
}

/* Footer */
.fol-footer {
  padding: 2.5rem 0;
  background: var(--fol-surface);
  border-top: 1px solid var(--fol-border);
  position: relative;
  z-index: 1;
}

.fol-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fol-footer-logo {
  font-family: var(--fol-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fol-gold);
}

.fol-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.fol-footer-link {
  font-size: 0.875rem;
  color: var(--fol-text-muted);
}

.fol-footer-link:hover {
  color: var(--fol-gold);
}

.fol-footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--fol-text-muted);
}

/* Page hero (inner pages) */
.fol-page-hero {
  padding: calc(var(--fol-header-h) + 4rem) 1.5rem 3rem;
  background: var(--fol-surface);
  border-bottom: 1px solid var(--fol-border);
  position: relative;
  z-index: 1;
}

.fol-page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
  color: #fff;
}

.fol-page-hero-text {
  margin: 0.75rem 0 0;
  color: var(--fol-text-muted);
  max-width: 560px;
}

/* Content area (inner pages) */
.fol-content-wrap {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.fol-content-wrap .fol-container {
  max-width: 720px;
}

.fol-content-wrap h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  color: var(--fol-text);
}

.fol-content-wrap p {
  margin: 0 0 1rem;
  color: var(--fol-text-muted);
}

/* Contact form */
.fol-form-group {
  margin-bottom: 1.25rem;
}

.fol-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fol-text);
  margin-bottom: 0.375rem;
}

.fol-form-input,
.fol-form-textarea {
  width: 100%;
  max-width: 420px;
  padding: 0.75rem 1rem;
  font-family: var(--fol-font-body);
  font-size: 1rem;
  color: var(--fol-text);
  background: var(--fol-surface);
  border: 1px solid var(--fol-border);
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.fol-form-input:focus,
.fol-form-textarea:focus {
  outline: none;
  border-color: var(--fol-gold);
}

.fol-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.fol-form-submit {
  margin-top: 0.5rem;
  cursor: pointer;
}

/* Popup */
.fol-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.fol-popup-overlay.fol-popup-overlay--open {
  visibility: visible;
  opacity: 1;
}

.fol-popup-box {
  background: var(--fol-surface);
  border: 1px solid var(--fol-border);
  border-radius: 8px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.fol-popup-overlay.fol-popup-overlay--open .fol-popup-box {
  transform: scale(1);
}

.fol-popup-title {
  font-family: var(--fol-font-head);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--fol-gold);
}

.fol-popup-text {
  margin: 0 0 1.5rem;
  color: var(--fol-text-muted);
  font-size: 0.9375rem;
}

.fol-popup-close {
  padding: 0.5rem 1.5rem;
  background: var(--fol-gold);
  color: var(--fol-bg);
  border: none;
  font-family: var(--fol-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fol-popup-close:hover {
  background: var(--fol-gold-light);
}

/* Policy pages */
.fol-policy h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.5rem;
}

.fol-policy h2:first-of-type {
  margin-top: 0;
}

.fol-policy p,
.fol-policy ul {
  margin: 0 0 1rem;
  color: var(--fol-text-muted);
}

.fol-policy ul {
  padding-left: 1.5rem;
}

.fol-policy .fol-updated {
  font-size: 0.875rem;
  color: var(--fol-gold);
  margin-bottom: 1.5rem;
}
