:root {
    --cream: #F5F0E8;
    --sand: #E8DFC8;
    --earth: #C4A882;
    --deep: #2C2416;
    --forest: #3D5440;
    --forest-light: #4E6B52;
    --accent: #8B6914;
    --warm-white: #FDFAF4;
    --muted: #7A6E5F;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--deep);
    overflow-x: hidden;
  }

  /* ── NOISE TEXTURE OVERLAY ── */
  body::before {
    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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
    padding: 0;
  }

  .hero-left {
    background: var(--forest);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .hero-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,168,130,0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
  }

  .hero-left::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,168,130,0.1) 0%, transparent 70%);
    bottom: 50px;
    right: -50px;
  }

  .badge {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--earth);
    border: 1px solid rgba(196,168,130,0.4);
    padding: 8px 16px;
    border-radius: 2px;
    margin-bottom: 36px;
    width: fit-content;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--earth);
    margin-bottom: 8px;
    font-weight: 500;
  }

  .hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.15;
    color: var(--warm-white);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
  }

  .hero-headline em {
    font-style: italic;
    color: var(--earth);
  }

  .hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(253,250,244,0.7);
    max-width: 420px;
    margin-bottom: 48px;
    font-weight: 300;
    position: relative;
    z-index: 1;
  }

  .cta-btn {
    display: inline-block;
    background: var(--earth);
    color: var(--deep);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 18px 40px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    width: fit-content;
  }

  .cta-btn:hover {
    background: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }

  .hero-right {
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
  }

  /* Decorative circles representing the game's images */
  .game-visual {
    position: relative;
    width: 320px;
    height: 320px;
  }

  .game-circle {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 13px;
    color: var(--deep);
    text-align: center;
    padding: 16px;
    line-height: 1.4;
    animation: float 6s ease-in-out infinite;
  }

  .gc-1 { width: 130px; height: 130px; background: var(--forest); color: var(--warm-white); top: 0; left: 20px; animation-delay: 0s; }
  .gc-2 { width: 100px; height: 100px; background: var(--earth); top: 40px; right: 0; animation-delay: 1s; }
  .gc-3 { width: 110px; height: 110px; background: var(--deep); color: var(--warm-white); bottom: 30px; left: 0; animation-delay: 2s; }
  .gc-4 { width: 120px; height: 120px; background: rgba(196,168,130,0.4); border: 1px solid var(--earth); bottom: 10px; right: 20px; animation-delay: 0.5s; }
  .gc-5 { width: 80px; height: 80px; background: var(--forest-light); color: var(--warm-white); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 1.5s; }

  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }
  .gc-5 {
    animation: float5 6s ease-in-out infinite;
  }
  @keyframes float5 {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-12px); }
  }

  .connecting-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(139,105,20,0.3);
    border-radius: 50%;
    animation: spin 20s linear infinite;
  }

  @keyframes spin {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to { transform: translate(-50%,-50%) rotate(360deg); }
  }

  /* ── SECTIONS ── */
  section {
    padding: 100px 0;
  }

  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .section-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    color: var(--deep);
    margin-bottom: 24px;
  }

  .section-title em {
    font-style: italic;
    color: var(--forest);
  }

  /* ── PROBLEM ── */
  .problem-section {
    background: var(--warm-white);
  }

  .problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .problem-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 20px;
  }

  .problem-text p strong {
    color: var(--deep);
    font-weight: 500;
  }

  .quote-block {
    border-left: 3px solid var(--earth);
    padding: 32px 40px;
    background: var(--sand);
    position: relative;
  }

  .quote-block::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: var(--earth);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
  }

  .quote-block p {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    color: var(--deep);
    position: relative;
    z-index: 1;
  }

  /* ── HOW IT WORKS ── */
  .how-section {
    background: var(--forest);
    color: var(--warm-white);
  }

  .how-section .section-title {
    color: var(--warm-white);
  }

  .how-section .section-label {
    color: var(--earth);
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
  }

  .step {
    background: rgba(253,250,244,0.05);
    padding: 48px 36px;
    position: relative;
    transition: background 0.3s;
  }

  .step:hover {
    background: rgba(253,250,244,0.1);
  }

  .step-num {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: rgba(196,168,130,0.2);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
  }

  .step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--warm-white);
    margin-bottom: 12px;
  }

  .step p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(253,250,244,0.65);
    font-weight: 300;
  }

  /* ── OUTCOMES ── */
  .outcomes-section {
    background: var(--cream);
  }

  .outcomes-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 600px;
    font-weight: 300;
    margin-bottom: 60px;
  }

  .outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .outcome-item {
    background: var(--warm-white);
    padding: 40px 44px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: transform 0.3s;
  }

  .outcome-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(44,36,22,0.08);
  }

  .outcome-icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    color: var(--earth);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border-radius: 2px;
  }

  .outcome-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--deep);
    margin-bottom: 8px;
  }

  .outcome-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 300;
  }

  /* ── FOR WHOM ── */
  .forwhom-section {
    background: var(--sand);
  }

  .forwhom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .check-list {
    list-style: none;
    margin-top: 32px;
  }

  .check-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(44,36,22,0.1);
    font-size: 16px;
    line-height: 1.6;
    color: var(--deep);
  }

  .check-list li::before {
    content: '✓';
    color: var(--forest);
    font-weight: 500;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .fris-box {
    background: var(--forest);
    color: var(--warm-white);
    padding: 48px;
    position: relative;
    overflow: hidden;
  }

  .fris-box::before {
    content: 'FRIS';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    color: rgba(253,250,244,0.05);
    top: -10px;
    right: -10px;
    line-height: 1;
  }

  .fris-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--earth);
    margin-bottom: 16px;
  }

  .fris-box p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(253,250,244,0.75);
    font-weight: 300;
  }

  /* ── AUTHORS ── */
  .authors-section {
    background: var(--warm-white);
  }

  .authors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
  }

  .author-card {
    padding: 48px;
    border: 1px solid var(--sand);
    position: relative;
    transition: box-shadow 0.3s;
  }

  .author-card:hover {
    box-shadow: 0 20px 60px rgba(44,36,22,0.08);
  }

