/* ==========================================================================
   FRIEREN BOT — MODERN LUXURY HOME THEME
   - Enlarged Header Buttons with 3D Tactile Press Animations
   - Communities Cards styled exactly as Discord-themed cards with blurred banner bg
   - Anti-Text-Selection Protected
   ========================================================================== */

:root {
    color-scheme: dark;
    --home-gold: #e8b913;
    --home-gold-light: #ffe467;
    --home-gold-dark: #edb100;
    --home-ink: #0d0d0f;
    --home-muted: #8a8571;
}

/* --------------------------------------------------------------------------
   GLOBAL & ANTI-SELECTION PROTECTION
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

img, svg, a, button {
    -webkit-user-drag: none !important;
    user-drag: none !important;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background: var(--home-ink);
    scroll-padding-top: 80px;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
}

body.frieren-home-page-body {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--home-ink);
    overflow: visible;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
button, summary { touch-action: manipulation; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #eac452; outline-offset: 5px; }
[hidden] { display: none !important; }

/* Skip Link */
.home-skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 1100;
    padding: 12px 18px;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transition: top .25s ease;
}
.home-skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   HEADER — ENLARGED BUTTONS WITH TACTILE PRESS ANIMATIONS
   -------------------------------------------------------------------------- */
.home-header {
    position: fixed;
    z-index: 1000;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - clamp(32px, 5.2vw, 80px));
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 54px;
    padding: 4px 0;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: transparent;
    box-shadow: none;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                gap 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, top, box-shadow, width;
}

/* Scrolled: Centered Floating Golden Pill with Smooth Elastic Docking Animation */
@keyframes headerStickyDock {
    0% {
        transform: translate(-50%, -26px) scale(0.94);
        opacity: 0.8;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    }
    65% {
        transform: translate(-50%, 3px) scale(1.015);
        box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
    }
    100% {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38), 0 2px 8px rgba(0, 0, 0, 0.18);
    }
}

.home-header.is-scrolled {
    top: 14px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 6px 18px 6px 6px;
    border-radius: 9999px;
    gap: clamp(10px, 1.4vw, 18px);
    justify-content: center;

    /* Solid golden capsule matching Figma design */
    background: #cca028;
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38), 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.22);
    animation: headerStickyDock 0.42s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.home-nav, .home-header-controls, .home-account-pill {
    display: flex;
    align-items: center;
}

.home-nav {
    gap: clamp(14px, 2.2vw, 32px);
    transition: gap 0.35s ease;
}

.home-header.is-scrolled .home-nav {
    gap: clamp(8px, 1.2vw, 16px);
}

/* Nav links — Tactile interactive buttons */
.home-nav-link {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: clamp(14px, 1.3vw, 16.5px);
    font-weight: 750;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px;
    cursor: pointer;
    user-select: none;
    transition: color .2s ease, transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), background .2s ease, box-shadow .2s ease;
}

.home-nav-link:hover {
    color: #ffe467;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px) scale(1.03);
}

.home-nav-link:active {
    transform: scale(0.92) translateY(1px) !important;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.08s ease;
}

/* Home Button — Clean golden pill in unscrolled state */
.home-nav-active {
    position: relative;
    overflow: hidden;
    padding: 10px 28px;
    border-radius: 9999px;
    background: #cca028;
    font-size: clamp(14.5px, 1.35vw, 17px);
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 14px rgba(204, 160, 40, 0.45);
    cursor: pointer;
    user-select: none;
    transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .22s ease, background .2s ease;
}

.home-nav-active:hover {
    background: #d8aa2e;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 7px 20px rgba(204, 160, 40, 0.6);
}

.home-nav-active:active {
    transform: scale(0.92) translateY(1px) !important;
    box-shadow: 0 2px 6px rgba(204, 160, 40, 0.3);
    transition: transform 0.08s ease;
}

/* Home Button in scrolled state: White Pill Capsule */
.home-header.is-scrolled .home-nav-active {
    background: #ffffff !important;
    color: #1a1a1a !important;
    padding: 8px 24px;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    font-size: 15px;
    font-weight: 800;
    transform: none;
    transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .22s ease, background .2s ease;
}

.home-header.is-scrolled .home-nav-active:hover {
    background: #ffffff !important;
    transform: translateY(-1.5px) scale(1.04);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}

.home-header.is-scrolled .home-nav-active:active {
    transform: scale(0.92) translateY(1px) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.08s ease;
}

.home-header.is-scrolled .home-nav-link {
    font-size: 15px;
    font-weight: 750;
    padding: 7px 14px;
    color: #1a1a1a;
    transition: color .2s ease, transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), background .2s ease;
}

.home-header.is-scrolled .home-nav-link:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.09);
    transform: translateY(-1.5px) scale(1.03);
}

.home-header.is-scrolled .home-nav-link:active {
    transform: scale(0.92) translateY(1px) !important;
    background: rgba(0, 0, 0, 0.16);
    transition: transform 0.08s ease;
}

.home-header:not(.is-scrolled) .home-header-divider {
    display: none;
}

.home-header.is-scrolled .home-header-divider {
    width: 1px;
    height: 22px;
    background: rgba(0, 0, 0, 0.25);
    margin: 0 4px;
    display: inline-block;
    flex-shrink: 0;
}

