/* ══════════════════════════════════════════════════════
   YCG Landing Page — strona główna dla niezalogowanych
   Redesign v2 — dark hero, Barlow Condensed, sporty
   ══════════════════════════════════════════════════════ */

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

:root {
  --ycg-navy:    #0d1b2a;
  --ycg-navy2:   #1a2f47;
  --ycg-red:     #c0392b;
  --ycg-red-dk:  #a93226;
  --ycg-gold:    #e8a020;
  --ycg-blue:    #1565c0;
  --ycg-light:   #f4f7fb;
  --ycg-border:  #e0e7ef;
  --ycg-text:    #1a2a3a;
  --ycg-muted:   #5a6a7a;
  --ycg-radius:  14px;
  --ycg-shadow:  0 4px 24px rgba(13,27,42,.10);
}

* { box-sizing: border-box; }

body.ycg-landing-page {
  background: var(--ycg-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 0;
}

/* ── Hero ─────────────────────────────────────────────── */
.ycg-landing__hero {
  background: linear-gradient(160deg, var(--ycg-navy) 0%, var(--ycg-navy2) 60%, #1e3a5f 100%);
  text-align: center;
  padding: 56px 24px 72px;
  position: relative;
  overflow: hidden;
}

/* Subtle wave pattern overlay */
.ycg-landing__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ycg-landing__logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,.35), 0 0 0 3px rgba(255,255,255,.15);
  position: relative;
}

.ycg-landing__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  line-height: 1.05;
}

.ycg-landing__title span {
  color: var(--ycg-red);
}

.ycg-landing__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: .5px;
  position: relative;
}

.ycg-landing__champion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.4);
  color: var(--ycg-gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  position: relative;
}

.ycg-landing__btn {
  display: inline-block;
  background: var(--ycg-red);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(192,57,43,.45);
  letter-spacing: .3px;
  position: relative;
}

.ycg-landing__btn:hover {
  background: var(--ycg-red-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,57,43,.5);
}

/* SVG wave divider */
.ycg-landing__wave {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: -2px;
  color: var(--ycg-light);
}

/* ── Wrapper ──────────────────────────────────────────── */
.ycg-landing {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 0 80px;
}

/* ── Stats grid ──────────────────────────────────────── */
.ycg-landing__stats-wrap {
  padding: 28px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ycg-landing__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ycg-landing__stats-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.ycg-landing__stats-grid--2col .ycg-landing__stat-card:last-child {
  flex-direction: row-reverse;
}

.ycg-landing__stats-grid--2col .ycg-landing__stat-card:last-child .ycg-landing__stat-text {
  text-align: right;
}

.ycg-landing__stat-card {
  background: #fff;
  border: 1px solid var(--ycg-border);
  border-radius: var(--ycg-radius);
  padding: 20px 16px;
  box-shadow: var(--ycg-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

/* Duży kafel — poziomy układ */
.ycg-landing__stat-card--featured {
  flex-direction: row;
  align-items: center;
  padding: 24px 20px;
  border-left: 4px solid var(--ycg-accent);
  background: linear-gradient(135deg, #fff 80%, #f0f4ff 100%);
  min-height: auto;
}

.ycg-landing__stat-card--featured .ycg-landing__stat-icon {
  font-size: 2.8rem;
  width: 60px;
  flex-shrink: 0;
  text-align: center;
}

.ycg-landing__stat-card--featured .ycg-landing__stat-text strong {
  font-size: 1.15rem;
}

.ycg-landing__stat-card--featured .ycg-landing__stat-text span {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}

.ycg-landing__stat-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.ycg-landing__stat-text strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ycg-text);
  line-height: 1.2;
}

.ycg-landing__stat-text span {
  font-size: .75rem;
  color: var(--ycg-muted);
  font-weight: 500;
  line-height: 1.3;
  display: block;
  word-break: keep-all;
  hyphens: none;
}

/* ── Sekcje ─────────────────────────────────────────── */
.ycg-landing__body {
  padding: 0 20px;
}

.ycg-landing__section {
  margin: 40px 0 0;
}

.ycg-landing__section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ycg-border);
}

.ycg-landing__section-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ycg-text);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ycg-landing__section-header .ycg-section-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ycg-red);
  flex-shrink: 0;
  margin-bottom: 1px;
}

/* ── O nas ──────────────────────────────────────────── */
.ycg-landing__onas {
  background: #fff;
  border: 1px solid var(--ycg-border);
  border-radius: var(--ycg-radius);
  padding: 20px;
  box-shadow: var(--ycg-shadow);
  border-left: 4px solid var(--ycg-red);
}

.ycg-landing__onas p {
  font-size: .95rem;
  line-height: 1.75;
  color: #3a4a5a;
  margin: 0 0 12px;
}

.ycg-landing__onas p:last-child { margin: 0; }

/* ── Aktualności (FB) ─────────────────────────────────── */
.ycg-landing__fb-desc {
  font-size: .9rem;
  color: var(--ycg-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.ycg-landing__fb-wrap {
  border-radius: var(--ycg-radius);
  overflow: hidden;
  box-shadow: var(--ycg-shadow);
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ycg-border);
  margin-bottom: 16px;
}

.ycg-landing__fb-link {
  text-align: center;
  margin-top: 12px;
}

.ycg-landing__btn--fb {
  background: #1877f2;
  box-shadow: 0 4px 16px rgba(24,119,242,.3);
}
.ycg-landing__btn--fb:hover {
  background: #1565c0;
}

/* ── Footer CTA ─────────────────────────────────────── */
.ycg-landing__footer-cta {
  text-align: center;
  margin: 0 20px;
  padding: 36px 24px;
  background: var(--ycg-navy);
  border-radius: var(--ycg-radius);
  margin-top: 40px;
}

.ycg-landing__footer-cta .ycg-landing__btn {
  font-size: 1.05rem;
  padding: 16px 48px;
}

/* ── Copyright ──────────────────────────────────────── */
.ycg-landing__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-top: 16px;
}

/* ── Responsive ─────────────────────────────────────── */
@media (min-width: 480px) {
  .ycg-landing__title { font-size: 3.6rem; }
  .ycg-landing__logo  { width: 120px; }
  .ycg-landing__stats-wrap { padding: 28px 40px 0; }
  .ycg-landing__stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 600px) {
  .ycg-landing__title { font-size: 4rem; }
}
