:root {
  --sea-navy: #0B192C;
  --sea-deep: #050D1A;
  --sea-card: #1E3E62;
  --sea-card-light: #254d7b;
  --gold: #FFD700;
  --gold-warm: #E6B800;
  --gold-glow: rgba(255, 215, 0, 0.35);
  --crimson: #C93B2B;
  --parchment: #FAF7EE;
  --parchment-dark: #EFE8D3;
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-gold: 0 10px 30px rgba(255, 215, 0, 0.2);
  --shadow-card: 0 12px 32px rgba(5, 13, 26, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background-color: var(--sea-navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Global Link Rules - Prevents default browser blue */
a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:visited {
  color: var(--gold);
}
a:hover {
  color: var(--gold-warm);
}

/* Header & Nav */
.header {
  background-color: rgba(11, 25, 44, 0.98);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: var(--white) !important;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold) !important;
}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link {
  text-decoration: none !important;
  color: #CBD5E1 !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold) !important; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%) !important;
  color: var(--sea-navy) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.9rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 215, 0, 0.45); }

/* Hero Section */
.hero {
  padding: 6rem 2rem 7rem;
  background: radial-gradient(circle at 50% 20%, rgba(30, 62, 98, 0.8) 0%, var(--sea-navy) 75%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--gold);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-title span {
  background: linear-gradient(135deg, #FFE680 0%, var(--gold) 50%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-pirate {
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%) !important;
  color: var(--sea-navy) !important;
  padding: 0.95rem 2.25rem;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 1.02rem;
  transition: all 0.25s;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-pirate:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(255, 215, 0, 0.5); }

.btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: var(--white) !important;
  padding: 0.95rem 2.25rem;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1.02rem;
  transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15) !important; border-color: var(--white) !important; }

.hero-showcase {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.showcase-pill {
  background: rgba(30, 62, 98, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-card);
}

.showcase-pill img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--sea-navy);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.showcase-pill h4 {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  text-align: left;
}

.showcase-pill p {
  color: #CBD5E1;
  font-size: 0.85rem;
  text-align: left;
}

.section { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 4rem; }
.section-tag {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-desc { color: #CBD5E1; font-size: 1.1rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--sea-card);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  background: var(--sea-card-light);
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: 0 16px 36px rgba(5, 13, 26, 0.5);
}

.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
}
.feature-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #E2E8F0;
  font-size: 0.98rem;
  line-height: 1.7;
}

.ranks-banner {
  background: linear-gradient(180deg, var(--sea-navy) 0%, var(--sea-deep) 100%);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  padding: 6rem 2rem;
  text-align: center;
}

.ranks-carousel {
  max-width: 1200px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.rank-item {
  background: rgba(30, 62, 98, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: all 0.2s;
}
.rank-item:hover {
  transform: scale(1.05);
  border-color: var(--gold);
  background: rgba(30, 62, 98, 0.95);
}

.rank-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}

.rank-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.rank-item span {
  font-size: 0.78rem;
  color: #CBD5E1;
  text-transform: uppercase;
}

.privacy-banner {
  background: linear-gradient(135deg, rgba(30, 62, 98, 0.9) 0%, rgba(11, 25, 44, 0.95) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  margin: 4rem auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.privacy-banner h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.privacy-banner p {
  color: #E2E8F0;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.privacy-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.privacy-seal { text-align: center; }
.privacy-seal img {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(255, 215, 0, 0.25));
}

/* User Guide Navigation Pills - High Contrast & No Blue Default */
.guide-nav-bar {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.guide-nav-pill,
.guide-nav-pill:visited {
  background: rgba(30, 62, 98, 0.85) !important;
  border: 1px solid rgba(255, 215, 0, 0.35) !important;
  color: #FFFFFF !important;
  padding: 0.65rem 1.35rem;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(5, 13, 26, 0.3);
}

.guide-nav-pill:hover {
  background: var(--gold) !important;
  color: var(--sea-navy) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

/* Legal Document Parchment Container & Links */
.legal-container {
  max-width: 880px;
  margin: 3.5rem auto 5rem;
  background: #FFFFFF;
  color: #0F172A;
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.legal-header {
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: #0B192C;
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #0B192C;
  margin: 2.5rem 0 1rem;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 0.5rem;
}

.legal-body h3 {
  font-size: 1.2rem;
  color: #0B192C;
  margin: 1.5rem 0 0.5rem;
}

.legal-body p, .legal-body li {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1rem;
}

.legal-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Beautiful in-text links inside legal documents */
.legal-body a,
.legal-container a {
  color: #0B192C !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-color: #D4AF37 !important;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}
.legal-body a:visited,
.legal-container a:visited {
  color: #0B192C !important;
}
.legal-body a:hover,
.legal-container a:hover {
  color: #E2725B !important;
  text-decoration-color: #E2725B !important;
}

.legal-body .highlight-box {
  background: #FEF9C3;
  border-left: 4px solid #CA8A04;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  color: #713F12;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Footer & Footer Links */
.footer {
  background: var(--sea-deep);
  color: #94A3B8;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 {
  font-family: var(--font-serif);
  color: var(--gold) !important;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.footer-brand p { color: #94A3B8; font-size: 0.95rem; max-width: 360px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a,
.footer-col a:visited {
  color: #94A3B8 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold) !important; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.75rem; }
  .privacy-banner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-content { grid-template-columns: 1fr; }
  .legal-container { padding: 2rem 1.5rem; margin: 2rem 1rem; }
}


.brand-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none !important;
  color: var(--navy) !important;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}






.brand-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none !important;
  color: var(--navy) !important;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  line-height: 1;
}

.brand-name-primary {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0A192F !important;
  text-transform: uppercase;
  line-height: 1.05;
}

.brand-name-secondary {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  color: #D4AF37 !important;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 4px;
  margin-left: 1px;
  text-shadow: 0 1px 2px rgba(10, 25, 47, 0.2);
}
