/* ===== Evoha Landing Page — Figma Clone ===== */

@font-face {
    font-family: 'Belmonte';
    src: url('../assets/font/Belmonte.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Belmonte Rough';
    src: url('../assets/font/Belmonte Rough.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'League Spartan';
    src: url('../assets/font/LeagueSpartan-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-dark: #2D3E50;
    --bg-darker: #243444;
    --yellow: #F8D782;
    --yellow-btn: #F4D081;
    --cream: #FCF4DB;
    --white: #ffffff;
    --text-dark: #2F3F4A;
    --pink: #FF6B9D;
    --gradient-start: #FF8C42;
    --gradient-end: #9B59B6;
    --font-script: 'Belmonte', cursive;
    --font-script-rough: 'Belmonte Rough', cursive;
    --font-league-spartan: 'League Spartan', sans-serif;
    --font-sans: 'Poppins', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    background-image: url('../assets/images/body.svg');
    color: var(--white);
    overflow-x: hidden;
    margin: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

/* Stars background */
.stars-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, .7) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 25% 35%, rgba(255, 255, 255, .5) 50%, transparent 50%),
        radial-gradient(1px 1px at 40% 10%, rgba(255, 255, 255, .6) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 60%, rgba(255, 255, 255, .4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 70% 25%, rgba(255, 255, 255, .5) 50%, transparent 50%),
        radial-gradient(1px 1px at 85% 45%, rgba(255, 255, 255, .6) 50%, transparent 50%),
        radial-gradient(1px 1px at 15% 70%, rgba(255, 255, 255, .4) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, .5) 50%, transparent 50%),
        radial-gradient(1px 1px at 50% 85%, rgba(255, 255, 255, .3) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 35% 55%, rgba(255, 255, 255, .5) 50%, transparent 50%);
}

/* Unified magnetic zone (header + hero) */
.magnetic-zone {
    position: relative;
}

/* Header */
.evoha-header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
}

.evoha-header .hero-parallax-layer {
    width: auto;
    height: auto;
}

.evoha-header .logo.hero-parallax-layer {
    display: inline-block;
}

.custome_nav {
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    text-decoration: none;
}

.logo-img {
    width: 100%;
    height: 62px;
}

.logo-star {
    position: relative;
    display: inline-block;
}

.logo-star::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: .55em;
    color: var(--yellow);
}

.social-icons {
    display: flex;
    gap: .75rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 19%;
    border: 1.5px solid rgba(255, 255, 255, .6);
    color: var(--text-dark);
    transition: background .2s;
    background: var(--white);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--white);
}

.social-icons svg {
    width: 16px;
    height: 16px;
}

/* Hero */
.hero-section {
    position: relative;
    z-index: 1;
    padding: 0;
    margin-top: 118px;
    overflow: hidden;
}

.banner {
    background-image: url('../assets/images/banner.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    width: 100%;
    /* max-width: 1920px; */
    margin: 0 auto;
    aspect-ratio: 1920 / 861;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    position: relative;
}

.sun-img {
    max-width: 255px;
}

.hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(380px, 42vw, 620px);
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* max-width: 620px; */
    margin: 0 auto;
    text-align: center;
}

.hero-title-script {
    font-family: var(--font-script);
    font-size: clamp(2rem, 8vw, 7rem);
    color: var(--text-dark);
    margin-bottom: 21px;
    line-height: 1.2;

}

.hero-title-main {
    font-family: var(--font-script);
    font-size: clamp(2rem, 8vw, 7rem);
    color: var(--yellow);
    line-height: 1;
    margin-top: 5px;
    margin-bottom: 34px;
    -webkit-text-stroke: 0;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0px -1px 0 #000,
        0px 1px 0 #000,
        -1px 0px 0 #000,
        1px 0px 0 #000;
}

