:root {
    --bg: #050505;
    --surface: #101010;
    --text: #ffffff;
    --muted: #c8c8c8;
    --line: rgba(255, 255, 255, .16);
    --primary: #ef1b4b;
    --primary-dark: #d31340;
    --button-dark: #1f1f1f;
    --container: 1280px;
    --radius-xl: 34px;
    --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Montserrat', Arial, sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
html { overflow-x: clip; }
body { overflow-x: clip; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

/* Header */
.site-header { padding: 20px 0; position: sticky; top: 0; z-index: 50; background: rgba(5, 5, 5, .75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-img { display: inline-block; }
.logo-img img { height: 28px; width: auto; display: block; }
.footer-logo img { height: 30px; }
.footer-partners { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.footer-partners img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 42px; font-size: 14px; color: #f0f0f0; flex: 1; justify-content: center; }
.nav-links a.active { color: #fff; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s ease; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-dark { background: var(--button-dark); color: #fff; }
.btn-pill { border-radius: 999px; }

/* CTA (shared) */
.cta { position: relative; overflow: hidden; background: var(--primary); border-radius: var(--radius-xl); padding: 62px 24px; text-align: center; margin: 40px 0 56px; }
.cta::before, .cta::after { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(255, 255, 255, .18); pointer-events: none; }
.cta::before { left: -14px; bottom: -14px; border-radius: 0 180px 0 0; }
.cta::after { right: -14px; top: -14px; border-radius: 0 0 0 180px; }
.cta h2 { margin: 0 0 24px; font-size: clamp(24px, 3vw, 48px); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }

/* Footer */
.site-footer { padding-bottom: 0; }
.footer-content { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 32px; padding-top: 40px; align-items: start; }
.footer-brand p { color: #d6d6d6; line-height: 1.6; max-width: 420px; margin-top: 20px; }
.footer-heading { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.footer-links { display: grid; gap: 8px; color: #dcdcdc; }
.social-links { display: flex; gap: 18px; color: #fff; align-items: center; }
.social-links a { transition: color .2s, transform .2s; }
.social-links a:hover { color: var(--primary); transform: translateY(-2px); }
.footer-bottom { margin-top: 40px; padding: 14px 16px; text-align: center; color: #fff; font-size: 14px; background: var(--primary); width: 100%; }

/* Section titles */
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 20px; }
.section-title.center { justify-content: center; text-align: center; }
.section-title h2 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; margin: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* Interactive / Animations */
.btn { transform: translateZ(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(239, 27, 75, .25); }
.btn:active { transform: translateY(0); }

.site-header { transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(5, 5, 5, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }

.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal].is-visible[data-reveal="left"], [data-reveal].is-visible[data-reveal="right"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .4s; }

/* Dropdown */
[data-dropdown] { position: relative; }
[data-dropdown-trigger] { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 18px; color: #ddd; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
[data-dropdown-trigger]:hover { border-color: var(--primary); }
[data-dropdown-trigger] .chev { transition: transform .2s ease; }
[data-dropdown].open [data-dropdown-trigger] .chev { transform: rotate(180deg); }
[data-dropdown-menu] { position: absolute; top: calc(100% + 8px); left: 0; min-width: 100%; background: #141414; border: 1px solid var(--line); border-radius: 14px; padding: 6px; display: none; z-index: 20; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
[data-dropdown].open [data-dropdown-menu] { display: block; animation: dd-in .18s ease; }
[data-dropdown-menu] [data-value] { display: block; padding: 10px 14px; border-radius: 10px; color: #ddd; font-size: 14px; cursor: pointer; }
[data-dropdown-menu] [data-value]:hover { background: rgba(239, 27, 75, .16); color: #fff; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Search pill */
.search-pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; min-width: 260px; transition: border-color .2s; }
.search-pill:focus-within { border-color: var(--primary); }
.search-pill svg { flex-shrink: 0; }
.search-pill input { background: transparent; border: 0; outline: 0; color: #fff; padding: 12px 0; font: inherit; font-size: 14px; flex: 1; }
.search-pill input::placeholder { color: #9a9a9a; }

/* Clear filter */
.clear-filter { background: transparent; border: 0; color: #bdbdbd; font: inherit; font-size: 14px; cursor: pointer; padding: 8px 0; transition: color .2s; }
.clear-filter:hover { color: var(--primary); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin: 30px 0 60px; }
.pagination a, .pagination button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); color: #ddd; font-weight: 600; background: transparent; cursor: pointer; transition: .2s ease; }
.pagination a:hover, .pagination button:hover { border-color: var(--primary); color: #fff; }
.pagination a.active, .pagination button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Form */
.form-status { margin-top: 10px; font-size: 14px; font-weight: 600; color: #fff; }
.form-status.error { color: #ffe3ea; }
.form-status.success { color: #eaffed; }
.form-field input.invalid, .form-field textarea.invalid { box-shadow: 0 0 0 2px #ffd2da; }

/* Play button */
[data-play] { transition: transform .2s ease, background .2s ease; }
[data-play]:hover { transform: scale(1.04); }
[data-play].is-playing .circle svg { transform: scale(.85); }

/* Card hover */
.post-card, .vodcast-card, .participant-card, .coach-card, .benefit-card, .criteria-card, .activity-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover, .vodcast-card:hover, .participant-card:hover, .benefit-card:hover, .criteria-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.activity-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(239, 27, 75, .2); }
.coach-card:hover { transform: translateY(-4px); }
.coach-card:hover .coach-image img { transform: scale(1.04); }
.coach-image img { transition: transform .35s ease; }

/* FAQ */
[data-faq-categories] li { transition: color .2s, transform .2s; }
[data-faq-categories] li:hover { color: #fff; transform: translateX(2px); }
[data-faq-categories] li.active { color: #fff; }
[data-faq-categories] li.active .box { color: var(--primary); }

/* Hero shapes float */
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-visual-img { animation: float-y 6s ease-in-out infinite; }

/* Back to top */
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 999px; background: var(--primary); color: #fff; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, background .2s ease, visibility 0s .25s; box-shadow: 0 10px 24px rgba(239, 27, 75, .35); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
@media (max-width: 560px) { .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .site-header { padding: 14px 0; background: rgba(5, 5, 5, .92); }
    .cta { padding: 44px 20px; border-radius: 24px; }
    .cta h2 { font-size: clamp(22px, 5vw, 36px); }
}
/* Hamburger toggle (hidden on desktop) */
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 5px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer (mobile) — placed at body level to avoid containing-block clipping */
.nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; z-index: 90; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }

.nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 320px); background: #0a0a0a; border-left: 1px solid var(--line); padding: 20px 24px 28px; transform: translateX(100%); transition: transform .35s cubic-bezier(.4, 0, .2, 1); z-index: 100; display: flex; flex-direction: column; gap: 8px; box-shadow: -10px 0 40px rgba(0, 0, 0, .6); overflow-y: auto; visibility: hidden; }
.nav-drawer.is-open { transform: translateX(0); visibility: visible; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.nav-drawer-head .logo-img img { height: 26px; }
.nav-drawer-close { width: 36px; height: 36px; border: 1px solid var(--line); background: transparent; color: #fff; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.nav-drawer-close:hover { background: var(--primary); border-color: var(--primary); }
.nav-drawer-links { display: flex; flex-direction: column; padding: 8px 0; }
.nav-drawer-links a { padding: 14px 4px; font-size: 16px; color: #f0f0f0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-drawer-links a:last-child { border-bottom: 0; }
.nav-drawer-links a.active { color: var(--primary); font-weight: 700; }
.nav-drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.nav-drawer-actions .btn { width: 100%; padding: 12px 18px; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .nav-links, .nav-actions { display: none; }
    .navbar { flex-wrap: nowrap; }
    .logo-img img { height: 26px; }
}
@media (min-width: 961px) {
    .nav-drawer, .nav-backdrop { display: none !important; }
}
@media (max-width: 640px) {
    .section-title { flex-direction: column; align-items: flex-start; gap: 8px; }
    .section-title.center { align-items: center; }
    .footer-partners img { height: 28px; }
}
@media (max-width: 560px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .btn { padding: 10px 16px; }
    .cta { padding: 38px 16px; }
    .footer-content { grid-template-columns: 1fr; padding-top: 30px; gap: 24px; }
    .social-links { gap: 14px; }
    .pagination a, .pagination button { width: 36px; height: 36px; }
}
