html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    position: relative;
    isolation: isolate;
}

body[data-global-shop-background],
body[data-global-shop-background-media="true"] {
    background: var(--shop-page-gradient, linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%)) fixed center / cover no-repeat !important;
}

body[data-global-shop-background-media="true"] {
    background: transparent !important;
}

#globalShopBackgroundLayer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

#globalShopBackgroundLayer .global-shop-background-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0.60;
    filter: none;
    image-rendering: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

.icon-box {
    object-fit: contain;
    width: 100%;
    height: auto;
    max-width: 50px;
}

header {
    position: sticky;
    top: 0px;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: #111827;
    color: #f3f4f6;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    height: 6px;
    width: 6px;
    background-color: #22c52a;
    border-radius: 50%;
    animation: fading 3s infinite;
}

@keyframes fading {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-sign-out {
    background: rgba(255, 255, 255, 0.075);
    color: white;
    padding: 6px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-sign-out:hover {
    background: #0f172a;
    color: white;
}

.btn-sign-out.mobile {
    display: none;
}

.btn-sign-out.desktop {
    display: flex;
}

.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    color: #ffffff;
    background: #1f2937;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text h1,
.logo-text .logo-wordmark {
    margin: 0;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.logo-text h1 span,
.logo-text .logo-wordmark span {
    display: inline;
}

.logo-text p {
    margin: 0;
    font-size: 10px;
    color: #9ca3af;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.search-container {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 500px;
    gap: 10px;
    justify-self: center;
}

.search-container input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #374151;
    background: #374151;
    font-size: 14px;
    outline: none;
    color: #ffffff;
}

.search-container input::placeholder {
    color: #9ca3af;
}

.search-btn {
    background: #4b5563;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.search-btn:hover {
    background: #6b7280;
}

.user-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #ffffff;
    cursor: pointer;
    gap: 4px;
    text-decoration: none;
}

.mobile-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    cursor: pointer;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 54%),
        linear-gradient(180deg, rgba(75, 85, 99, 0.55), rgba(17, 24, 39, 0.88));
    box-shadow:
        0 16px 34px rgba(2, 6, 23, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
}

.mobile-hamburger::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.mobile-hamburger:hover {
    transform: translateY(-1px);
    color: #ffffff;
    border-color: rgba(248, 113, 113, 0.28);
    box-shadow:
        0 20px 38px rgba(2, 6, 23, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.mobile-hamburger:active {
    transform: translateY(0) scale(0.97);
}

.mobile-hamburger svg,
.mobile-hamburger i {
    position: relative;
    z-index: 1;
}

.chat-alert-badge {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.28);
    flex-shrink: 0;
}

.chat-alert-badge[hidden] {
    display: none !important;
}

.sidebar a[href$="chat/global.chat.html"],
.nav-bottom a[href$="chat/global.chat.html"] {
    position: relative;
}

.sidebar .sidebar-nav-link[href$="chat/global.chat.html"] .chat-alert-badge,
.nav-bottom a[href$="chat/global.chat.html"] .chat-alert-badge {
    margin-left: auto;
}

.mobile-hamburger .chat-alert-badge.is-hamburger {
    position: absolute;
    top: -6px;
    right: -10px;
}

.mobile-hamburger.has-chat-alert {
    color: #ffffff;
    border-color: rgba(248, 113, 113, 0.34);
    box-shadow:
        0 20px 40px rgba(2, 6, 23, 0.42),
        0 0 0 1px rgba(248, 113, 113, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 10px 5%;
    border-top: 1px solid #f3f4f6;
}

.nav-bottom a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

.nav-a:hover {
    background: #1f293780;
    color: white;
}

#nav-active-page {
    background: #1f2937bd;
    color: white;
}

.membership-pill {
    background: #1f2937;
    color: white !important;
    padding: 10px 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.grid-about-hover {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 600px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 2000;
}

.nav-dropdown-wrapper:hover .grid-about-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-column h4 {
    margin: 0 0 12px 0;
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-column a {
    display: block;
    color: #111827;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.2s, padding 0.2s;
}

.menu-column a:hover {
    color: #4f46e5;
    padding-left: 8px;
}

.menu-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.visual-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.visual-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.visual-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
}

.visual-item:hover img {
    transform: scale(1.05);
}

.sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(350px, calc(100vw - 18px));
    height: 100dvh;
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.1), transparent 14%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.07), transparent 24%),
        linear-gradient(125deg, transparent 0%, rgba(255, 255, 255, 0.06) 16%, transparent 28%, transparent 58%, rgba(255, 255, 255, 0.04) 70%, transparent 84%),
        linear-gradient(180deg, rgba(46, 46, 49, 0.96) 0%, rgba(22, 22, 24, 0.98) 44%, rgba(10, 10, 12, 0.995) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        -26px 0 54px rgba(0, 0, 0, 0.4);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.26s ease,
        visibility 0.26s ease;
    z-index: 2000;
    padding: 20px 18px 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    backdrop-filter: blur(22px);
}

.sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.08), transparent 22%),
        radial-gradient(circle at 78% 48%, rgba(255, 255, 255, 0.06), transparent 18%),
        linear-gradient(130deg, transparent 0%, rgba(255, 255, 255, 0.05) 15%, transparent 28%, transparent 54%, rgba(255, 255, 255, 0.035) 68%, transparent 82%);
    opacity: 0.7;
    mix-blend-mode: screen;
    pointer-events: none;
}

.sidebar::after {
    content: "";
    position: absolute;
    inset: auto -18% -10% auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
    opacity: 0.4;
    pointer-events: none;
}

.sidebar.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sidebar-shell {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: grid;
    align-content: start;
    gap: 18px;
    overflow-y: auto;
    padding: 4px 2px 0 0;
}

.sidebar-shell::-webkit-scrollbar {
    width: 6px;
}

.sidebar-shell::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-brand-row,
.sidebar-profile-card,
.sidebar-search {
    opacity: 0;
    transform: translateY(14px);
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease;
}

.sidebar.active .sidebar-brand-row,
.sidebar.active .sidebar-profile-card,
.sidebar.active .sidebar-search {
    opacity: 1;
    transform: translateY(0);
}

.sidebar-brand-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-right: 64px;
    transition-delay: 0.02s;
}

.sidebar-brand-copy {
    display: grid;
    gap: 6px;
}

.sidebar-brand-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.46);
}

.sidebar-brand-copy strong {
    color: #ffffff;
    font-size: 31px;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.sidebar-profile-card {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: #ffffff;
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        box-shadow 0.24s ease;
    transition-delay: 0.08s;
}

.sidebar-profile-card:hover {
    transform: translateY(-1px);
    border-color: rgba(248, 113, 113, 0.18);
    box-shadow:
        0 20px 34px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f4f5 0%, #71717a 100%);
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.sidebar-profile-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sidebar-profile-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.sidebar-profile-copy strong {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-profile-copy small {
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-profile-chevron {
    color: rgba(255, 255, 255, 0.72);
}

.sidebar-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 7px 10px 7px 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition-delay: 0.12s;
}

.sidebar-search:focus-within {
    border-color: rgba(248, 113, 113, 0.22);
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(248, 113, 113, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar-search-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font: 500 14px/1.2 Inter, sans-serif;
}

.sidebar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.sidebar-sections {
    display: grid;
    gap: 18px;
    padding-bottom: 12px;
}

.sidebar-section {
    display: grid;
    gap: 10px;
}

.sidebar-section[hidden] {
    display: none;
}

.sidebar-section-title {
    margin: 0;
    padding: 0 2px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.sidebar-section-links {
    display: grid;
    gap: 8px;
}

.sidebar .sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    opacity: 0;
    transform: translateY(14px);
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        background 0.24s ease,
        color 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
    transition-delay: calc(var(--menu-index, 0) * 28ms + 0.14s);
}

.sidebar.active .sidebar-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.sidebar .sidebar-nav-link[hidden] {
    display: none;
}

.sidebar-nav-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.18);
}

.sidebar-nav-copy {
    min-width: 0;
    display: flex;
    align-items: center;
}

.sidebar-nav-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

.sidebar .sidebar-nav-link:hover {
    transform: translateX(4px);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 22px rgba(0, 0, 0, 0.16);
}

.sidebar .sidebar-nav-link:hover .sidebar-nav-icon {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

.sidebar #nav-active-page {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, #d43a2f 0%, #a8241e 100%);
    box-shadow:
        0 18px 30px rgba(169, 35, 27, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar #nav-active-page .sidebar-nav-icon {
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 18px rgba(0, 0, 0, 0.16);
}

.sidebar-search-empty {
    margin: -4px 2px 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
    line-height: 1.4;
}

.sidebar .chat-alert-badge.is-nav {
    margin-left: auto;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 10px 18px rgba(239, 68, 68, 0.24);
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 18px;
    z-index: 2;
    margin: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    color: #ffffff;
    box-shadow:
        0 14px 24px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.sidebar-close:hover {
    transform: rotate(90deg) scale(1.03);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.62));
    z-index: 1999;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(8px);
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

.hero {
    display: flex;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, #182235 0%, #101827 100%);
    min-height: clamp(220px, 30vw, 320px);
    padding: clamp(64px, 9vw, 96px) 20px;
    margin: 10px 0;
}

.hero h1,
.hero h2 {
    margin: 0;
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1.05;
    font-weight: 700;
    color: #f8fafc;
    text-wrap: balance;
}

.home-hero {
    display: grid;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.14), transparent 28%),
        radial-gradient(circle at 82% 24%, rgba(251, 191, 36, 0.12), transparent 24%),
        linear-gradient(180deg, #0f172a 0%, #111827 54%, #0b1220 100%);
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: clamp(520px, 72vh, 760px);
    padding: clamp(84px, 12vw, 132px) 20px;
    margin: 10px 0;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 88%);
    pointer-events: none;
    z-index: 0;
}

.home-hero .hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    margin: 0 auto;
}