.home-header-controls {
    gap: 16px;
    transition: gap 0.35s ease;
}

/* Account Pill — Outlined capsule with white border and white text */
.home-account-pill {
    gap: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    padding: 4px 16px 4px 5px;
    box-shadow: none;
    cursor: pointer;
    user-select: none;
    transition: background .2s ease, border-color .2s ease, transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .2s ease;
}

.home-account-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.home-account-pill:active {
    transform: scale(0.93) translateY(1px) !important;
    transition: transform 0.08s ease;
}

.home-header.is-scrolled .home-account-pill {
    background: rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(0, 0, 0, 0.22);
    border-radius: 9999px;
    padding: 4px 14px 4px 5px;
    box-shadow: none;
    color: #1a1a1a;
    transition: background .2s ease, border-color .2s ease, transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .2s ease;
}

.home-header.is-scrolled .home-account-pill:hover {
    background: rgba(0, 0, 0, 0.14);
    border-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-1.5px) scale(1.02);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.home-header.is-scrolled .home-account-pill:active {
    transform: scale(0.93) translateY(1px) !important;
    transition: transform 0.08s ease;
}

.home-account summary {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 750;
    white-space: nowrap;
    color: inherit;
    padding: 2px 4px;
    border-radius: 20px;
    cursor: pointer;
    transition: background .15s ease;
}

.home-header.is-scrolled .home-account summary {
    color: #1a1a1a;
    font-size: 14.5px;
    font-weight: 750;
}

.home-account-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.home-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #ffffff;
    transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color .2s ease;
}

.home-account-pill:hover .home-avatar {
    transform: scale(1.08);
}

.home-header.is-scrolled .home-avatar {
    border-color: #1a1a1a;
}

.home-caret {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

details[open] > summary .home-caret {
    transform: rotate(225deg) translateY(-1px);
}

.home-header.is-scrolled .home-caret {
    border-color: #1a1a1a;
}

.home-pill-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
}

.home-flag {
    width: 24px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 3px;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-language summary:hover .home-flag {
    transform: scale(1.1);
}

.home-dropdown {
    position: relative;
}

/* Dropdown Panel with Pop-in Physics & Text Fade-in */
@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes menuItemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 220px;
    padding: 10px;
    border-radius: 26px;
    background: rgba(13, 13, 16, 0.96);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75),
                0 8px 24px rgba(0, 0, 0, 0.45),
                inset 0 1.5px 1.5px rgba(255, 255, 255, 0.25),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 1010;
    transform-origin: top center;
}

.home-help .home-dropdown-panel {
    right: auto;
    left: 0;
    min-width: 245px;
}

.home-dropdown-panel > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 18px;
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 650;
    color: #e2e2e8;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    animation: menuItemFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-dropdown-panel > a:nth-child(1) { animation-delay: 0.06s; }
.home-dropdown-panel > a:nth-child(2) { animation-delay: 0.12s; }
.home-dropdown-panel > a:nth-child(3) { animation-delay: 0.18s; }
.home-dropdown-panel > a:nth-child(4) { animation-delay: 0.24s; }
.home-dropdown-panel > a:nth-child(5) { animation-delay: 0.30s; }

.home-dropdown-panel > a:hover,
.home-dropdown-panel > a[aria-current] {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(4px);
}

.home-dropdown-panel > a:active {
    transform: scale(0.96) !important;
    transition: transform 0.08s ease;
}

.home-dropdown-panel > a img:not(.home-flag) {
    filter: invert(1);
}

/* Bell Button — Transparent icon button, interactive tactile spring */
.home-bell {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), background .2s ease, color .2s ease;
}

.home-bell:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px) scale(1.1);
}

.home-bell:active {
    transform: scale(0.88) translateY(1px) !important;
    background: rgba(255, 255, 255, 0.25);
    transition: transform 0.08s ease;
}

.home-header.is-scrolled .home-bell {
    color: #1a1a1a;
    width: 36px;
    height: 36px;
    transition: transform .22s cubic-bezier(0.34, 1.56, 0.64, 1), background .2s ease, color .2s ease;
}

.home-header.is-scrolled .home-bell:hover {
    background: rgba(0, 0, 0, 0.09);
    transform: translateY(-1.5px) scale(1.1);
}

.home-header.is-scrolled .home-bell:active {
    transform: scale(0.88) translateY(1px) !important;
    background: rgba(0, 0, 0, 0.16);
    transition: transform 0.08s ease;
}

.home-header.is-scrolled .home-bell-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Language selector */
.home-language {
    background: transparent;
    border: none;
    box-shadow: none;
}

.home-language summary {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 750;
    white-space: nowrap;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 9999px;
    cursor: pointer;
    user-select: none;
    transition: background .2s ease, transform .22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-language summary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px) scale(1.02);
}

.home-language summary:active {
    transform: scale(0.92) translateY(1px) !important;
    transition: transform 0.08s ease;
}