.author-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top; /* przyciąga kadr ku górze, gdzie zwykle jest twarz */
  border: 3px solid var(--earth);
  outline: 1px solid rgba(196,168,130,0.3);
  outline-offset: 4px;
  margin-bottom: 24px;
  display: block;
}

  .author-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--deep);
    margin-bottom: 8px;
  }

  .author-card .author-role {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 20px;
  }

  .author-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    font-weight: 300;
  }

  /* ── REGISTER SECTION ── */
  .register-section {
    background: var(--deep);
    position: relative;
    overflow: hidden;
  }

  .register-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,168,130,0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
  }

  .register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
  }

  .register-left .section-label {
    color: var(--earth);
  }

  .register-left .section-title {
    color: var(--warm-white);
  }

  .register-left p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(253,250,244,0.6);
    font-weight: 300;
    margin-bottom: 40px;
  }

  .webinar-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .meta-item {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 15px;
    color: rgba(253,250,244,0.75);
  }

  .meta-icon {
    width: 36px;
    height: 36px;
    background: rgba(196,168,130,0.15);
    border: 1px solid rgba(196,168,130,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border-radius: 2px;
  }

  /* FORM */
  .register-form {
    background: var(--warm-white);
    padding: 52px;
    position: relative;
    z-index: 1;
  }

  .form-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--deep);
    margin-bottom: 32px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
  }

  .form-group input,
  .form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--cream);
    border: 1px solid var(--sand);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--deep);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
    appearance: none;
  }

  .form-group input:focus,
  .form-group select:focus {
    border-color: var(--forest);
  }

  .consent-group {
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .consent-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--forest);
    cursor: pointer;
    margin-top: 3px;
  }

  .consent-group label {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    cursor: pointer;
  }

  .consent-group label a {
    color: var(--forest);
    text-decoration: underline;
  }

  .required-star {
    color: var(--accent);
  }

  .optional-tag {
    font-size: 11px;
    color: var(--earth);
    font-style: italic;
  }

  .submit-btn {
    width: 100%;
    background: var(--forest);
    color: var(--warm-white);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 18px;
    border: none;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.3s;
    border-radius: 0;
  }

  .submit-btn:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(61,84,64,0.4);
  }

  .form-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--deep);
    border-top: 1px solid rgba(253,250,244,0.08);
    padding: 40px 0;
    text-align: center;
  }

  footer p {
    font-size: 13px;
    color: rgba(253,250,244,0.35);
    line-height: 1.8;
  }

  footer a {
    color: rgba(253,250,244,0.5);
    text-decoration: underline;
  }

  /* ── FADE IN ANIMATIONS ── */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .hero-left { padding: 80px 36px; min-height: auto; padding-top: 100px; }
    .problem-grid, .forwhom-grid, .register-grid, .authors-grid, .outcomes-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps { grid-template-columns: 1fr; }
    section { padding: 70px 0; }
    .register-form { padding: 36px 28px; }
    .container { padding: 0 24px; }
  }

  /* ── REWARD SLIDESHOW ── */
.hero-photo {
  width: 100%;
    position: absolute;
  inset: 0;  
}
.hero-slideshow {
  position: absolute; inset: 0;
}
.hero-slideshow .slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slideshow .slide.active { opacity: 1; }