.home-hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.home-hero .hero-kicker::before,
.home-hero .hero-kicker::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #fbbf24);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.home-hero h1,
.home-hero h2 {
    font-size: clamp(40px, 10vw, 72px);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1;
    color: #f8fafc;
    text-wrap: balance;
}

.home-hero .hero-content > p:not(.hero-kicker) {
    color: #9ca3af;
    margin-bottom: 50px;
    line-height: 1.6;
    font-size: 18px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero .hero-three-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.home-hero .hero-three-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 36%, rgba(56, 189, 248, 0.26), transparent 22%),
        radial-gradient(circle at 74% 34%, rgba(251, 191, 36, 0.22), transparent 20%),
        radial-gradient(circle at 52% 72%, rgba(255, 255, 255, 0.08), transparent 18%);
    filter: blur(6px);
    opacity: 0.9;
    transition: opacity 0.45s ease;
}

.home-hero .hero-three-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.home-hero.hero-three-ready .hero-three-canvas {
    opacity: 1;
}

.home-hero.hero-three-ready .hero-three-glow {
    opacity: 0.4;
}

.home-hero .hero-signal-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.home-hero .hero-signal-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
    width: min(100%, 760px);
    margin: 0 auto;
}

.cta-group > * {
    flex: 1 1 0;
    min-width: 0;
}

.btn-white {
    background: white;
    color: black;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-group .btn-white,
.cta-group .btn-outline {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
}

button.btn-outline {
    cursor: pointer;
    font: inherit;
}

.install-app-button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.install-app-button[hidden],
.install-app-hint[hidden] {
    display: none !important;
}

.install-app-hint {
    margin: 18px auto 0;
    max-width: 720px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.pwa-promo {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(332px, calc(100vw - 20px));
    z-index: 1600;
}

.pwa-promo[hidden] {
    display: none;
}

.pwa-promo-inner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 20px;
    padding: 16px;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.08), transparent 34%),
        radial-gradient(circle at bottom left, rgba(96, 165, 250, 0.06), transparent 40%),
        linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(10px);
    animation: pwaPromoReveal 0.3s ease-out;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pwa-promo-inner::before {
    content: '';
    position: absolute;
    inset: auto 22% 12% -10%;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
    opacity: 0.45;
    pointer-events: none;
    animation: pwaPromoGlow 14s ease-in-out infinite;
}

.pwa-promo-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 40%);
    pointer-events: none;
}

.pwa-promo:hover .pwa-promo-inner {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 40px rgba(2, 6, 23, 0.34);
}