.home-header.is-scrolled .home-language summary {
    color: #1a1a1a;
    background: transparent;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 14.5px;
    font-weight: 750;
    transition: background .2s ease, transform .22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-header.is-scrolled .home-language summary:hover {
    background: rgba(0, 0, 0, 0.09);
    transform: translateY(-1.5px) scale(1.02);
}

.home-header.is-scrolled .home-language summary:active {
    transform: scale(0.92) translateY(1px) !important;
    transition: transform 0.08s ease;
}

/* Tactile click ripple for header elements */
.home-click-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
    transform: scale(0);
    animation: rippleWave 0.5s ease-out forwards;
    z-index: 5;
}

.home-header.is-scrolled .home-click-ripple {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
}

.home-header.is-scrolled .home-nav-active .home-click-ripple {
    background: radial-gradient(circle, rgba(204, 160, 40, 0.35) 0%, rgba(204, 160, 40, 0) 70%);
}

@keyframes rippleWave {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2.6); opacity: 0; }
}

.home-bell-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform .2s ease;
}

.home-bell:hover .home-bell-icon {
    animation: bellWiggle 0.45s ease-in-out;
}

@keyframes bellWiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(14deg); }
    50% { transform: rotate(-14deg); }
    75% { transform: rotate(8deg); }
}

.home-notification-count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    background: #d7a614;
    color: #111;
    font-size: 10px;
    font-weight: 850;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: badgePulse 2s infinite ease-in-out;
}

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

.home-notification-panel {
    width: min(360px, calc(100vw - 32px));
    padding: 20px;
    border-radius: 26px;
}

.home-notification-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    animation: menuItemFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.home-notification-heading button, .home-notification-retry {
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffd86b;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    transition: all .2s;
    cursor: pointer;
}

.home-notification-heading button:hover, .home-notification-retry:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.home-notification-heading button:active, .home-notification-retry:active {
    transform: scale(0.95);
}

#homeNotificationList {
    max-height: min(380px, 65svh);
    overflow-y: auto;
}

.home-notification-empty {
    padding: 24px 0 10px;
    color: #a1a1aa;
    font-size: 12.5px;
    line-height: 1.6;
    animation: menuItemFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.home-notification-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    animation: menuItemFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-notification-item h3 {
    font-size: 13px;
    font-weight: 750;
    color: #ffd700;
}

.home-notification-item p {
    margin-top: 7px;
    font-size: 12px;
    color: #ccc7ba;
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.home-notification-item time {
    display: block;
    margin-top: 8px;
    color: #bda86a;
    font-size: 10px;
}

.home-notification-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   HERO SECTION & GOLD STAGE
   -------------------------------------------------------------------------- */
.home-gold-stage {
    position: relative;
    isolation: isolate;
    padding-bottom: 4vw;
    background: #a27d00 url('/static/new%20website/bggg.png') center / 100% 100% no-repeat;
    overflow: hidden;
}

.home-gold-stage::after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    right: 0;
    height: 11vw;
    background: linear-gradient(transparent, #070600b3);
    pointer-events: none;
}

.golden-hero {
    position: relative;
    height: 61.5vw;
    isolation: isolate;
}

.golden-title-main {
    position: absolute;
    z-index: 0;
    top: 15.5vw;
    left: 50%;
    width: max-content;
    font-size: 25.2vw;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.045em;
    text-align: center;
    color: #ffffff;
    transform: translateX(-50%) scaleX(.69);
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: titleClarify 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
    will-change: filter, opacity, letter-spacing;
}

@keyframes titleClarify {
    0% {
        opacity: 0;
        filter: blur(28px) brightness(1.6);
        letter-spacing: 0.05em;
        text-shadow: 0 0 60px rgba(255, 255, 255, 0.9);
    }
    45% {
        opacity: 0.8;
        filter: blur(8px) brightness(1.2);
    }
    100% {
        opacity: 1;
        filter: blur(0px) brightness(1);
        letter-spacing: -.045em;
        text-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }
}

.golden-title-sub {
    position: absolute;
    top: 38.4vw;
    left: 60.4%;
    color: #0b0900;
    font-size: 3.6vw;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.06em;
    transform: scaleX(.85);
    animation: subTitleClarify 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

@keyframes subTitleClarify {
    0% {
        opacity: 0;
        filter: blur(14px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

.golden-hero-character {
    position: absolute;
    z-index: 2;
    height: 56.5vw;
    width: auto;
    top: 1vw;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
    animation: frierenFloat 5s ease-in-out infinite;
}

@keyframes frierenFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

.home-arrow {
    position: absolute;
    width: 12vw;
    height: 12vw;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}

.home-arrow-left {
    top: 40vw;
    left: -2.6vw;
    transform: rotate(20deg);
    animation: arrowBobLeft 4.5s ease-in-out infinite;
}

@keyframes arrowBobLeft {
    0%, 100% { transform: rotate(20deg) translateY(0); }
    50% { transform: rotate(23deg) translateY(-14px); }
}

.home-arrow-right {
    top: 7vw;
    right: -3.4vw;
    transform: rotate(166deg);
    animation: arrowBobRight 5s ease-in-out infinite;
}

@keyframes arrowBobRight {
    0%, 100% { transform: rotate(166deg) translateY(0); }
    50% { transform: rotate(163deg) translateY(14px); }
}

/* --------------------------------------------------------------------------
   LOVED BY COMMUNITIES — DISCORD-THEMED CARDS WITH BLURRED BANNER BG
   -------------------------------------------------------------------------- */
.home-section-heading {
    text-align: center;
    padding-inline: 20px;
}

.home-section-heading h2 {
    font-size: clamp(34px, 5.6vw, 76px);
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -.035em;
    color: #fff;
}

.home-section-heading p {
    margin-top: 9px;
    color: var(--home-muted);
    font-size: clamp(10px, 1.4vw, 16px);
    font-weight: 700;
    line-height: 1.3;
}

.community-trending-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 750;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.community-trending-stat svg {
    stroke: #23a55a;
    flex-shrink: 0;
}

.home-communities {
    position: relative;
    z-index: 1;
    padding: clamp(32px, 4vw, 56px) 0 clamp(85px, 11vw, 150px);
}

.home-communities h2 {
    font-size: clamp(24px, 3.2vw, 46px);
    letter-spacing: -.025em;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.25);
    font-weight: 800;
}

.home-communities .home-section-heading p {
    margin-top: 6px;
    color: #121000;
    font-size: clamp(10px, 1.45vw, 18px);
    font-weight: 800;
    letter-spacing: .02em;
}

.community-rows {
    margin-top: 14px;
    display: grid;
    gap: 4px;
}

.community-marquee {
    overflow: hidden;
    padding: 3px 0;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, transparent 100%);
}

.community-track {
    display: flex;
    width: max-content;
    padding: 0;
    animation: communities-drift 45s linear infinite;
}

.community-group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 8px;
}

/* Card: Bigger size (310x90px) with minimal vertical gap */
.community-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 310px;
    width: 310px;
    height: 90px;
    padding: 12px 18px;
    border-radius: 18px;
    background: #14151b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    transition: all .24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.community-card-bg {
    position: absolute;
    inset: -15px;
    background-size: cover;
    background-position: center;
    filter: blur(14px) brightness(0.42) saturate(1.4);
    transform: scale(1.15);
    pointer-events: none;
    z-index: 0;
    transition: transform .35s ease, filter .35s ease;
}

.community-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 17, 23, 0.84) 0%, rgba(16, 17, 23, 0.7) 100%);
    pointer-events: none;
    z-index: 1;
}