.hero-title-sub {
    font-family: var(--font-league-spartan);
    font-size: clamp(1.2rem, 4vw, 4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: .5rem 0 1rem;
}

.hero-desc {
    color: var(--text-dark);
    font-size: 1.8rem;
    max-width: 744px;
    margin: 0 auto;
    opacity: 1;
    font-weight: 500;
    font-family: var(--font-league-spartan);
}

.hero-sun {
    position: absolute;
    top: -1%;
    right: 16%;
    width: clamp(50px, 8vw, 120px);
    z-index: 3;
}

.hero-sun svg {
    width: 100%;
    height: auto;
}

.hero-planet {
    position: absolute;
    width: clamp(70px, 23vw, 306px);
    /* width: clamp(70px, 18vw, 217px); */
    z-index: 3;
}

.hero-planet1 {
    position: absolute;
    /* width: clamp(70px, 23vw, 306px); */
    width: clamp(70px, 18vw, 217px);
    z-index: 3;
}

.hero-planet-left {
    left: -11px;
    top: 50%;
    transform: translate(-30%, -50%);
}

.hero-planet-right {
    right: -73px;
    transform: translate(30%, -50%);
    bottom: 71px;
    transform: scaleX(-1);
}

.hero-moon2 {
    left: 16%;
    rotate: -4deg;
    max-width: 113px;
    width: 100%;
    bottom: 31px;
}

.hero-planet svg {
    width: 100%;
    height: auto;
}

.hero-parallax-layer {
    width: 100%;
    height: 100%;
    will-change: transform;
}

.hero-moon {
    position: absolute;
    bottom: 6%;
    left: 6%;
    width: clamp(36px, 4vw, 50px);
    opacity: .9;
    z-index: 3;
}

.hero-moon svg {
    width: 100%;
    height: auto;
}

/* Section titles */
.section-title {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--yellow);
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 2rem;

}

.section-title-white {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: .5rem;
}

.star-icon {
    font-size: .6em;
    vertical-align: middle;
    opacity: .7;
    color: var(--white);
    filter: blur(1px);
}

.text-yellow {
    color: var(--yellow);
}

/* Why Evoha */
.section-why-evoha {
    position: relative;
    z-index: 1;
    padding: 3rem 0;
}

.dashed-box {
    border: 20px solid transparent;
    border-image: url("../assets/images/rope-border.png") 30 stretch;
    border-radius: 16px;
    padding: 2.5rem 2rem;
}

.why-text {
    font-size: 1.45rem;
    /* line-height: 1.8; */
    color: rgba(255, 255, 255, .9);
    margin: 0;
    text-align: center;
    font-family: var(--font-league-spartan);
}

.planet-skater svg {
    max-width: 180px;
    height: auto;
}

/* Waitlist benefits */
.section-waitlist-benefits {
    position: relative;
    z-index: 1;
    padding: 0rem 0 3rem;
}

.shooting-star {
    font-size: .7em;
    opacity: 1;
}

.benefits-grid {
    margin-top: 1rem;
}

.benefit-card {
    padding: 1rem 0.5rem;
    border-radius: 24px;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover {
    transform: translateY(-12px);
}

.benefit-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(255, 209, 102, .3);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.45s ease,
        background 0.35s ease;
    position: relative;
    overflow: hidden;
}

.benefit-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 16px 40px rgba(255, 209, 102, .55), 0 0 0 6px rgba(255, 209, 102, .15);
    background: #fce49a;
}

.benefit-card:hover .benefit-icon::after {
    opacity: 1;
}

.benefit-icon img {
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 72%;
}

.benefit-card:hover .benefit-icon img {
    transform: scale(1.15) rotate(6deg);
}

.benefit-label {
    font-weight: 600;
    font-size: 1.35rem;
    margin: 0;
    transition: color 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover .benefit-label {
    color: var(--yellow);
    transform: translateY(4px);
}

@media (prefers-reduced-motion: reduce) {

    .benefit-card,
    .benefit-icon,
    .benefit-icon img,
    .benefit-label {
        transition: none;
    }

    .benefit-card:hover,
    .benefit-card:hover .benefit-icon,
    .benefit-card:hover .benefit-icon img,
    .benefit-card:hover .benefit-label {
        transform: none;
    }
}

/* Invitation form */
.section-invitation {
    position: relative;
    z-index: 1;
    padding: 3rem 0 3rem;
}

.invitation-sub {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, .8);
    /* max-width: 500px; */
    margin: 18px auto;
    font-family: var(--font-league-spartan);
}

.referral-badge {
    display: inline-block;
    background: rgba(255, 209, 102, .2);
    border: 1px solid var(--yellow);
    color: var(--yellow);
    padding: .4rem 1.2rem;
    border-radius: 50px;
    font-size: .85rem;
    margin-top: 1rem;
}

.waitlist-form {
    max-width: 680px;
    margin: 2rem auto 0;
}

