*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; overflow-x: hidden;}
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #0a0a0a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    cursor: pointer;
}

/* NAV */
.nav-bar {
    height: 85px;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #dadada;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav-bar__inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 930px) { .nav-bar__inner { display: none; } }
.nav-bar__mobile-inner {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}
@media (max-width: 930px) { .nav-bar__mobile-inner { display: flex; } }
.nav-bar__left { display: flex; align-items: center; gap: 20px; }
.nav-bar__logo-link {
    display: flex;
}
.nav-bar__logo {
    width: 200px;
}
.nav-bar__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-bar__link a {
    display: block; padding: 8px 13px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: #0a0a0a;
    text-decoration: none; transition: background 0.2s;
}
.nav-bar__link a:hover { background: #f0f0f0; }
.nav-bar__right { display: flex; align-items: center; gap: 8px; }

.btn {
    padding: 9px 16px; border-radius: 10px;
    font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 500;
    text-decoration: none; cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    border: none; display: inline-block;
}
.btn:active { transform: scale(0.98); }
.btn--ghost { color: #0a0a0a; background: transparent; }
.btn--ghost:hover { background: #f0f0f0; }
.btn--muted { color: #0a0a0a; background: #ededed; }
.btn--muted:hover { background: #d8d8d8; }
.btn--primary { color: #fff; background: #000; }
.btn--primary:hover { background: #222; }
.btn--teal { color: #fff; background: #11aaa2; }
.btn--teal:hover { background: #0e9690; }
.btn--hero { font-size: 15px; padding: 13px 24px; border-radius: 12px; }

.icon {
    cursor: pointer; width: 40px; padding: 5px;
    border-radius: 5px; transition: background-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) { .icon:hover { background-color: #dadada; } }

/* MOBILE MENU */
.cover {
    position: fixed; left: 0; top: 0; width: 100%; height: 100%;
    background-color: #9c9c9c; opacity: 0.7; z-index: 11;
}
.menu {
    position: fixed; width: 300px; height: 100%;
    top: 0; left: -301px;
    background-color: #ffffff; border-right: 1px solid #dadada;
    animation-duration: 0.5s; animation-fill-mode: forwards; z-index: 12;
}
@keyframes menuOpen { from { left: -301px; } to { left: 0px; } }
@keyframes menuClose { from { left: 0px; } to { left: -301px; } }
.menu__close { position: relative; top: 20px; left: 240px; }
.menu__links {
    list-style-type: none; padding: 0; margin: 20px;
    margin-top: 30px; margin-bottom: 0;
    display: flex; flex-direction: column; gap: 5px;
}
.menu__link { padding: 13px; border-radius: 10px; cursor: pointer; transition: background-color 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .menu__link:hover { background-color: #dadada; } }
.menu__link p { margin: 0; font-weight: 500; }
.menu__link a { text-decoration: none; color: #000000; }
.menu__divider { border-bottom: 1px solid #dadada; margin: 15px 20px; }
.menu__bottom { display: flex; flex-direction: column; margin: 0 20px; gap: 10px; }
.right-bottom-btn {
    padding: 10px 15px; border-radius: 10px;
    transition: background-color 0.2s ease; text-decoration: none;
    font-size: 14px; font-family: "Poppins", sans-serif; font-weight: 500;
}
.right-bottom-btn p { margin: 0; }
.menu__contact { color: #000; text-align: center; }
@media (hover: hover) and (pointer: fine) { .menu__contact:hover { background-color: #dadada; } }
.menu__login { text-align: center; background-color: #ededed; color: #000; }
@media (hover: hover) and (pointer: fine) { .menu__login:hover { background-color: #d1d1d1; } }
.menu__signup { text-align: center; background-color: #000000; color: #ffffff; }
@media (hover: hover) and (pointer: fine) { .menu__signup:hover { background-color: #464646; } }

/* HERO */
.hero {
    min-height: calc(100vh - 85px);
    /*display: flex; align-items: center; justify-content: center;
    padding: 60px 24px; position: relative; overflow: hidden;*/

    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    background:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px),
        radial-gradient(ellipse 60% 55% at 15% 20%, rgba(17,170,162,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 75%, rgba(17,170,162,0.05) 0%, transparent 65%),
        #ffffff;
    background-size:
        40px 40px,
        40px 40px,
        auto,
        auto;
}

.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(17,170,162,0.08); border: 1px solid rgba(17,170,162,0.2);
    color: #0b807a; font-size: 12px; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 100px; margin-bottom: 24px;
}
.hero__eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #11aaa2; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}
.hero__title {
    font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
    line-height: 1.12; letter-spacing: -1.5px; margin: 0 0 20px; color: #0a0a0a;
}
.hero__title em { font-style: normal; color: #11aaa2; }
.hero__subtitle {
    font-size: 17px; font-weight: 400; line-height: 1.7;
    color: #555; margin: 0 0 36px; max-width: 440px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__social-proof { margin-top: 40px; display: flex; align-items: center; gap: 12px; }
.hero__avatars { display: flex; }
.hero__avatar {
    width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff;
    margin-left: -8px; font-size: 11px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}
.hero__avatar:first-child { margin-left: 0; }
.hero__avatars-a { background: #d4f0ee; color: #0b807a; }
.hero__avatars-b { background: #fce4f8; color: #a0369a; }
.hero__avatars-c { background: #fef0d4; color: #9a7010; }
.hero__avatars-d { background: #d4e8ff; color: #1a5fa8; }
.hero__proof-text { font-size: 13px; color: #777; }
.hero__proof-text strong { color: #0a0a0a; font-weight: 600; }

.hero__left {
    width: 500px;
    position: relative;
}

/* PLAYER CARD */
.hero__right {
    /*display: flex;
    align-items: center;
    justify-content: center;
    position: relative;*/
    width: 50%;
    max-width: 800px;
    position: relative;
}

@media (max-width: 1136px) {

    .hero {
        gap: 50px;
        padding: 50px;
    }

    .hero__right {
        width: 100%;
    }
}

.rr-controller__btns * {
    box-sizing: initial;
}

#player {
    transform-origin: top left;
}

.rr-player {
    /*box-shadow: none !important;*/
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.rr-player button {
    color: #000000;
}

.rr-player .switch.svelte-9brlez label.svelte-9brlez.svelte-9brlez:before,
.rr-player .rr-progress__step.svelte-19ke1iv.svelte-19ke1iv,
.rr-player .rr-controller__btns.svelte-19ke1iv button.svelte-19ke1iv:active {
    background: rgba(17, 170, 162, 0.5) !important;
}

.rr-player .rr-controller__btns.svelte-19ke1iv button.active.svelte-19ke1iv,
.rr-player .rr-progress__handler.svelte-19ke1iv.svelte-19ke1iv,
.rr-player .switch.svelte-9brlez input[type="checkbox"].svelte-9brlez:checked + label.svelte-9brlez::before {
    background: #11aaa2 !important;
}

/*.rr-player .rr-player__frame {
    background-color: #000000;
}*/

.rr-controller__btns button:not(:last-child) {
    margin-right: 5px;
}

/* HOW IT WORKS */
.how-it-works {
    padding: 100px 24px; display: flex; align-items: center;
    justify-content: center; gap: 80px; flex-wrap: wrap;
    background: #fafafa; border-top: 1px solid #ebebeb;
}
.how-it-works__text-col { max-width: 440px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #11aaa2; margin-bottom: 16px; }
.section-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; letter-spacing: -1px; line-height: 1.2; margin: 0 0 20px; }
.section-body { font-size: 16px; line-height: 1.75; color: #555; margin: 0; }
.how-it-works__img-col { max-width: 500px; width: 100%; }
.how-it-works__img { width: 100%; border-radius: 14px; border: 1px solid #e0e0e0; box-shadow: 0 8px 30px rgba(0,0,0,0.1); display: block; }
.steps { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num { width: 32px; height: 32px; min-width: 32px; border-radius: 8px; background: #0a0a0a; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.step__content { padding-top: 4px; }
.step__title { font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.step__desc { font-size: 13px; color: #777; margin: 0; line-height: 1.5; }

/* COMMUNITY */
.community {
    padding: 100px 24px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(135deg, #fa61da 0%, #ff8891 50%, #ffcd5a 100%);
    position: relative; overflow: hidden;
}
.community::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}
.community__inner { position: relative; max-width: 600px; }
.community__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; color: #fff; margin: 0 0 16px; }
.community__text { font-size: 17px; color: rgba(255,255,255,0.85); margin: 0 0 32px; line-height: 1.6; }
.btn--discord {
    background: #000; color: #fff; font-size: 15px; padding: 13px 28px;
    border-radius: 12px; display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; font-weight: 600; transition: background 0.2s, transform 0.15s;
}
.btn--discord:hover { background: #222; transform: translateY(-2px); }
.discord-icon { width: 20px; height: 20px; }

/* FOOTER */
.footer { background: #fff; border-top: 1px solid #dadada; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 24px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: center; }
.footer__link a { font-size: 13px; color: #666; text-decoration: none; transition: color 0.2s; }
.footer__link a:hover { color: #000; }
.footer__copy { font-size: 12px; color: #aaa; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }