/* Interactive hero — welcome, logo spin, reveal cards */

.way-public-nav .way-logo--nav svg {
    width: 80px;
    height: 80px;
}

.way-public-nav:has(.way-logo--nav) {
    min-height: 96px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.way-hero--interactive {
    min-height: auto;
    padding: 24px 20px 56px;
    gap: 0;
    justify-content: flex-start;
}

/* Welcome headline — first thing visitors see */
.way-hero__welcome {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(20px, 4vw, 36px);
    width: 100%;
}

.way-hero__welcome-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--way-white);
    margin: 0 0 10px;
}

.way-hero__welcome-accent {
    color: var(--way-gold);
}

.way-hero__welcome-lead {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--way-text-muted-dark);
    margin: 0;
    line-height: 1.5;
}

/* Logo + cards */
.way-hero-wheel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto clamp(28px, 4vw, 40px);
    width: 100%;
}

.way-wheel-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

.way-wheel {
    position: relative;
    width: min(320px, 88vw);
    max-width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 8px;
}

.way-wheel__glow {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 95%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.3) 0%, transparent 68%);
    animation: wayWheelPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes wayWheelPulse {
    0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.92); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

.way-wheel__logo-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.9s cubic-bezier(0.34, 1.2, 0.64, 1);
    will-change: transform;
    transform-origin: center center;
}

.way-wheel.is-spinning .way-wheel__logo-wrap {
    transition-duration: 1.1s;
}

.way-logo--hero {
    display: block;
    line-height: 0;
}

.way-logo--hero svg {
    width: min(280px, 78vw);
    height: auto;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.35));
}

/* Bright spin control */
.way-wheel__spin-btn {
    position: absolute;
    right: 2%;
    bottom: 22%;
    z-index: 10;
    width: clamp(52px, 14vw, 64px);
    height: clamp(52px, 14vw, 64px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(145deg, #F0E4A8 0%, #C9A227 45%, #9A7B1A 100%);
    color: var(--way-blue-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 0 0 0 rgba(201, 162, 39, 0.55),
        0 6px 24px rgba(201, 162, 39, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: waySpinPulse 2.2s ease-in-out infinite;
}

@keyframes waySpinPulse {
    0%, 100% {
        box-shadow:
            0 0 0 0 rgba(201, 162, 39, 0.45),
            0 6px 24px rgba(201, 162, 39, 0.5),
            0 2px 8px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow:
            0 0 0 10px rgba(201, 162, 39, 0),
            0 8px 32px rgba(232, 212, 138, 0.75),
            0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

.way-wheel__spin-btn:hover,
.way-wheel__spin-btn:focus-visible {
    transform: scale(1.08);
    outline: none;
    box-shadow:
        0 0 0 4px rgba(201, 162, 39, 0.35),
        0 10px 36px rgba(232, 212, 138, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.35);
}

.way-wheel__spin-btn.is-pressed,
.way-wheel.is-spinning .way-wheel__spin-btn {
    transform: scale(0.94) rotate(180deg);
    animation: none;
}

.way-wheel__spin-icon {
    display: block;
}

.way-wheel.is-spinning .way-wheel__spin-icon {
    animation: waySpinIconRotate 1.1s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes waySpinIconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.way-wheel__segment {
    position: relative;
    z-index: 2;
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--way-gold);
}

.way-wheel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.way-wheel__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.35);
    transition: transform 0.3s, background 0.3s;
}

.way-wheel__dot.is-active {
    background: var(--way-gold);
    transform: scale(1.25);
}

.way-wheel__hint {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: var(--way-text-muted-dark);
    animation: wayHintFade 2.5s ease-in-out infinite;
}

@keyframes wayHintFade {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

.way-wheel--ready .way-wheel__spin-btn {
    animation: waySpinPulse 2.2s ease-in-out infinite, waySpinNudge 0.6s ease 0.2s 2;
}

@keyframes waySpinNudge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* Reveal panel */
.way-wheel-reveal {
    position: relative;
    min-height: 280px;
}

.way-wheel-reveal__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--way-border);
    border-radius: var(--way-radius-lg);
    padding: clamp(20px, 3vw, 36px);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    position: absolute;
    inset: 0;
    visibility: hidden;
}

.way-wheel-reveal__card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    position: relative;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.way-wheel-reveal__icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.way-wheel-reveal__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    color: var(--way-white);
    margin: 0 0 14px;
    line-height: 1.2;
}

.way-wheel-reveal__title span {
    color: var(--way-gold);
}

.way-wheel-reveal__body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--way-text-muted-dark);
    margin: 0 0 16px;
}

.way-wheel-reveal__card .way-wheel-reveal__body {
    flex: 1;
}

.way-wheel-reveal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.way-wheel-reveal__tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid var(--way-border);
    color: var(--way-gold);
}

.way-hero__intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.way-hero__intro .way-hero__headline {
    margin-bottom: 12px;
}

.way-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

/* Tablet: stack logo above card */
@media (max-width: 900px) {
    .way-hero-wheel-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .way-wheel-stage {
        order: 1;
    }

    .way-wheel-reveal {
        order: 2;
        min-height: 260px;
    }

    .way-wheel {
        width: min(300px, 92vw);
        margin: 0 auto;
    }

    .way-logo--hero svg {
        width: min(260px, 85vw);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .way-hero--interactive {
        padding: 16px 16px 48px;
    }

    .way-hero__welcome {
        margin-bottom: 16px;
    }

    .way-hero__welcome-title {
        font-size: 1.55rem;
    }

    .way-hero__welcome-lead {
        font-size: 0.88rem;
        padding: 0 4px;
    }

    .way-wheel {
        width: min(280px, 94vw);
    }

    .way-logo--hero svg {
        width: min(240px, 88vw);
    }

    .way-wheel__spin-btn {
        right: 0;
        bottom: 20%;
        width: 48px;
        height: 48px;
    }

    .way-wheel__spin-icon {
        width: 24px;
        height: 24px;
    }

    .way-wheel-reveal__card {
        padding: 20px;
    }

    .way-wheel-reveal__card.is-visible {
        min-height: 240px;
    }

    .way-wheel-reveal {
        min-height: 240px;
    }

    .way-hero__cta-row .way-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .way-public-nav .way-logo--nav svg {
        width: 56px;
        height: 56px;
    }

    .way-public-nav:has(.way-logo--nav) {
        min-height: 72px;
    }
}