.evoha-input {
    background: var(--cream);
    border: none;
    border-radius: 50px;
    padding: 1.15rem 2rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.evoha-input::placeholder {
    color: #999;
}

.evoha-input:focus {
    background: var(--cream);
    box-shadow: 0 0 0 3px rgba(255, 209, 102, .4);
    border: none;
}

.terms-label {
    font-size: .82rem;
    color: rgba(255, 255, 255, .85);
}

.form-check-input {
    border-color: rgba(255, 255, 255, .5);
    background-color: transparent;
}

.form-check-input:checked {
    background-color: var(--yellow);
    border-color: var(--yellow);
}

.btn-save-place {
    background: var(--yellow-btn);
    border: none;
    border-radius: 50px;
    padding: .9rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    transition: transform .2s, box-shadow .2s;
}

.btn-save-place:hover {
    background: var(--yellow);
    color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244, 208, 129, .4);
}

.btn-save-place:active {
    border: 1px solid var(--yellow);
}

.btn-save-place:focus-visible {
    border: 1px solid var(--yellow);
}

.btn-save-place:disabled,
.btn-save-place.is-loading {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.btn-save-place .btn-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(47, 63, 73, 0.25);
    border-top-color: var(--text-dark);
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.btn-save-place.is-loading .btn-arrow {
    display: none;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-dark);
    color: var(--white);
}

.btn-arrow svg {
    width: 16px;
    height: 16px;
}

.form-footer-text {
    font-size: .78rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.6;
    font-family: var(--font-league-spartan);
}

/* Referral section */
.section-referral {
    position: relative;
    z-index: 1;
    padding: 2rem 0 4rem;
}

.referral-box {
    border: 2px dashed rgba(255, 255, 255, .6);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    background: rgba(0, 0, 0, .1);
}

.referral-title {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: var(--yellow);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.referral-bar {
    margin-bottom: 1.25rem;
}

.referral-bar-inner {
    display: flex;
    align-items: center;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 50px;
    background-image: linear-gradient(var(--bg-dark), var(--bg-dark)), linear-gradient(56deg, #E8721E, #F8D782, #E24C9A);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
}

.referral-input,
.referral-select {
    background: transparent;
    border: none;
    color: var(--white);
    padding: .85rem 1.25rem;
    font-size: .88rem;
    outline: none;
    flex: 1;
    min-width: 0;
}

.referral-input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.referral-select {
    flex: 0 0 140px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2rem;
}

.referral-select option {
    background: var(--bg-dark);
    color: var(--white);
}

.referral-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, .3);
    flex-shrink: 0;
}

.btn-share-link {
    background: var(--white);
    border: none;
    border-radius: 50px;
    padding: .7rem 1.5rem;
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-dark);
    white-space: nowrap;
    margin: 4px;
    transition: background .2s;
    flex-shrink: 0;
}

.btn-share-link:hover {
    background: var(--cream);
}

.referral-desc {
    font-size: 1.15rem;
    color: var(--yellow);
    /* line-height: 1.7; */
    max-width: 520px;
    margin: 0;
    font-family: var(--font-league-spartan);
}

.referral-desc2 {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    max-width: 520px;
    margin: .75rem 0 0;
    font-family: var(--font-league-spartan);
}

.referral-teaser {
    text-align: center;
}

.referral-teaser .referral-title {
    margin-bottom: 1rem;
}

.referral-teaser .referral-desc,
.referral-teaser .referral-desc2 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* Moon counter */
.moon-counter {
    display: flex;
    justify-content: center;
}

.moon-circle {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFF3C4, #FFD166 60%, #E8B84A);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset -8px -8px 20px rgba(0, 0, 0, .08);
}

.moon-circle::before,
.moon-circle::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(200, 160, 50, .25);
}

.moon-circle::before {
    width: 30px;
    height: 30px;
    top: 30px;
    left: 25px;
}

.moon-circle::after {
    width: 20px;
    height: 20px;
    bottom: 40px;
    right: 30px;
}

.moon-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.moon-label {
    position: relative;
    z-index: 1;
    background: var(--text-dark);
    color: var(--yellow);
    font-size: .65rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 50px;
    margin-top: .25rem;
    white-space: nowrap;
}

/* Full-screen success modal */
.success-modal-fullscreen .modal-content {
    border: none;
    border-radius: 0;
}

