* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --yl-gold: #F5B800;
  --yl-gold-dark: #D49E00;
  --yl-black: #1a1a1a;
  --yl-cream: #FFFBF0;
  --yl-border: #E8E0C8;
  --yl-muted: #666;
}
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--yl-cream);
  color: var(--yl-black);
  line-height: 1.6;
}
a { color: var(--yl-gold-dark); }
img { max-width: 100%; height: auto; }

/* Header */
.site-header {
  background: var(--yl-black);
  color: #fff;
  padding: .75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}
.site-brand img { width: 36px; height: 36px; border-radius: 8px; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; }
.site-nav a {
  color: #ddd;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}
.site-nav a:hover, .site-nav a.active { color: var(--yl-gold); }
.btn-nav {
  background: var(--yl-gold);
  color: var(--yl-black) !important;
  padding: .45rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 3rem 1.25rem 3.5rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, .84) 0%, rgba(26, 26, 26, .68) 50%, rgba(212, 158, 0, .5) 100%),
    url('/assets/backgrounds/community.png') center/cover no-repeat;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero-logo { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 1rem; box-shadow: 0 8px 32px rgba(0,0,0,.35); }
.hero h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); margin-bottom: .5rem; line-height: 1.2; }
.hero .tagline { font-size: 1.05rem; opacity: .92; max-width: 640px; margin: 0 auto 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; }
.hero-badges span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: .95rem;
}
.btn-gold { background: var(--yl-gold); color: var(--yl-black); }
.btn-gold:hover { background: var(--yl-gold-dark); }
.btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
.btn-dark { background: var(--yl-black); color: var(--yl-gold); }