.pwa-promo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pwa-promo-close {
    position: relative;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.pwa-promo-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.pwa-promo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #d6b25e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pwa-promo-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
}

.pwa-promo-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pwa-promo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
    align-items: start;
}

.pwa-promo-copy {
    text-align: left;
    position: relative;
    z-index: 1;
}

.pwa-promo-copy h3 {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.2;
}

.pwa-promo-copy p {
    margin: 8px 0 0;
    color: #cbd5e1;
    font-size: 12.5px;
    line-height: 1.55;
}

.pwa-promo-visual {
    position: relative;
    width: 58px;
    height: 58px;
    justify-self: end;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 20px rgba(2, 6, 23, 0.22);
}

.pwa-promo-visual::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 72%);
    opacity: 0.75;
}

.pwa-promo-gif {
    position: relative;
    z-index: 1;
    display: block;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.24));
    animation: pwaPromoFloat 8s ease-in-out infinite;
}

.pwa-promo-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.45;
}

.pwa-promo-orbit-one {
    inset: 6px;
}

.pwa-promo-orbit-two {
    inset: 14px;
}

.pwa-promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pwa-promo-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-size: 11.5px;
    font-weight: 600;
}

.pwa-promo-actions {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.pwa-promo-primary,
.pwa-promo-secondary {
    font: inherit;
    border-radius: 14px;
    min-height: 42px;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pwa-promo-primary {
    flex: 1 1 auto;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    color: #111827;
    background: linear-gradient(135deg, #f5f7fb, #e8edf5);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
}

.pwa-promo-primary:hover {
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.2);
}

.pwa-promo-primary[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
}

.pwa-promo-secondary {
    flex: 0 0 auto;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    cursor: pointer;
}

.pwa-promo-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.pwa-promo[data-promo-state^="update"] .pwa-promo-eyebrow,
.pwa-promo[data-promo-state="updating"] .pwa-promo-eyebrow {
    background: rgba(96, 165, 250, 0.08);
    color: #b6d1f3;
}

.pwa-promo[data-promo-state^="update"] .pwa-promo-orbit,
.pwa-promo[data-promo-state="updating"] .pwa-promo-orbit {
    border-color: rgba(96, 165, 250, 0.14);
}

.pwa-promo[data-promo-state="up-to-date"] .pwa-promo-eyebrow,
.pwa-promo[data-promo-state="install-accepted"] .pwa-promo-eyebrow {
    background: rgba(74, 222, 128, 0.08);
    color: #acd9b5;
}

.pwa-promo[data-promo-state="up-to-date"] .pwa-promo-orbit,
.pwa-promo[data-promo-state="install-accepted"] .pwa-promo-orbit {
    border-color: rgba(74, 222, 128, 0.14);
}

@keyframes pwaPromoReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pwaPromoGlow {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.35;
    }
    50% {
        transform: translate3d(4px, -4px, 0) scale(1.03);
        opacity: 0.5;
    }
}

@keyframes pwaPromoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pwa-promo-inner,
    .pwa-promo-inner::before,
    .pwa-promo-gif {
        animation: none !important;
    }

    .pwa-promo-inner,
    .pwa-promo-primary,
    .pwa-promo-secondary,
    .pwa-promo-close,
    .pwa-promo-inner::after {
        transition: none !important;
    }
}

.perks {
    padding: 40px 5%;
    background-color: #f9fafb;
}

.card-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #111827;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.search-intents {
    padding: 28px 5% 12px;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(251, 191, 36, 0.09), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.search-intents-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

.search-intents-copy {
    max-width: 700px;
    margin: 0 auto 24px;
    text-align: center;
    color: #0f172a;
}

.search-intents-kicker {
    margin: 0 0 10px;
    color: #b45309;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.search-intents-copy h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
}

.search-intents-copy p:not(.search-intents-kicker) {
    margin: 14px auto 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.search-intents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.search-intent-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.search-intent-card strong {
    font-size: 20px;
    line-height: 1.15;
}

.search-intent-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 15px;
}

.search-intent-card span {
    color: #b45309;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-intent-card:hover {
    transform: translateY(-4px);
    border-color: rgba(180, 83, 9, 0.18);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.feature-section {
    padding: 40px 5%;
    background: white;
}

@supports (content-visibility: auto) {
    .trust-proof,
    .quotes,
    .feature-section,
    .promo-banner,
    footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 700px;
    }
}