.success-modal-content {
    background: var(--bg-dark);
    color: var(--white);
    position: relative;
    min-height: 100vh;
}

.success-modal-content::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, .7) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 25% 35%, rgba(255, 255, 255, .5) 50%, transparent 50%),
        radial-gradient(1px 1px at 40% 10%, rgba(255, 255, 255, .6) 50%, transparent 50%),
        radial-gradient(1px 1px at 55% 60%, rgba(255, 255, 255, .4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 70% 25%, rgba(255, 255, 255, .5) 50%, transparent 50%),
        radial-gradient(1px 1px at 85% 45%, rgba(255, 255, 255, .6) 50%, transparent 50%),
        radial-gradient(1px 1px at 15% 70%, rgba(255, 255, 255, .4) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, .5) 50%, transparent 50%);
    z-index: 0;
}

.success-modal-close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 5;
    opacity: .85;
}

.success-modal-scroll {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    overflow-y: auto;
    padding: 3.5rem 1.25rem 2.5rem;
}

.success-modal-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.success-emoji {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin: 0 0 .5rem;
    line-height: 1;
}

.success-title {
    font-family: var(--font-script);
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    color: var(--yellow);
    margin-bottom: .75rem;
    line-height: 1.2;
}

.success-welcome {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 600;
    margin-bottom: .35rem;
}

.success-sub {
    font-size: .92rem;
    color: rgba(255, 255, 255, .8);
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.success-hero-row {
    /* margin-bottom: 2.5rem; */
    text-align: left;
}

.success-details-col {
    text-align: center;
}

.success-moon-col {
    display: flex;
    justify-content: center;
}

.smile-squad-block {
    margin-bottom: 2rem;
}

.smile-squad-label {
    font-size: .9rem;
    color: rgba(255, 255, 255, .75);
    margin-bottom: .35rem;
}

.smile-squad-number {
    font-family: var(--font-script);
    font-size: clamp(2.8rem, 8vw, 4rem);
    color: var(--yellow);
    margin: 0;
    line-height: 1.1;
}

.smile-squad-note {
    font-size: .82rem;
    color: rgba(255, 255, 255, .55);
    font-style: italic;
    margin: .35rem 0 1.75rem;
}

/* Moon counter — Group 71 style */
.moon-counter-display {
    display: flex;
    justify-content: center;
}

.moon-circle-success {
    width: clamp(170px, 22vw, 210px);
    height: clamp(170px, 22vw, 210px);
    background: url('../assets/images/XMLID_479_.svg') center/contain no-repeat;
    box-shadow: none;
    animation: moonCountPulse 3s ease-in-out infinite;
}

.moon-circle-success::before,
.moon-circle-success::after {
    display: none;
}

.moon-circle-success .moon-number {
    font-size: clamp(2.8rem, 6vw, 3.5rem);
    /* background: radial-gradient(circle at center, #FFEAB0 50%, #FFD166 68%, transparent 70%); */
    border-radius: 50%;
    padding: 0 .12em;
    min-width: 1.4em;
    text-align: center;
}

.moon-circle-success .moon-label {
    font-size: clamp(.5rem, 1.4vw, .6rem);
    text-align: center;
    line-height: 1.25;
    max-width: 88%;
    white-space: normal;
    margin-top: .1rem;
}

@keyframes moonCountPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

.success-perks {
    margin-bottom: 0;
    margin-top: 40px;
}

.success-perks-title {
    font-weight: 600;
    margin-bottom: .75rem;
}

.success-perks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.success-perk-card {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex: 1 1 0;
    min-width: 9.5rem;
    padding: .7rem .85rem;
    background: var(--yellow);
    border-radius: 14px;
    color: var(--text-dark);
}

.success-perk-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.success-perk-icon img {
    display: block;
    width: 36px;
    height: 36px;
    opacity: 0.7;
}

.success-perk-label {
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
}

/*  */

.success-referral-heading {
    font-family: var(--font-script);
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    color: var(--yellow);
    margin-bottom: .65rem;
}

.success-referral-text {
    font-size: .88rem;
    color: rgba(255, 255, 255, .78);
    max-width: 460px;
    /* margin: 0 auto 1.5rem; */
    line-height: 1.6;
}

.referral-bar-modal {
    /* max-width: 630px; */
    /* margin: 0 auto 1rem; */
}

.referral-link-actions {
    max-width: 630px;
}

.referral-link-bar {
    margin-bottom: .5rem;
}

.referral-link-display {
    color: rgba(255, 255, 255, .92);
    font-size: .82rem;
    cursor: text;
}

.btn-referral-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    margin: 4px;
    flex-shrink: 0;
    transition: transform .2s, background .2s, opacity .2s;
}

