/* betmatchgameharbor.pro — Calm Harbor Theme */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --harbor-deep: #1a3340;
  --harbor-mid: #2d5a6b;
  --harbor-teal: #4a8a9a;
  --harbor-mist: #8eb8c4;
  --pier-sand: #d4c4a8;
  --pier-wood: #a68b6a;
  --lantern: #e8b86d;
  --lantern-glow: rgba(232, 184, 109, 0.35);
  --foam: #e8f0f2;
  --text-primary: #1a2e36;
  --text-muted: #5a7280;
  --card-bg: rgba(255, 255, 255, 0.92);
  --shadow-soft: 0 8px 32px rgba(26, 51, 64, 0.12);
  --shadow-pier: 0 4px 20px rgba(26, 51, 64, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--foam);
  min-height: 100vh;
}

/* Harbor atmosphere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(74, 138, 154, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(232, 184, 109, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #dce8ec 0%, var(--foam) 40%, #e2eaed 100%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--harbor-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--harbor-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--harbor-teal);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 138, 154, 0.15);
  box-shadow: var(--shadow-pier);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--harbor-deep);
}

.logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--harbor-mid);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--harbor-deep);
  border-bottom-color: var(--lantern);
}

/* Hero */
.hero {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

.hero-badge {
  display: inline-block;
  background: var(--lantern-glow);
  color: var(--pier-wood);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(232, 184, 109, 0.4);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--harbor-mid);
  color: #fff;
  box-shadow: 0 4px 16px rgba(45, 90, 107, 0.3);
}

.btn-primary:hover {
  background: var(--harbor-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--harbor-mid);
  border: 2px solid var(--harbor-mist);
}

.btn-secondary:hover {
  border-color: var(--harbor-teal);
  color: var(--harbor-deep);
}

.hero-visual {
  position: relative;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.image-placeholder {
  background: linear-gradient(145deg, var(--harbor-mid) 0%, var(--harbor-teal) 50%, var(--harbor-mist) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.03) 40px,
      rgba(255, 255, 255, 0.03) 41px
    );
}

.image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.7;
}

.image-placeholder span {
  position: relative;
  z-index: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.image-placeholder--wide {
  aspect-ratio: 21 / 9;
}

.image-placeholder--square {
  aspect-ratio: 4 / 3;
}

.section-visual {
  margin-top: 2.5rem;
}

/* Wave divider */
.wave-divider {
  width: 100%;
  height: 48px;
  margin: -1px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0,24 C150,48 350,0 600,24 C850,48 1050,0 1200,24 L1200,48 L0,48 Z' fill='%23ffffff' fill-opacity='0.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--light {
  background: rgba(255, 255, 255, 0.55);
}

.section--pier {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(212, 196, 168, 0.15) 100%);
}

/* Genre Piers */
.pier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pier-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-pier);
  border: 1px solid rgba(74, 138, 154, 0.12);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pier-card::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 8px;
  background: linear-gradient(90deg, var(--pier-wood), var(--pier-sand));
  border-radius: 0 0 4px 4px;
  opacity: 0.5;
}

.pier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.pier-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--harbor-teal), var(--harbor-mist));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.pier-card h3 {
  margin-bottom: 0.5rem;
}

.pier-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.pier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  background: rgba(74, 138, 154, 0.1);
  color: var(--harbor-mid);
  border-radius: 100px;
}

/* Featured Collections */
.collection-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.collection-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.collection-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--lantern);
  box-shadow: var(--shadow-pier);
  transition: border-color var(--transition);
}

.collection-item:hover {
  border-left-color: var(--harbor-teal);
}

.collection-item h3 {
  font-size: 1.2rem;
}

.collection-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.collection-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--harbor-teal);
  font-weight: 500;
}

/* Editor Notes */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.note-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-pier);
  position: relative;
}

.note-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--harbor-mist);
  line-height: 1;
  opacity: 0.4;
}

.note-card blockquote {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
}

.note-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--harbor-mid);
}

.note-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Comfort Tips */
.tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.tip-item {
  display: flex;
  gap: 1rem;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-pier);
  align-items: flex-start;
}

.tip-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--lantern-glow);
  color: var(--pier-wood);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.tip-item h3 {
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.tip-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Comparison Table */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--card-bg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(74, 138, 154, 0.12);
}

.comparison-table th {
  background: var(--harbor-deep);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.comparison-table th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(74, 138, 154, 0.05);
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--harbor-deep);
}

.check-yes {
  color: var(--harbor-teal);
  font-weight: 600;
}

.check-partial {
  color: var(--pier-wood);
}

.check-no {
  color: var(--text-muted);
}

/* Legal pages */
.legal-page {
  padding: 3rem 1.5rem 5rem;
}

.legal-inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-inner h1 {
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(74, 138, 154, 0.15);
}

.legal-inner h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-inner h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-inner ul,
.legal-inner ol {
  margin: 0 0 1rem 1.5rem;
}

.legal-inner li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.legal-inner p {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--harbor-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

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

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand + p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 28rem;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lantern);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .collection-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

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

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem 0.75rem;
    font-size: 0.85rem;
  }
}