.trust-proof {
    padding: 26px 5% 8px;
}

.trust-proof-shell {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.trust-proof-head {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.trust-proof-copy {
    color: #0f172a;
    text-align: center;
}

.trust-proof-kicker {
    margin: 0 0 10px;
    color: #b45309;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.trust-proof-copy h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.02;
    max-width: none;
    text-wrap: balance;
}

.trust-proof-copy > p:not(.trust-proof-kicker) {
    margin: 14px 0 0;
    max-width: 60ch;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.trust-proof-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.trust-proof-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.trust-proof-chip i {
    color: #b45309;
}

.trust-slider {
    position: relative;
    width: min(1240px, 100%);
    margin: 0 auto;
}

.trust-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 26px;
    padding: 6px 0 14px;
    user-select: none;
}

.trust-slider-viewport::-webkit-scrollbar {
    height: 0;
    display: none;
}

.trust-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 0 max(18px, calc(50% - 350px));
}

.trust-slide {
    position: relative;
    width: min(700px, 74vw);
    aspect-ratio: 16 / 9;
    scroll-snap-align: center;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background:
        radial-gradient(circle at top, rgba(251, 191, 36, 0.14), transparent 42%),
        linear-gradient(180deg, #020617 0%, #111827 100%);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.12);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.trust-slide::after {
    display: none;
}

.trust-slide.is-active {
    transform: translateY(-6px) scale(1.025);
    border-color: rgba(251, 191, 36, 0.65);
    box-shadow: 0 36px 86px rgba(15, 23, 42, 0.18);
}

.trust-slide.is-focused {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(251, 191, 36, 0.82);
    box-shadow: 0 44px 94px rgba(15, 23, 42, 0.24);
}

.trust-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background:
        radial-gradient(circle at top, rgba(96, 165, 250, 0.12), transparent 36%),
        #020617;
}

.trust-sound-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.trust-slide-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.trust-slide-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.trust-slide-caption strong {
    font-size: 14px;
    font-weight: 800;
}

.trust-slide-caption span {
    color: rgba(226, 232, 240, 0.84);
    font-size: 12px;
    font-weight: 600;
}

.trust-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.74);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.trust-slider-arrow:hover {
    background: #fbbf24;
    color: #111827;
    transform: translateY(-50%) scale(1.06);
}

.trust-slider-arrow.prev {
    left: 10px;
}

.trust-slider-arrow.next {
    right: 10px;
}

.trust-slider-arrow i {
    width: 20px;
    height: 20px;
}

.trust-slider-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 2px;
}

.trust-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.52);
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.trust-slider-dots button[aria-current="true"] {
    background: #f59e0b;
    transform: scale(1.35);
}

.trust-slider-note {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    text-align: right;
}

.featured-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    margin: 30px auto 0;
}

.featured-box.featured-box--compact {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
    justify-content: center;
    max-width: 760px;
}

.product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.2s ease;
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    max-height: 400px;
    aspect-ratio: 1 / 1;
    margin-bottom: 15px;
    border-radius: 12px;
    display: block;
    object-fit: cover;
}

.product-card-content {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.product-card-content h1,
.product-card-content h3 {
    margin: 0;
    font-size: clamp(24px, 2vw, 28px);
    line-height: 1.1;
    color: #111827;
    font-weight: 700;
    text-align: center;
    text-wrap: balance;
}

.product-card-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    text-align: center;
}

.category-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 12px;
}

.rating span {
    color: #6b7280;
    margin-left: 6px;
}

.course-meta {
    display: flex;
    gap: 16px;
    margin: 12px 0;
    font-size: 13px;
    color: #6b7280;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-tag {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-top: 12px;
}

.promo-banner {
    background: #1f2937;
    padding: 60px 5%;
    color: white;
    text-align: center;
}

.promo-content h2 {
    font-size: 36px;
    margin: 20px 0;
}

.promo-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.time-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 12px;
}

.time-box span {
    display: block;
    font-size: 36px;
    font-weight: 700;
}

