/* ── TravelSoftball.com ── Sporty Redesign ── */
/* Inspired by the energy of softball.com — athletic, bold, and action-oriented */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Variables ── */
:root {
  --bg: #ffffff;
  --bg-card: #f8f9fc;
  --bg-hover: #eef1f6;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --gold: #f5a623;
  --gold-light: #c88a1a;
  --gold-glow: rgba(245, 166, 35, 0.12);
  --accent: #f5a623;
  --accent-light: #d4891a;
  --blue: #3b82f6;
  --blue-light: #2563eb;
  --green: #16a34a;
  --orange: #d97706;
  --red: #dc2626;
  --border: #e5e7eb;
  --border-light: #d1d5db;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Oswald', 'Impact', 'Arial Black', sans-serif;
  --max-width: 1200px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── Background Pattern ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(245, 166, 35, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ── Diamond Stitching SVG Decorations ── */
.diamond-stitch {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.06;
  pointer-events: none;
}
.diamond-stitch svg { width: 100%; height: 100%; }

/* ── Nav ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2rem;
  border-bottom: 2px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: rotate(-5deg);
  box-shadow: 0 0 12px var(--gold-glow);
}
.nav-links { display: flex; gap: 0.15rem; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--gold); background: rgba(245, 166, 35, 0.08); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), #d4891a) !important;
  color: #0d0f18 !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: box-shadow 0.2s, transform 0.15s;
}
.nav-cta:hover {
  box-shadow: 0 0 20px var(--gold-glow) !important;
  transform: translateY(-1px);
  color: #0d0f18 !important;
}
.nav-secondary {
  background: var(--bg-card);
  color: var(--text) !important;
  border: 1px solid var(--border);
  padding: 0.45rem 1.1rem !important;
  border-radius: 6px !important;
}
.nav-secondary:hover { background: var(--bg-hover) !important; color: var(--gold) !important; border-color: var(--gold); }
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 5rem 2rem 3.5rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
/* Hero background diamond shapes */
.hero::before {
  content: '◆';
  position: absolute;
  top: -40px; right: 5%;
  font-size: 12rem;
  color: var(--gold);
  opacity: 0.03;
  font-family: sans-serif;
  transform: rotate(45deg);
}
.hero::after {
  content: '◆';
  position: absolute;
  bottom: -30px; left: 3%;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.02;
  font-family: sans-serif;
  transform: rotate(45deg);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 1.2rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-tag::before {
  content: '◄';
  font-size: 0.6rem;
  opacity: 0.6;
}
.hero-tag::after {
  content: '►';
  font-size: 0.6rem;
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--text) 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 650px;
  margin-inline: auto;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4891a);
  color: #0d0f18 !important;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: box-shadow 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { box-shadow: 0 0 28px var(--gold-glow); transform: translateY(-2px); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text) !important;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover { background: var(--bg-hover); transform: translateY(-2px); border-color: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--gold-light) !important;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--gold);
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-outline:hover { background: rgba(245, 166, 35, 0.1); transform: translateY(-2px); }

/* ── Scoreboard Stats ── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a2040 100%);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
/* Stitching effect on borders */
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 10px; right: 10px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 6px,
    transparent 6px,
    transparent 10px
  );
  opacity: 0.4;
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10px; right: 10px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 6px,
    transparent 6px,
    transparent 10px
  );
  opacity: 0.4;
}
.stat-item { text-align: center; padding: 0 0.5rem; position: relative; }
.stat-item + .stat-item { border-left: 1px solid var(--border); padding-left: 2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ── Stitched Divider ── */
.stitch-divider {
  height: 3px;
  max-width: 200px;
  margin: 0 auto 2rem;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 8px,
    transparent 8px,
    transparent 14px
  );
  opacity: 0.3;
}

/* ── Section Titles ── */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-title h2 .highlight {
  color: var(--gold);
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ── Sections ── */
section { padding: 4.5rem 2rem; max-width: var(--max-width); margin: 0 auto; }

/* ── How It Works ── */
#how-it-works { position: relative; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.2s;
}
.step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius) var(--radius) 0 0;
}
.step:hover::before { opacity: 0.6; }
.step-icon {
  width: 60px; height: 60px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
  transition: background 0.3s, border-color 0.3s;
}
.step:hover .step-icon {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--gold);
}
.step-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Featured Profiles ── */
.featured-tabs {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--gold);
  color: #0d0f18;
  border-color: var(--gold);
}
.tab-btn:hover:not(.active) {
  border-color: var(--gold);
  color: var(--gold-light);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ── Trading Card Style Profile Cards ── */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
/* Card top stitching */
.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8px; right: 8px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 5px,
    transparent 5px,
    transparent 9px
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.profile-card:hover::before { opacity: 0.5; }
.profile-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.08);
}
.profile-card .avatar {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #d4891a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.15);
}
.profile-card .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.profile-card .meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.profile-card .tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.profile-card .tag {
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 166, 35, 0.1);
  color: var(--gold-light);
}
.tag-green { background: rgba(34, 197, 94, 0.12) !important; color: var(--green) !important; }
.tag-orange { background: rgba(245, 158, 11, 0.12) !important; color: var(--orange) !important; }
.tag-blue { background: rgba(59, 130, 246, 0.12) !important; color: var(--blue-light) !important; }
.profile-card .actions { margin-top: 0.75rem; }
.profile-card .actions a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}
.view-all-link {
  text-align: center;
  margin-top: 2rem;
}
.view-all-link a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}
.view-all-link a:hover { color: var(--gold); }

/* ── Trust / Brand Bar ── */
.trust-bar {
  text-align: center;
  padding: 3rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar p {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.trust-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.55;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Who It's For ── */
#audience { position: relative; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.2s;
}
.audience-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.audience-card .icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.audience-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ── Email Capture ── */
.email-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
}
.email-section::before {
  content: '◆';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.1;
  font-family: sans-serif;
}
.email-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.email-section p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1rem; }
.email-form {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.email-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input:focus { border-color: var(--gold); box-shadow: 0 0 12px rgba(245, 166, 35, 0.08); }
.email-form input::placeholder { color: var(--text-muted); }
.email-form button {
  background: linear-gradient(135deg, var(--gold), #d4891a);
  color: #0d0f18;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.2s;
}
.email-form button:hover { box-shadow: 0 0 20px var(--gold-glow); }
.email-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }

/* ── Footer ── */
footer {
  border-top: 2px solid var(--gold);
  padding: 3rem 2rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: -2px; left: 20%; right: 20%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px,
    var(--gold) 6px,
    transparent 6px,
    transparent 12px
  );
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--gold-light);
}
.footer-col p, .footer-col a { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.75rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 0.75rem 1rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); border-bottom: 2px solid var(--gold); padding: 1rem; gap: 0.5rem; border-top: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero { padding: 3.5rem 1.25rem 2.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-sub { font-size: 1rem; }
  section { padding: 3rem 1.25rem; }
  .stats-bar { gap: 1rem; padding: 1rem; }
  .stat-item + .stat-item { border-left: none; padding-left: 0; }
  .stat-num { font-size: 1.5rem; }
  .email-form { flex-direction: column; }
  .featured-tabs { flex-wrap: wrap; }
  .section-title h2 { font-size: 1.75rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; justify-content: center; }
  .trust-logos { gap: 1.5rem; font-size: 0.75rem; }
}