.community-card:hover {
    background: #191b22;
    border-color: #ffd700;
    box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.community-card:active {
    border-color: #ffd700;
    box-shadow: 0 0 0 1.5px #ffd700, 0 6px 20px rgba(255, 215, 0, 0.35);
}

.community-avatar, .community-initial {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.community-initial {
    display: grid;
    place-items: center;
    background: #232530;
    color: #ffd700;
    font-size: 24px;
    font-weight: 800;
}

.community-info {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
    overflow: hidden;
}

.community-name-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
}

.community-name-row strong {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.community-badge {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.community-members {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #a4a9b8;
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.community-dot {
    font-size: 14px;
    color: #656976;
}

.community-marquee:hover .community-track,
.community-marquee:focus-within .community-track {
    animation-play-state: paused;
}

.community-marquee-reverse .community-track {
    animation-direction: reverse;
    animation-delay: -8s;
}

@keyframes communities-drift {
    from { transform: translateX(-6vw); }
    to { transform: translateX(calc(-50% - 6vw)); }
}

/* --------------------------------------------------------------------------
   DARK STAGE & PREMIUM
   -------------------------------------------------------------------------- */
.home-dark-stage {
    position: relative;
    z-index: 1;
    margin-top: -4vw;
    border-radius: 4vw 4vw 0 0;
    background: var(--home-ink);
    box-shadow: 0 -10px 35px #0002;
}

.home-premium {
    padding: 4.5vw 24px 0;
}

.home-billing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 18px auto 26px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

.home-billing-wrapper {
    display: flex;
    justify-content: center;
}

.home-billing button {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 22px;
    background: transparent;
    color: #a8a090;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .03em;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, transform .15s ease, box-shadow .25s ease, border-color .25s ease;
}

.home-billing button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.home-billing button:active {
    transform: scale(0.95);
}

.home-billing button[aria-pressed="true"] {
    border-color: rgba(212, 175, 55, 0.4);
    color: #ffd86b;
    background: linear-gradient(180deg, #2b2310 0%, #191408 100%);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

/* Scroll reveal animations — Silky smooth fade in */
.reveal-element {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-element.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.home-premium .home-section-heading.reveal-element { transition-delay: 0.04s; }
.home-billing-wrapper.reveal-element { transition-delay: 0.12s; }
.home-plan:nth-child(1).reveal-element { transition-delay: 0.18s; }
.home-plan:nth-child(2).reveal-element { transition-delay: 0.30s; }

.home-faq .home-section-heading.reveal-element { transition-delay: 0.05s; }
.home-faq-item.reveal-element { transition-delay: var(--faq-delay, 0.08s); }

.home-footer.reveal-element { transition-delay: 0.08s; }
.home-footer-bottom.reveal-element { transition-delay: 0.16s; }

/* Price punch & glow animation */
@keyframes priceGlow {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.08); color: #ffd86b; text-shadow: 0 0 16px rgba(255, 216, 107, 0.55); }
    100% { transform: scale(1); opacity: 1; text-shadow: none; }
}

.price-punch {
    display: inline-block;
    animation: priceGlow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2vw;
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
}

.home-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 52.8vw;
    padding: clamp(24px, 3vw, 42px);
    border-radius: 4.5vw;
    background: #fff;
    color: #171717;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(245, 197, 24, 0.18);
    transition: transform .32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .32s ease, border-color .32s ease;
}

.home-plan:hover {
    transform: translateY(-8px) scale(1.012);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38), 0 0 25px rgba(232, 185, 19, 0.18);
    border-color: rgba(245, 197, 24, 0.6);
}

.home-plan-featured {
    border: 2px solid var(--home-gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(232, 185, 19, 0.22);
    animation: featuredCardPulse 4s ease-in-out infinite;
}

@keyframes featuredCardPulse {
    0%, 100% {
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(232, 185, 19, 0.2);
        border-color: #e8b913;
    }
    50% {
        box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42), 0 0 36px rgba(232, 185, 19, 0.42);
        border-color: #ffd700;
    }
}

.home-plan-heading {
    min-height: 66px;
}

.home-plan h3 {
    font-size: clamp(19px, 2.5vw, 32px);
    font-weight: 800;
    letter-spacing: -.035em;
    color: #161511;
}

.home-plan-description {
    margin-top: 8px;
    color: #69675e;
    font-size: clamp(11px, 1.25vw, 16px);
    line-height: 1.5;
}

.home-plan-badge {
    position: absolute;
    top: 14px;
    right: 20px;
    padding: 5px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff3c4, #fce085);
    color: #7e5b00;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .05em;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
    overflow: hidden;
}

.home-plan-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
    animation: badgeShine 3.5s infinite linear;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%); }
    28%, 100% { transform: translateX(100%); }
}

.home-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin: 14px 0 4px;
    white-space: nowrap;
}