.time-box p {
    margin: 5px 0 0 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials {
    padding: 60px 5%;
    background: #f9fafb;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.stars {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.testimonial-card strong {
    color: #111827;
    font-size: 14px;
}

.locations-market {
    padding: 60px 5%;
    background: white;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.market-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.market-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.market-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.market-info h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #111827;
}

.market-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    margin: 8px 0;
    font-size: 14px;
}

.view-btn {
    background: #1f2937;
    color: white;
    padding: 15px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
}

.view-btn:hover {
    background: #111827;
}

.faq-section {
    padding: 60px 5%;
    background: #f9fafb;
}

.faq-title {
    text-align: center;
    color: #0f172a;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.faq-item h3 {
    margin: 0 0 12px 0;
    color: #111827;
    font-size: 18px;
}

.faq-item p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 72px 6% 0;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-holder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 32px;
    align-items: start;
}

.holder-footer-el {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #fbbf24;
}

.contact-item div strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item div p {
    margin: 0 0 2px 0 !important;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.5;
}

.footer-el h2 {
    color: white;
    margin: 0;
    font-size: 22px;
}

.footer-el h2 span {
    display: inline;
}

.footer-el h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fbbf24;
    display: inline-block;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-el > p {
    line-height: 1.7;
    font-size: 14px;
    color: #9ca3af;
    max-width: 300px;
}

.footer-el,
.footer-logo,
.contact-item div {
    min-width: 0;
}

.footer-el ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-el ul li {
    margin-bottom: 10px;
}

.footer-el ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.25s;
}

.footer-el ul li a::before {
    content: '>';
    color: #fbbf24;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.25s;
}

.footer-el ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.footer-el ul li a:hover {
    color: white;
}

.footer-el ul li a:hover::before {
    transform: translateX(3px);
}

.footer-el ul li a:hover::after {
    width: 100%;
}

.footer-el a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-el a:visited {
    color: #9ca3af;
}

.footer-el a:hover {
    color: white;
}

.contact-item p,
.contact-item a {
    overflow-wrap: anywhere;
}