.btn-referral-icon svg {
    width: 18px;
    height: 18px;
}

.btn-referral-icon.btn-copy-invite {
    background: var(--yellow);
    color: var(--text-dark);
}

.btn-referral-icon.btn-copy-invite:hover,
.btn-referral-icon.btn-copy-invite.copied {
    background: var(--yellow-btn);
    transform: translateY(-1px);
}

.btn-referral-icon.btn-whatsapp-share {
    background: #25D366;
    color: var(--white);
}

.btn-referral-icon.btn-whatsapp-share:hover {
    background: #1fb855;
    transform: translateY(-1px);
}

.referral-link-actions .copy-success {
    font-size: .82rem;
    color: var(--yellow);
    margin: .35rem 0 0;
    text-align: left;
}

.success-modal-footer {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.success-modal-footer p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .65);
    margin: 0;
    line-height: 1.6;
}

.success-modal-footer strong {
    color: var(--yellow);
}

/* Legacy modal styles (kept for alerts) */
.evoha-modal {
    background: var(--bg-darker);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
}

.evoha-modal .modal-title {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--yellow);
}

.modal-desc {
    font-size: .88rem;
    color: rgba(255, 255, 255, .75);
}

.link-copy-box {
    display: flex;
    gap: .5rem;
}

.link-copy-box .form-control {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white);
    border-radius: 8px;
    font-size: .82rem;
}

.btn-copy {
    background: var(--yellow);
    color: var(--text-dark);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: .5rem 1.2rem;
    white-space: nowrap;
}

.btn-copy:hover {
    background: var(--yellow-btn);
    color: var(--text-dark);
}

.copy-success {
    color: #6fcf97;
    font-size: .85rem;
    margin-top: .75rem;
    margin-bottom: 0;
}

/* Alerts */
.alert-success-evoha {
    background: rgba(111, 207, 151, .15);
    border: 1px solid #6fcf97;
    color: #6fcf97;
}

.alert-error-evoha {
    background: rgba(235, 87, 87, .15);
    border: 1px solid #eb5757;
    color: #eb5757;
}

/* Responsive */
@media (max-width: 1530px) {
    .hero-title-script {
        font-family: var(--font-script);
        font-size: clamp(2rem, 8vw, 5rem);
        color: var(--text-dark);
        margin-bottom: 21px;
        line-height: 1.2;
        margin-top: 25px;
    }

    .hero-title-main {
        font-family: var(--font-script);
        font-size: clamp(2rem, 8vw, 5rem);
        color: var(--yellow);
        line-height: 1;
        margin-top: 5px;
        margin-bottom: 34px;
    }

    .hero-sun {
        position: absolute;
        top: 0%;
        right: 15%;
        width: clamp(50px, 8vw, 120px);
        z-index: 3;
    }

    .sun-img {
        max-width: 214px;
    }

    .hero-moon2 {
        left: 15%;
        rotate: -9deg;
        max-width: 113px;
        width: 100%;
        bottom: 25px;
    }
}

@media (max-width: 1200px) {
    .shooting-star-img {
        max-width: 90px;
    }

    .banner {
        background-image: url(../assets/images/banner.svg);
        background-size: cover;
    }

    .hero-title-script {
        font-family: var(--font-script);
        font-size: clamp(2rem, 6vw, 7rem);
        color: var(--text-dark);
        margin-bottom: 0;
        line-height: 1.2;
        margin-top: 23px;
    }

    .hero-title-main {
        font-family: var(--font-script);
        font-size: clamp(2rem, 6vw, 7rem);
        color: var(--yellow);
        margin: 0;
        line-height: 1;
        /* -webkit-text-stroke: 1px #000; */
        margin-top: 5px;
    }

    .hero-title-sub {
        font-family: var(--font-league-spartan);
        font-size: clamp(1.2rem, 4vw, 2.2rem);
        font-weight: 800;
        color: var(--text-dark);
        margin: .5rem 0 1rem;
    }

    .hero-desc {
        color: var(--text-dark);
        font-size: 1.5rem;
        max-width: 744px;
        margin: 0 auto;
        opacity: .85;
        font-weight: 500;
        font-family: var(--font-league-spartan);
    }
}