.home-plan-price > span, .home-plan-price strong {
    font-size: clamp(34px, 4.7vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.055em;
    color: #14130f;
}

.home-plan-price small {
    margin-left: 8px;
    color: #7c7562;
    font-size: clamp(10px, 1.3vw, 15px);
    font-weight: 700;
}

.home-plan-billing-note {
    min-height: 10px;
    color: #8c6811;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .05em;
}

.home-plan-subscribe {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    margin-top: 18px;
    border-radius: 999px;
    background: #171612;
    color: #fff;
    font-size: clamp(12px, 1.3vw, 16px);
    font-weight: 750;
    transition: background .2s, transform .2s, box-shadow .2s;
}

.home-plan-subscribe::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.home-plan-subscribe:hover::after {
    left: 140%;
}

.home-plan-subscribe span {
    font-size: 22px;
    font-weight: 400;
    transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-plan-featured .home-plan-subscribe {
    background: linear-gradient(110deg, #f0d36e, #d9a715);
    color: #171407;
    box-shadow: 0 4px 16px rgba(217, 167, 21, 0.4);
}

.home-plan-subscribe:hover {
    background: #876510;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.home-plan-subscribe:active {
    transform: translateY(1px) scale(0.97);
}

.home-plan-subscribe:hover span {
    transform: translateX(5px);
}

.home-plan-featured .home-plan-subscribe:hover {
    background: linear-gradient(110deg, #f7dda0, #e8b913);
    color: #171407;
    box-shadow: 0 8px 24px rgba(217, 167, 21, 0.55);
}

.home-plan-label {
    margin: 20px 0 14px;
    padding-top: 16px;
    border-top: 1px solid #e9e5d8;
    color: #866d2a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

.home-plan ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-plan li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 11px;
    font-size: clamp(10px, 1.2vw, 15px);
    line-height: 1.45;
    color: #575449;
    font-weight: 600;
}

.home-plan li:last-child {
    margin-bottom: 0;
}

.home-plan li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #a47b0b;
    font-weight: 900;
    font-size: 13px;
    transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1), color .2s ease;
}

.home-plan:hover li::before {
    transform: scale(1.18);
    color: #d49f05;
}

/* --------------------------------------------------------------------------
   FAQ SECTION — ANIMATED ACCORDION
   -------------------------------------------------------------------------- */
.home-faq {
    padding: 5.5vw 24px 0;
}

.home-faq-list {
    width: 70%;
    max-width: 960px;
    margin: 2.3vw auto 0;
    display: grid;
    gap: 1.5vw;
}

.home-faq-item {
    border-radius: 32px;
    background: #fff;
    color: #20201b;
    border: 1px solid rgba(245, 197, 24, 0.2);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform .28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow .28s ease, border-color .28s ease, background .28s ease;
    overflow: hidden;
}

.home-faq-item:hover {
    border-color: rgba(245, 197, 24, 0.6);
    transform: translateY(-3px) scale(1.008);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), 0 0 15px rgba(245, 197, 24, 0.12);
}

.home-faq-item[open] {
    background: #fffbed;
    border-color: var(--home-gold);
    box-shadow: 0 14px 34px rgba(232, 185, 19, 0.18);
}

.home-faq-item summary {
    min-height: 5.8vw;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(11px, 1.4vw, 17px);
    font-weight: 750;
    color: #171612;
    transition: color .2s ease;
}

.home-faq-item summary:active {
    transform: scale(0.99);
}

.home-faq-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1.5px solid #ad871a;
    border-radius: 50%;
    color: #97731a;
    font-size: 11px;
    font-weight: 750;
    background: #fff8df;
    transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1), background .25s ease, border-color .25s ease, color .25s ease;
}