.email-link, .telegram {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

.email-link::after, .telegram::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.email-link:hover, .telegram:hover {
    color: #fbbf24;
}

.email-link:hover::after, .telegram:hover::after {
    width: 100%;
}

.gif-video {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}


@media (max-width: 1050px) {
    .icon-box {
        margin: -10px;
        max-width: 35px;
    }
    
    .nav-main {
        grid-template-columns: 1fr 1fr;
        padding: 10px 5%;
    }
    
    .top-bar-left p {
        font-size: 10px;
    }
    
    .search-container,
    .nav-bottom,
    .action-item:not(.cart) {
        display: none;
    }
    
    .mobile-hamburger {
        display: inline-flex;
    }

    .user-actions {
        gap: 20px;
        align-items: center;
    }
    
    .btn-sign-out.desktop {
        display: none;
    }
}

@media (max-width: 900px) {
    .market-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 980px) {
    .featured-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-el > p {
        max-width: 42rem;
    }
}

@media (max-width: 769px) {
    .hero {
        min-height: clamp(180px, 42vw, 240px);
        padding: 52px 16px;
    }

    .hero h1,
    .hero h2 {
        font-size: clamp(32px, 9vw, 48px);
    }

    .home-hero {
        min-height: 500px;
        padding: 72px 16px;
    }

    .home-hero .hero-kicker {
        margin-bottom: 14px;
        padding: 8px 12px;
        letter-spacing: 0.14em;
        font-size: 11px;
    }

    .home-hero .hero-content > p:not(.hero-kicker) {
        font-size: 16px;
        margin-bottom: 34px;
    }

    .home-hero .hero-signal-row {
        gap: 8px;
        margin-top: 20px;
    }

    .home-hero .hero-signal-pill {
        font-size: 11px;
        min-height: 34px;
        padding: 8px 12px;
    }

    .search-intents-shell {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .search-intents-grid {
        grid-template-columns: 1fr;
    }

    .search-intent-card {
        border-radius: 18px;
    }

    .trust-proof {
        padding-top: 20px;
    }

    .trust-proof-head {
        margin-bottom: 12px;
    }

    .trust-proof-copy h2 {
        font-size: clamp(26px, 8vw, 34px);
    }

    .trust-proof-copy > p:not(.trust-proof-kicker) {
        font-size: 15px;
    }

    .trust-proof-chips {
        justify-content: flex-start;
    }

    .trust-proof-chip {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .trust-slider-viewport {
        border-radius: 20px;
        padding-bottom: 14px;
    }

    .trust-slider-track {
        gap: 12px;
        padding: 0 max(12px, calc(50% - 180px));
    }

    .trust-slide {
        width: min(88vw, 380px);
        max-width: 380px;
        aspect-ratio: 16 / 9;
        border-radius: 20px;
    }

    .trust-slide-pill {
        top: 12px;
        left: 12px;
        min-height: 28px;
        font-size: 10px;
    }

    .trust-slide-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .trust-slider-arrow {
        width: 38px;
        height: 38px;
    }

    .trust-slider-arrow.prev {
        left: 2px;
    }

    .trust-slider-arrow.next {
        right: 2px;
    }

    .trust-slider-meta {
        justify-content: center;
    }

    .card-box {
        grid-template-columns: 1fr;
    }
    
    .featured-box {
        grid-template-columns: 1fr;
    }
    
    .cta-group {
        gap: 10px;
    }

    .cta-group .btn-white,
    .cta-group .btn-outline {
        padding: 14px 12px;
        font-size: 14px;
    }
    
    .footer-container {
        display: flex;
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-holder {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pwa-promo-inner {
        border-radius: 18px;
        padding: 14px;
    }

    .pwa-promo {
        right: 12px;
        bottom: 12px;
        width: min(304px, calc(100vw - 16px));
    }

    .pwa-promo-inner::before,
    .pwa-promo-gif {
        animation: none;
    }

    .pwa-promo-orbit {
        display: none;
    }

    .pwa-promo-hero {
        grid-template-columns: minmax(0, 1fr) 52px;
        gap: 8px;
    }

    .pwa-promo-visual {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .pwa-promo-gif {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px;
        max-height: 34px;
    }

    .pwa-promo-copy h3 {
        font-size: 17px;
    }

    .pwa-promo-copy p {
        font-size: 12px;
        line-height: 1.45;
    }

    .pwa-promo-features {
        gap: 6px;
    }

    .pwa-promo-chip {
        padding: 7px 9px;
        font-size: 11px;
    }

    .pwa-promo-primary,
    .pwa-promo-secondary {
        min-height: 38px;
        font-size: 14px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-banner {
        padding: 40px 20px;
    }
    
    .locations-market {
        padding: 60px 5%;
    }
    
    .locations-market h1 {
        font-size: 28px;
    }
    
    .market-info {
        padding: 24px;
        text-align: center;
        align-items: center;
    }
    
    .market-info h3 {
        font-size: 20px;
    }
    
    .market-info p {
        justify-content: center;
        font-size: 13px;
        width: 100%;
    }
    
    .market-info .view-btn {
        width: 100%;
        align-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-slide,
    .trust-slider-arrow,
    .trust-slider-dots button {
        transition: none !important;
    }

    .trust-slider-viewport {
        scroll-behavior: auto;
    }
}

@media (max-width: 480px) {
    .nav-main {
        padding: 12px 4%;
    }

    .logo-section {
        gap: 8px;
        min-width: 0;
    }

    .logo-text {
        min-width: 0;
    }

    .cta-group {
        gap: 8px;
    }

    .cta-group .btn-white,
    .cta-group .btn-outline {
        padding: 12px 8px;
        font-size: 13px;
        min-height: 60px;
    }

    .cta-group .btn-white i,
    .cta-group .btn-outline i {
        display: none;
    }

    .locations-market {
        padding: 40px 4%;
    }
    
    .locations-market h1 {
        font-size: 24px;
    }
    
    .locations-market > p {
        font-size: 14px;
    }
    
    .market-info {
        padding: 20px;
    }
    
    .market-info h3 {
        font-size: 18px;
    }
    
    .logo-text h1,
    .logo-text .logo-wordmark {
        font-size: 16px;
    }
    
    .logo-text p {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .user-actions {
        gap: 12px;
    }

    .action-item {
        gap: 3px;
        font-size: 10px;
        min-width: 0;
    }

    .action-item svg,
    .action-item i {
        width: 16px;
        height: 16px;
    }

    .pwa-promo-top {
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .pwa-promo {
        left: auto;
        right: 10px;
        bottom: 10px;
        width: min(286px, calc(100vw - 16px));
    }

    .pwa-promo-copy h3 {
        font-size: 16px;
    }

    .pwa-promo-copy p {
        font-size: 11.5px;
    }

    .pwa-promo-actions {
        gap: 6px;
    }

    .pwa-promo-primary,
    .pwa-promo-secondary {
        min-height: 36px;
        font-size: 13px;
    }

    .pwa-promo-chip {
        font-size: 10.5px;
        padding: 6px 8px;
    }
    .gif-video {
    max-width: 400px;
    }

}

@media (max-width: 360px) {
    .action-item {
        font-size: 9px;
    }

    .user-actions {
        gap: 10px;
    }
}

.quotes {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    padding: 80px 5%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.quotes::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, white, transparent),
        radial-gradient(1px 1px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.7), transparent);
    background-size: 250px 250px;
    background-position: 0 0, 50px 50px, 100px 100px, 150px 25px, 75px 125px, 125px 175px, 25px 75px;
    opacity: 0.5;
    animation: twinkle 4s ease-in-out infinite, gentleDrift 40s linear infinite;
    will-change: opacity, transform;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes gentleDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-25%, -25%); }
}

.quotes > * {
    position: relative;
    z-index: 1;
}
.quotes-menu {
    flex: 1;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.quote-container {
    background: rgba(251, 191, 36, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: #fbbf24;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #0f172a;
    font-size: 24px;
}

.quote {
    color: white;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    font-style: italic;
    margin: 0;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.quote-controls {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.quote-btn {
    background: #fbbf24;
    border: 1px solid #fbbf24;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.quote-btn:active {
    transform: translateY(0);
}

.quotes img {
    max-width: 450px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

@media (max-width: 920px) {
    .quotes {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
    }
    
    .quotes img {
        max-width: 250px;
        order: -1;
    }
    
    .quote {
        font-size: 18px;
    }
    
    .quote-controls {
        justify-content: center;
    }
}

:root{ --headerH: 0px; }

.back-fab{
  position: fixed;
  left: calc(env(safe-area-inset-left, 0px) + 16px);
  top: calc(var(--headerH, 0px) + 16px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid #e5e7eb;
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  z-index: 1100;
  backdrop-filter: blur(10px);
}
.back-fab svg{ width: 18px; height: 18px; }
.back-fab:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.back-fab:active{ transform: translateY(0); }

@media (max-width: 420px){
  .back-fab{ padding: 10px 12px; }
  .back-fab span{ display: none; }
}


.arcade-section {
    background-color: #0f172a;
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.92)),
        url('../../assets/dark-abstract-black-minimal-4k-q0-2880x1800.webp');
    background-size: cover;
    background-position: 50% 40%;
    background-repeat: no-repeat;
    padding: 80px 5%;
    min-height: calc(80vh - 150px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.arcade-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    max-width: 1200px;
}

.arcade-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin: 0 0 15px 0;
    font-weight: 700;
}

.arcade-header p {
    color: #9ca3af;
    font-size: 18px;
    margin: 0;
}

.arcade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
}

.arcade-card {
    background: rgba(31, 41, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.arcade-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.arcade-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111827;
}

.arcade-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.arcade-card:hover .arcade-thumb img {
    opacity: 0.45;
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    color: #fbbf24;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.arcade-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.arcade-info {
    padding: 24px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #dbeafe;
    color: #1d4ed8;
}

.arcade-info h3 {
    margin: 12px 0 8px;
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

.arcade-info p {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.5;
}

.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.game-play-container.modal-version {
    width: 100%;
    max-width: 1000px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-modal-overlay.active .game-play-container.modal-version {
    transform: translateY(0);
}

.modal-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.game-play-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-play-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 1px;
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.game-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 900px) {
    .arcade-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 769px) {
    .arcade-grid {
        grid-template-columns: 1fr;
    }
    .game-play-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .modal-controls {
        width: 100%;
        justify-content: flex-start;
    }
}