/* Sections */
.section { padding: 3rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.section-bg-steps {
  max-width: none;
  background:
    linear-gradient(rgba(255, 251, 240, .94), rgba(255, 251, 240, .94)),
    url('/assets/backgrounds/matching.png') center/cover no-repeat;
}
.section-bg-features {
  max-width: none;
  background:
    linear-gradient(rgba(255, 255, 255, .93), rgba(255, 255, 255, .93)),
    url('/assets/backgrounds/privacy.png') center/cover no-repeat;
  border-top: 1px solid var(--yl-border);
  border-bottom: 1px solid var(--yl-border);
}
.section-bg-featured {
  background:
    linear-gradient(rgba(255, 251, 240, .92), rgba(255, 251, 240, .92)),
    url('/assets/backgrounds/premium.png') center/cover no-repeat;
}
.section-bg-download {
  max-width: none;
  background:
    linear-gradient(rgba(255, 251, 240, .9), rgba(255, 251, 240, .9)),
    url('/assets/backgrounds/verify.png') center/cover no-repeat;
}
.page-banner {
  padding: 3rem 1.25rem 1.5rem;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, .85) 0%, rgba(26, 26, 26, .7) 100%),
    url('/assets/backgrounds/matching.png') center/cover no-repeat;
}
.page-banner-register {
  background:
    linear-gradient(135deg, rgba(26, 26, 26, .85) 0%, rgba(212, 158, 0, .45) 100%),
    url('/assets/backgrounds/verify.png') center/cover no-repeat;
}
.page-banner .section-title { color: #fff; margin-bottom: .5rem; }
.page-banner .section-sub { color: rgba(255, 255, 255, .92); margin-bottom: 0; }
.section-title { text-align: center; margin-bottom: .5rem; font-size: 1.5rem; }
.section-sub { text-align: center; color: var(--yl-muted); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.step-card {
  background: #fff;
  border: 1px solid var(--yl-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--yl-gold);
  color: var(--yl-black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin: 0 auto .75rem;
}
.step-card h3 { color: var(--yl-gold-dark); margin-bottom: .35rem; font-size: 1rem; }
.step-card p { font-size: .9rem; color: var(--yl-muted); }

/* Cards grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.profile-card, .feature-card {
  background: #fff;
  border: 1px solid var(--yl-border);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}
.profile-card .avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yl-gold), var(--yl-gold-dark));
  margin: 0 auto .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; font-weight: 800; color: var(--yl-black);
}
.profile-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.profile-card .meta { font-size: .85rem; color: var(--yl-muted); }
.feature-card h3 { color: var(--yl-gold-dark); margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--yl-muted); }

/* Forms */
.form-panel {
  background: #fff;
  border: 1px solid var(--yl-border);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 520px;
  margin: 0 auto;
}
.form-panel h2 { font-size: 1.25rem; margin-bottom: 1rem; text-align: center; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: #444; }
.form-row input, .form-row select {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: .95rem;
}
.form-row.inline { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-note { font-size: .8rem; color: var(--yl-muted); margin-top: .75rem; text-align: center; }

/* App download */
.download-hero {
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, .82) 0%, rgba(26, 26, 26, .72) 100%),
    url('/assets/backgrounds/matching.png') center/cover no-repeat;
}
.download-hero h1,
.download-hero .section-sub { color: #fff; }
.download-hero .section-sub { opacity: .92; }
.download-hero .download-features { color: #fff; }
.download-hero .app-logo { width: 120px; height: 120px; border-radius: 28px; margin-bottom: 1rem; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.store-badges { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin: 1.5rem 0; }
.store-badge-img {
  display: inline-block;
  line-height: 0;
  height: 50px;
  transition: transform .15s ease;
}
.store-badge-img:hover { transform: translateY(-2px); }
.store-badge-img img { height: 50px; width: auto; display: block; }
.store-badge-soon { opacity: .8; cursor: default; pointer-events: none; filter: grayscale(15%); }
.store-badge-soon:hover { transform: none; }
.download-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; max-width: 800px; margin: 2rem auto 0; text-align: left; }
.download-features li { list-style: none; padding: .5rem 0 .5rem 1.5rem; position: relative; font-size: .9rem; }
.download-features li::before { content: '✓'; position: absolute; left: 0; color: var(--yl-gold-dark); font-weight: 800; }

/* Footer */
.site-footer {
  background: var(--yl-black);
  color: #ccc;
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.footer-grid h4 { color: var(--yl-gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .4rem; }
.footer-grid a { color: #bbb; text-decoration: none; font-size: .9rem; }
.footer-grid a:hover { color: var(--yl-gold); }
.footer-contact p { font-size: .9rem; margin-bottom: .35rem; }
.social-links { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: background .15s;
}
.social-links a:hover { background: var(--yl-gold); color: var(--yl-black); }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
  color: #888;
  max-width: 1100px;
  margin: 0 auto;
}

/* Content pages */
.content-page { max-width: 720px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.content-page h1 { font-size: 1.75rem; margin-bottom: .5rem; }
.content-page h2 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--yl-gold-dark); }
.content-page p, .content-page li { margin-bottom: .65rem; font-size: .95rem; }
.content-page ul { padding-left: 1.25rem; margin-bottom: 1rem; }

/* Admin */
.admin-shell { min-height: 100vh; background: #f4f5f7; }
.admin-hero {
  color: #fff;
  padding: 2rem 1.25rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(26, 26, 26, .88) 0%, rgba(212, 158, 0, .4) 100%),
    url('/assets/backgrounds/premium.png') center/cover no-repeat;
}
.admin-hero h1 { color: var(--yl-gold); margin-bottom: .25rem; }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: -1.5rem auto 2rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--yl-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow .15s, border-color .15s;
}
.admin-card:hover { border-color: var(--yl-gold); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.admin-card .icon { font-size: 2rem; margin-bottom: .5rem; }
.admin-card h3 { margin-bottom: .35rem; }
.admin-card p { font-size: .85rem; color: var(--yl-muted); }

#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--yl-black); color: #fff;
  padding: .75rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem; font-size: .85rem; z-index: 999;
}
#cookie-banner a { color: var(--yl-gold); }
#cookie-banner button {
  background: var(--yl-gold); border: none;
  padding: .4rem .9rem; border-radius: 6px; font-weight: 700; cursor: pointer;
}

@media (max-width: 600px) {
  .form-row.inline { grid-template-columns: 1fr; }
  .site-nav { width: 100%; justify-content: center; }
}