.home-faq-item:hover .home-faq-icon {
    transform: scale(1.16) rotate(10deg);
    background: #ffeeb2;
    border-color: #d49f05;
}

.home-faq-item[open] .home-faq-icon {
    background: var(--home-gold);
    color: #121008;
    border-color: var(--home-gold);
    transform: scale(1.12);
}

.home-faq-symbol {
    margin-left: auto;
    color: #8b7a49;
    font-size: 22px;
    font-weight: 400;
    transition: transform .32s cubic-bezier(0.34, 1.56, 0.64, 1), color .25s ease;
}

.home-faq-item[open] .home-faq-symbol {
    transform: rotate(90deg) scale(1.15);
    color: #ad871a;
}

.home-faq-answer {
    padding: 0 24px 22px;
    font-size: clamp(12px, 1.2vw, 16px);
    line-height: 1.7;
    color: #625d4e;
    overflow: hidden;
}

.home-faq-answer a {
    display: inline-block;
    margin-top: 12px;
    color: #876510;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .2s, transform .2s;
}

.home-faq-answer a:hover {
    color: #b8860b;
    transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.home-footer {
    width: 84%;
    max-width: 1200px;
    margin: 6.2vw auto 0;
    display: grid;
    grid-template-columns: 1.8fr .9fr .65fr .75fr;
    gap: 4vw;
    align-items: start;
}

.home-footer-logo {
    display: inline-block;
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 800;
    letter-spacing: -.045em;
    color: #fff;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

.home-footer-brand p {
    margin-top: 3px;
    max-width: 265px;
    font-size: clamp(11px, 1.4vw, 16px);
    line-height: 1.1;
    color: #918a70;
    font-weight: 600;
}

.home-footer nav {
    display: grid;
    gap: 9px;
    padding-top: 5px;
}

.home-footer nav h2 {
    font-size: clamp(10px, 1.4vw, 15px);
    color: #8b8269;
    font-weight: 700;
    margin-bottom: 1px;
}

.home-footer nav a {
    font-size: clamp(11px, 1.55vw, 17px);
    font-weight: 700;
    letter-spacing: -.045em;
    color: #fff;
    transition: color .2s ease, transform .2s ease;
}

.home-footer nav a:hover {
    color: var(--home-gold);
    transform: translateX(2px);
}

.home-footer nav a:active {
    transform: scale(0.97);
}

.home-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 6.2vw 2.6% 2.5vw;
    font-size: clamp(9px, 1.2vw, 13px);
    font-weight: 700;
    color: #8a8571;
}

.home-support-credit {
    display: flex;
    align-items: center;
    gap: 7px;
}

.home-support-credit .home-flag {
    width: 22px;
    height: 15px;
}

.home-footer-right {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.home-footer-right .copyrighted-badge {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    transition: opacity .2s, transform .2s;
    border-radius: 4px;
    overflow: hidden;
}

.home-footer-right .copyrighted-badge:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.home-footer-right .copyrighted-badge img {
    height: 25px;
    width: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (min-width: 1500px) {
    .home-plan { min-height: 660px; border-radius: 54px; }
    .home-faq-item summary { min-height: 80px; }
}

@media (max-width: 1024px) {
    .home-header {
        width: calc(100% - 32px);
        gap: 16px;
    }
    .home-nav {
        gap: 16px;
    }
    .home-header-controls {
        gap: 12px;
    }
    .home-plan-grid {
        width: 90%;
        gap: 20px;
    }
    .home-footer {
        width: 90%;
        gap: 24px;
    }
}

@media (max-width: 650px) {
    /* Header Unscrolled on Mobile — Transparent Without Background/Container (Same as PC) */
    .home-header {
        top: max(16px, calc(env(safe-area-inset-top, 0px) + 8px));
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        max-width: calc(100vw - 24px);
        gap: 6px;
        min-height: 44px;
        padding: 4px 0;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: 1px solid transparent !important;
        border-radius: 9999px;
        box-shadow: none !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }
    .home-nav {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 1;
        min-width: 0;
    }
    .home-nav-link {
        font-size: 11.5px;
        padding: 6px 9px;
        min-height: 32px;
        white-space: nowrap;
        border-radius: 9999px;
        color: #ffffff;
        font-weight: 700;
        -webkit-tap-highlight-color: transparent;
    }
    .home-nav-active {
        font-size: 12px;
        padding: 6px 13px;
        min-height: 32px;
        white-space: nowrap;
        background: #cca028;
        color: #ffffff !important;
        box-shadow: 0 3px 10px rgba(204, 160, 40, 0.4);
        border-radius: 9999px;
        -webkit-tap-highlight-color: transparent;
    }
    .home-header-controls {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
    }
    .home-account-name,
    .home-language-name {
        display: none !important;
    }
    .home-account-pill {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    .home-header.is-scrolled .home-account-pill {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    .home-account summary {
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 32px;
        min-height: 32px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .home-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        display: block;
        object-fit: cover;
        transition: transform .2s ease, border-color .2s ease;
    }
    .home-header.is-scrolled .home-avatar {
        border-color: #1a1a1a;
        width: 28px;
        height: 28px;
    }
    .home-account .home-caret {
        display: none !important;
    }
    .home-flag {
        width: 20px;
        height: 14px;
        border-radius: 2px;
        display: block;
    }
    .home-bell {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .home-bell-icon {
        width: 16px;
        height: 16px;
        fill: #ffffff;
    }
    .home-language summary {
        padding: 5px 8px;
        gap: 4px;
        min-height: 32px;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        display: flex;
        align-items: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Header Scrolled — Centered Golden Capsule with Safe-Area Clearance */
    .home-header.is-scrolled {
        top: max(8px, calc(env(safe-area-inset-top, 0px) + 4px));
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: max-content;
        max-width: calc(100vw - 16px);
        padding: 4px 8px 4px 4px;
        gap: 5px;
        background: #cca028 !important;
        border: 1px solid rgba(255, 255, 255, 0.38) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        border-radius: 9999px !important;
    }
    .home-header.is-scrolled .home-nav {
        gap: 4px;
    }
    .home-header.is-scrolled .home-nav-active {
        padding: 5px 12px;
        font-size: 11.5px;
        background: #ffffff !important;
        color: #1a1a1a !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }
    .home-header.is-scrolled .home-nav-link {
        padding: 5px 7px;
        font-size: 11px;
        color: #1a1a1a !important;
        background: transparent;
    }
    .home-header.is-scrolled .home-nav-link:hover {
        color: #000000 !important;
        background: rgba(0, 0, 0, 0.08);
    }
    .home-header.is-scrolled .home-nav-link:active {
        background: rgba(0, 0, 0, 0.15);
    }
    .home-header.is-scrolled .home-bell {
        width: 28px;
        height: 28px;
        background: rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.15);
    }
    .home-header.is-scrolled .home-bell-icon {
        width: 14px;
        height: 14px;
        fill: #1a1a1a;
    }
    .home-header.is-scrolled .home-language summary {
        padding: 4px 6px;
        background: rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.15);
    }
    .home-header.is-scrolled .home-caret {
        border-top-color: #1a1a1a !important;
    }
    .home-header.is-scrolled .home-header-divider {
        display: block !important;
        height: 16px;
        width: 1px;
        background: rgba(0, 0, 0, 0.22);
        margin: 0 1px;
    }

    /* Reliable Cross-Browser Dropdown Panels on Mobile */
    .home-dropdown-panel {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        width: max-content !important;
        min-width: 200px !important;
        max-width: min(280px, calc(100vw - 24px)) !important;
        padding: 8px !important;
        border-radius: 20px !important;
        background: #0d0c0a !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85),
                    0 4px 14px rgba(0, 0, 0, 0.5),
                    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.22),
                    inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }

    .home-help .home-dropdown-panel {
        left: 0 !important;
        right: auto !important;
        min-width: 210px !important;
        max-width: calc(100vw - 24px) !important;
    }

    .home-account .home-dropdown-panel {
        right: -6px !important;
        left: auto !important;
        min-width: 190px !important;
        max-width: calc(100vw - 24px) !important;
    }

    .home-language .home-dropdown-panel {
        right: 0 !important;
        left: auto !important;
        min-width: 165px !important;
        max-width: calc(100vw - 24px) !important;
    }

    .home-notifications .home-dropdown-panel {
        right: -30px !important;
        left: auto !important;
        width: min(290px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
    }

    .home-dropdown-panel > a {
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
        color: #ffffff !important;
    }

    /* Hero Section */
    .golden-hero {
        height: 84vw;
        min-height: 350px;
        max-height: 480px;
    }
    .golden-title-main {
        top: 25vw;
        font-size: 26vw;
        transform: translateX(-50%) scaleX(.66);
    }
    .golden-title-sub {
        top: 50vw;
        left: 66%;
        font-size: 5.2vw;
    }
    .golden-hero-character {
        top: 6vw;
        height: 74vw;
        max-height: 420px;
    }
    .home-arrow {
        width: 12vw;
        height: 12vw;
        max-width: 48px;
        max-height: 48px;
    }
    .home-arrow-left {
        top: 36vw;
        left: 2.8vw;
    }
    .home-arrow-right {
        top: 7.5vw;
        right: 2.8vw;
    }

    /* Communities Section */
    .home-communities {
        padding: 24px 0 clamp(75px, 11vw, 120px);
    }
    .home-communities .home-section-heading h2 {
        font-size: 26px;
    }
    .home-communities .home-section-heading p {
        max-width: 300px;
        margin: 8px auto 0;
        font-size: 10px;
    }
    .community-rows {
        margin-top: 18px;
        gap: 8px;
    }
    .community-group {
        gap: 8px;
        padding-right: 8px;
    }
    .community-card {
        width: 240px;
        flex: 0 0 240px;
        height: 76px;
        border-radius: 18px;
        padding: 10px 14px;
        gap: 10px;
    }
    .community-avatar,
    .community-initial {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .community-name-row strong {
        font-size: 14px;
    }
    .community-badge {
        width: 15px;
        height: 15px;
    }
    .community-members {
        font-size: 11.5px;
    }

    /* Dark Stage & Premium Section */
    .home-gold-stage {
        padding-bottom: 24px;
    }
    .home-dark-stage {
        margin-top: -24px;
        border-radius: 26px 26px 0 0;
    }
    .home-premium {
        padding: 38px 16px 0;
    }
    .home-section-heading h2 {
        font-size: 30px;
    }
    .home-section-heading p {
        font-size: 10px;
        max-width: 320px;
    }

    /* Billing Toggle Pill on Mobile */
    .home-billing-wrapper {
        margin: 14px auto 22px;
    }
    .home-billing {
        gap: 3px;
        padding: 4px;
        max-width: 100%;
    }
    .home-billing button {
        padding: 7px 12px;
        font-size: 10.5px;
    }

    /* Plan Cards on Mobile */
    .home-plan-grid {
        width: 100%;
        max-width: 380px;
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 0 auto;
    }
    .home-plan {
        min-height: auto;
        padding: 26px 22px;
        border-radius: 30px;
    }
    .home-plan h3 {
        font-size: 22px;
    }
    .home-plan-description {
        font-size: 12px;
        margin-top: 6px;
    }
    .home-plan-price {
        margin: 12px 0 4px;
    }
    .home-plan-price > span,
    .home-plan-price strong {
        font-size: 38px;
    }
    .home-plan-price small {
        font-size: 13px;
    }
    .home-plan-subscribe {
        min-height: 46px;
        font-size: 14px;
        margin-top: 16px;
    }
    .home-plan-label {
        margin: 18px 0 12px;
        padding-top: 14px;
        font-size: 9px;
    }
    .home-plan li {
        font-size: 12px;
        margin-bottom: 9px;
        padding-left: 20px;
    }

    /* FAQ on Mobile */
    .home-faq {
        padding: 42px 16px 0;
    }
    .home-faq-list {
        width: 100%;
        max-width: 480px;
        margin-top: 20px;
        gap: 10px;
    }
    .home-faq-item {
        border-radius: 20px;
    }
    .home-faq-item summary {
        min-height: 52px;
        padding: 13px 16px;
        font-size: 12.5px;
        gap: 10px;
    }
    .home-faq-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
        flex: 0 0 18px;
    }
    .home-faq-symbol {
        font-size: 18px;
    }
    .home-faq-answer {
        padding: 0 16px 18px;
        font-size: 12.5px;
        line-height: 1.6;
    }

    /* Footer on Mobile */
    .home-footer {
        margin-top: 45px;
        width: 100%;
        padding: 0 20px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 10px;
    }
    .home-footer-brand {
        grid-column: 1 / -1;
    }
    .home-footer-logo {
        font-size: 24px;
    }
    .home-footer-brand p {
        font-size: 12px;
        line-height: 1.45;
        max-width: 100%;
        margin-top: 6px;
    }
    .home-footer nav h2 {
        font-size: 11px;
        margin-bottom: 4px;
    }
    .home-footer nav a {
        font-size: 12px;
        padding: 2px 0;
    }
    .home-footer-bottom {
        padding: 34px 20px max(24px, env(safe-area-inset-bottom));
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        font-size: 10.5px;
    }
    .home-footer-right {
        align-items: flex-start;
        gap: 8px;
        flex-direction: column;
        width: 100%;
    }
    .home-support-credit {
        font-size: 11.5px;
        gap: 7px;
    }
}

@media (max-width: 360px) {
    .home-header {
        width: calc(100% - 12px);
        max-width: calc(100vw - 12px);
        padding: 3px 0;
        background: transparent !important;
        border: 1px solid transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        gap: 3px;
        min-height: 40px;
    }
    .home-nav { gap: 3px; }
    .home-nav-link { font-size: 10px; padding: 5px 5px; min-height: 28px; }
    .home-nav-active { font-size: 10.5px; padding: 5px 8px; min-height: 28px; }
    .home-header-controls { gap: 3px; }
    .home-avatar { width: 26px; height: 26px; }
    .home-bell { width: 26px; height: 26px; }
    .home-bell-icon { width: 13px; height: 13px; }
    .home-language summary { padding: 4px 5px; min-height: 28px; }
    .home-flag { width: 17px; height: 12px; }
    .home-header.is-scrolled { padding: 3px 6px 3px 3px; gap: 3px; }
    .home-header.is-scrolled .home-nav-active { padding: 4px 8px; font-size: 10px; }
    .home-header.is-scrolled .home-nav-link { padding: 4px 5px; font-size: 9.5px; }
    .home-header.is-scrolled .home-avatar { width: 24px; height: 24px; }
    .home-header.is-scrolled .home-bell { width: 24px; height: 24px; }
    .home-header.is-scrolled .home-bell-icon { width: 12px; height: 12px; }
    .home-billing button { padding: 6px 9px; font-size: 9.5px; }
    .home-plan { padding: 20px 16px; border-radius: 24px; }
    .home-plan h3 { font-size: 20px; }
    .home-plan-price > span, .home-plan-price strong { font-size: 34px; }
    .home-footer { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
    .home-footer nav:last-child { grid-column: 1 / -1; }
    .home-arrow { width: 11vw; height: 11vw; max-width: 38px; max-height: 38px; }
    .home-arrow-left { top: 37vw; left: 2vw; }
    .home-arrow-right { top: 7vw; right: 2vw; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .community-marquee { overflow-x: auto; }
    .community-group[aria-hidden] { display: none; }
}