@media (max-width: 1024px) {
    .sun-img {
        max-width: 180px;
    }

    .hero-sun {
        position: absolute;
        top: 0%;
        right: 17%;
        width: clamp(50px, 8vw, 120px);
        z-index: 3;
    }
}

@media (max-width: 768px) {
    .banner {
        background-size: cover;
        aspect-ratio: auto;
        min-height: 480px;
        /* background-position: -87px; */
    }


    .hero-desc {
        color: var(--text-dark);
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        max-width: 744px;
        margin: 0 auto;
        opacity: .85;
        font-weight: 500;
        font-family: var(--font-league-spartan);
    }

    .hero-inner {
        min-height: 420px;
        padding: 3rem 1rem;
    }

    .hero-planet-left {
        left: -45px;
        top: 43%;
        transform: translate(-10%, -50%);
    }

    /* .hero-planet-left {
        left: -45px;
        top: 43%;
        transform: translate(-30%, -50%);
    } */

    .hero-planet-right {
        right: -72px;
        transform: translate(30%, -50%);
        bottom: 43px;
        transform: scaleX(-1) !important;
    }

    .sun-img {
        max-width: 150px;
    }

    .hero-sun {
        top: 7%;
        right: 12%;
    }

    .referral-bar-inner {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: .5rem;
    }

    .referral-input {
        flex: 1 1 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .referral-link-bar {
        justify-content: center;
    }

    .referral-link-display {
        flex: 1 1 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .referral-link-bar .referral-divider {
        display: none;
    }

    .referral-divider {
        display: none;
    }

    .btn-share-link {
        flex: 1 1 100%;
        margin: .5rem 0 0;
        border-radius: 50px;
    }

    .success-modal-scroll {
        padding-top: 3rem;
    }

    .success-details-col {
        text-align: center;
    }

    .success-hero-row {
        text-align: center;
    }

    .success-perks-list {
        justify-content: center;
    }

    .success-perk-card {
        flex: 1 1 calc(50% - .35rem);
        max-width: 100%;
    }

    .hero-moon2 {
        left: 18%;
        rotate: 10deg;
        max-width: 65px;
        width: 100%;
        bottom: 22px;
    }

    .section-title {
        font-family: var(--font-script);
        font-size: clamp(1.4rem, 4vw, 2.8rem);
        color: var(--yellow);
        text-align: center;
        margin-bottom: 2rem;
    }

    .why-text {
        font-size: 1.15rem;
        /* line-height: 1.8; */
        color: rgba(255, 255, 255, .9);
        margin: 0;
        text-align: center;
        font-family: var(--font-league-spartan);
        margin-bottom: 2rem;
    }

    .custom_ {
        max-width: 62px !important;
        width: 100%;
    }


    .benefit-label {
        font-weight: 600;
        font-size: 0.85rem;
        margin: 0;
    }

    .benefit-icon {
        width: 111px;
        height: 111px;
        border-radius: 50%;
        background: var(--yellow);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        margin: 0 auto 1rem;
        box-shadow: 0 4px 15px rgba(255, 209, 102, .3);
    }

    .invitation-sub {
        font-size: 1.15rem;
        color: rgba(255, 255, 255, .8);
        margin: 18px auto;
    }

    .evoha-input {
        background: var(--cream);
        border: none;
        border-radius: 50px;
        padding: 0.85rem 1.7rem;
        font-size: 1rem;
        color: var(--text-dark);
    }

    .section-invitation {
        position: relative;
        z-index: 1;
        padding: 1.3rem 0 1.2rem;
    }
}

@media (min-width: 992px) {
    .success-details-col {
        text-align: left;
    }

    .success-perks-list {
        flex-wrap: nowrap;
    }




}

@media (max-width: 480px) {
    .success-perk-card {
        flex: 1 1 100%;
    }

    .shooting-star {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-sun {
        width: 77px;
        top: 14%;
        right: -2% !important;
    }


    .hero-moon {
        display: none;
    }

    .dashed-box,
    .referral-box {
        padding: 1.5rem 1rem;
    }

    .hero-section {
        position: relative;
        z-index: 1;
        padding: 0;
        margin-top: -7px;
        overflow: hidden;
    }

    .hero-title-script {
        font-family: var(--font-script);
        font-size: clamp(1.8rem, 6vw, 7rem);
        color: var(--text-dark);
        margin-bottom: 0;
        line-height: 1.2;
        /* margin-top: 23px; */
    }

    .hero-title-main {
        font-family: var(--font-script);
        font-size: clamp(1.8rem, 6vw, 7rem);
        color: var(--yellow);
        margin: 0;
        line-height: 1;
        /* -webkit-text-stroke: 1px #000; */
        margin-top: 11px;
    }

    .hero-title-sub {
        font-family: var(--font-league-spartan);
        font-size: clamp(1.3rem, 4vw, 2.2rem);
        font-weight: 800;
        color: var(--text-dark);
        margin: 1.3rem 0 1rem;
    }

    .logo-img {
        width: 60%;
        height: auto;
    }

    .section-title {
        font-family: var(--font-script);
        font-size: clamp(1.4rem, 4vw, 2.8rem);
        color: var(--yellow);
        text-align: center;
        margin-bottom: 25px;
        line-height: normal;
    }

    .invitation-sub {
        font-size: 1.15rem;
        color: rgba(255, 255, 255, .8);
        /* max-width: 500px; */
        margin: 18px auto;
        font-family: var(--font-league-spartan);
    }

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 27px;
        height: 27px;
        border-radius: 19%;
        border: 1.5px solid rgba(255, 255, 255, .6);
        color: var(--text-dark);
        transition: background .2s;
        background: var(--white);
    }

    .hero-desc {
        color: var(--text-dark);
        font-size: 1.15rem;
        max-width: 744px;
        margin: 0 auto;
        opacity: .85;
        font-weight: 500;
        font-family: var(--font-league-spartan);
    }

    .hero-planet-right {
        right: -31px;
        transform: translate(30%, -50%);
        bottom: 47px;
        transform: scaleX(-1) !important;
    }


    .hero-planet-left {
        left: 0px;
        top: 43%;
        transform: translate(-30%, -50%);
    }

    .hero-planet {
        position: absolute;
        width: clamp(70px, 34vw, 306px) !important;
        z-index: 3;
    }

    .hero-planet1 {
        position: absolute;
        /* width: clamp(70px, 23vw, 306px); */
        width: clamp(70px, 26vw, 217px) !important;
        z-index: 3;
    }

    .custom_ {
        max-width: 56px !important;
        width: 100%;
    }

    .section-title-white {
        font-family: var(--font-script);
        font-size: clamp(1.4rem, 4vw, 2.8rem);
        color: var(--white);
        margin-bottom: .5rem;
    }

    .referral-title {
        font-family: var(--font-script);
        font-size: clamp(1.15rem, 3.5vw, 2.2rem);
        color: var(--yellow);
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }

    .skater-img {
        max-width: 150px;
    }

    .evoha-input {
        background: var(--cream);
        border: none;
        border-radius: 50px;
        padding: 0.65rem 1.7rem;
        font-size: 1rem;
        color: var(--text-dark);
    }

    .sun-img {
        max-width: 255px;
        width: 100%;
    }

    .hero-moon2 {
        left: 20%;
        rotate: 9deg;
        max-width: 65px;
        width: 100%;
        bottom: 22px;
    }

    .banner {
        background-size: cover;
        aspect-ratio: auto;
        min-height: 480px;
        background-position: -87px;
    }

}

@media (max-width: 430px) {
    .hero-sun {
        width: 98px;
        top: 6%;
        right: 13% !important;
    }

}

@media (max-width: 414px) {
    .hero-sun {
        width: 98px;
        top: 6%;
        right: 10% !important;
    }

}

@media (max-width: 412px) {
    .hero-sun {
        width: 98px;
        top: 6%;
        right: 10% !important;
    }

}

@media (max-width: 390px) {
    .hero-sun {
        width: 98px;
        top: 6%;
        right: 3% !important;
    }

}

@media (max-width: 375px) {
    .hero-sun {
        width: 98px;
        top: 5%;
        right: 1% !important;
    }

}

@media (max-width: 360px) {
    .hero-sun {
        width: 98px;
        top: 6%;
        right: -3% !important;
    }

}