/* ================================
   Google Play Store Clone
   ================================ */

:root {
    --bg: #f8f9fa;
    --bg-white: #ffffff;
    --surface: #ffffff;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-hint: #80868b;
    --accent: #01875f;
    --accent-hover: #016848;
    --blue: #1a73e8;
    --blue-hover: #1765cc;
    --divider: #dadce0;
    --divider-light: #e8eaed;
    --hover: rgba(0, 0, 0, 0.04);
    --active-bg: #000;
    --active-text: #fff;
    --radius: 6px;
    --radius-lg: 6px;
    --radius-xl: 6px;
    --radius-pill: 100px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
    --transition: 0.2s ease;
    --sidebar-width: 240px;
    --topbar-height: 100px;
    --panel-height: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: 'Roboto', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ================================
   Super Top Bar — Black Bloomberg Style
   ================================ */

.super-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 101;
    height: 36px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.super-topbar-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 12px;
    font-family: 'Google Sans', 'Roboto', sans-serif;
    white-space: nowrap;
}

.super-topbar-link {
    color: rgba(255,255,255,0.75);
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.01em;
    padding: 0 14px;
    line-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
    white-space: nowrap;
}

.super-topbar-link:hover {
    color: #fff !important;
}

.super-topbar-link.highlight {
    color: #e8912d;
    font-weight: 700;
}

.super-topbar-link.highlight:hover {
    color: #f0b96a !important;
}

.super-topbar-sep {
    color: rgba(255,255,255,0.25);
    font-size: 13px;
    line-height: 36px;
    user-select: none;
    flex-shrink: 0;
}


/* Mega panel link hover */
.st-panel-link:hover { color: #fff !important; }

@media (max-width: 768px) {
    :root { --topbar-height: 100px; }
    .super-topbar-inner {
        padding: 0 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    .super-topbar-inner::-webkit-scrollbar { display: none; }
    .super-topbar-link {
        font-size: 11px;
        padding: 0 10px;
    }
    .super-topbar-sep {
        flex-shrink: 0;
    }

    /* Search modal responsive */
    .search-modal-layout {
        flex-direction: column !important;
        gap: 32px !important;
        padding: 20px 16px 40px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .search-modal-layout > div {
        width: 100% !important;
        min-width: 0 !important;
        flex: unset !important;
    }
    .search-news-slider {
        width: 100% !important;
        flex-shrink: unset !important;
    }
}

/* ================================
   Top Bar — Goldman Sachs Style
   ================================ */

.topbar {
    position: fixed;
    top: calc(36px + var(--panel-height, 0px));
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    height: 64px;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.15);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: top 0.32s ease;
}

.layout-content {
    transition: margin-top 0.32s ease;
}

.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}

.topbar-logo {
    display: flex;
    align-items: center;
    margin-right: 32px;
    flex-shrink: 0;
    align-self: center;
    overflow: hidden;
    width: 60px;
    height: 32px;
}

.logo-img {
    height: 28px;
    width: auto;
    display: block;
    flex-shrink: 0;
    vertical-align: middle;
    filter: brightness(0);
}

/* Nav links */
.topbar-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #5f6368;
    white-space: nowrap;
    transition: color 0.15s;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #202124;
}

.nav-link-active {
    color: #0a1628;
    border-bottom-color: #0a1628;
}

/* Right side */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.topbar-nav-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link-right {
    padding: 0 14px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.nav-link-right:hover {
    opacity: 0.8;
}

.topbar-search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.15s;
    border: none;
    font-size: 22px;
}

.topbar-search-btn:hover {
    opacity: 0.7;
}

.nav-btn-client {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    transition: all 0.15s;
    margin-left: 8px;
    white-space: nowrap;
}

.nav-btn-client:hover {
    background: #fff;
    color: #1a1a1a;
}

/* ================================
   GS Mega Dropdown
   ================================ */

.gs-mega {
    position: fixed;
    top: calc(var(--topbar-height) + var(--panel-height, 0px));
    left: 0;
    right: 0;
    display: none;
    z-index: 200;
    transition: top 0.32s ease;
}

.nav-item.has-dropdown:hover .gs-mega {
    display: block;
}

.gs-mega-inner {
    display: flex;
    background: #fff;
    border-bottom: 3px solid #1a2744;
    padding: 40px;
    padding-left: calc((100vw - 1400px) / 2 + 40px);
    padding-right: 0;
    gap: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

@media (max-width: 1480px) {
    .gs-mega-inner {
        padding-left: 40px;
    }
}

.gs-mega-intro {
    min-width: 180px;
    max-width: 200px;
    flex-shrink: 0;
    padding-right: 20px;
    border-right: 1px solid #e0e0e0;
}

.gs-mega-intro h3 {
    font-family: 'Google Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.gs-mega-intro p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.gs-mega-cta {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.15s;
    white-space: nowrap;
}

.gs-mega-cta:hover {
    background: #1a1a1a;
    color: #fff;
}

.gs-mega-col {
    min-width: 160px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gs-mega-col h5 {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.4;
}

.gs-mega-col a {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    padding: 8px 0;
    transition: color 0.15s;
}

.gs-mega-col a:hover {
    color: #6b90b2;
}

.gs-mega-feature {
    min-width: 240px;
    max-width: 280px;
    background: #f0f0f0;
    padding: 40px 32px;
    margin: -40px 0 -40px 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    border-left: none;
    margin-left: auto;
}

.gs-mega-feature h4 {
    font-family: 'Google Sans', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.gs-mega-feature p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.gs-mega-feature .material-symbols-outlined {
    font-size: 24px;
    color: #1a1a1a;
}

@media (max-width: 1480px) {
    .topbar-inner {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        padding: 0 16px;
    }
}

/* ================================
   Layout
   ================================ */

.layout {
    display: flex;
    margin-top: var(--topbar-height);
}

/* ================================
   Sidebar
   ================================ */

.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height));
    position: sticky;
    top: var(--topbar-height);
    background: var(--bg-white);
    border-right: 1px solid var(--divider-light);
    padding: 8px 0;
    overflow-y: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0 12px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    height: 48px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.sidebar-link:hover {
    background: var(--hover);
}

.sidebar-link.active {
    background: var(--active-bg);
    color: var(--active-text);
    font-weight: 700;
}

.sidebar-link .material-symbols-outlined {
    font-size: 24px;
}

.sidebar-divider {
    height: 1px;
    background: var(--divider-light);
    margin: 8px 0;
}

/* ================================
   Main Content
   ================================ */

.main-content {
    flex: 1;
    padding: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    padding: 8px 20px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    border: 1px solid var(--divider);
    transition: all var(--transition);
    background: var(--bg-white);
}

.cat-tab:hover {
    background: var(--hover);
}

.cat-tab.active {
    background: var(--active-bg);
    color: var(--active-text);
    border-color: var(--active-bg);
    font-weight: 600;
}

.marketplace-card:hover .marketplace-bid-btn {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.marketplace-card:hover .featured-bid-btn {
    background: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}


/* Companies Banner */
.companies-banner {
    display: flex;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 32px;
    background: #1a2744;
    cursor: pointer;
}

.companies-banner-text {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    min-width: 0;
}

.companies-banner-text h2 {
    font-family: 'Google Sans', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 12px;
}

.companies-banner-text p {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 28px;
}

.companies-banner-app {
    display: flex;
    align-items: center;
    gap: 14px;
}

.companies-banner-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: url('/obs-icon.png') center/cover no-repeat;
    flex-shrink: 0;
}

.companies-banner-btn {
    padding: 8px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: none;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.companies-banner-btn:hover {
    background: rgba(255,255,255,0.1);
}

.companies-banner-img {
    width: 45%;
    flex-shrink: 0;
    min-height: 220px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .companies-banner {
        flex-direction: column-reverse;
        border-radius: 0;
    }

    .companies-banner-text {
        padding: 24px 20px;
    }

    .companies-banner-text h2 {
        font-size: 22px;
    }

    .companies-banner-text p {
        margin-bottom: 20px;
    }

    .companies-banner-img {
        width: 100%;
        min-height: 180px;
    }

    .companies-banner-app {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Skeleton shimmer animation */
@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton-loading {
    background: linear-gradient(90deg, #e8eaed 25%, #f1f3f4 50%, #e8eaed 75%);
    background-size: 400px 100%;
    animation: shimmer 1.5s infinite ease-in-out;
}

/* ================================
   Featured Cards Slider
   ================================ */

.featured-slider {
    position: relative;
    margin-bottom: 32px;
}

.featured-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 4px;
    overscroll-behavior-x: contain;
}

.featured-track::-webkit-scrollbar {
    height: 0;
}

.featured-card {
    min-width: 420px;
    max-width: 420px;
    background: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .featured-card {
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }
}

.featured-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.featured-card-image {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-card-big-icon {
    font-size: 80px;
    color: rgba(255,255,255,0.2);
}

.featured-card-video {
    background: #111 !important;
}

.featured-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.featured-card-video .featured-card-overlay-text {
    z-index: 2;
}

.featured-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius);
}

.featured-card-overlay-text {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    color: #fff;
}

.featured-overlay-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.featured-overlay-sub {
    font-size: 13px;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.featured-card-body {
    padding: 14px 16px 16px;
}

.featured-card-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.featured-card-app {
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-card-app-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.featured-card-app-icon .material-symbols-outlined {
    font-size: 22px;
    color: #fff;
}

.featured-card-app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.featured-card-app-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-card-app-dev {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-card-install {
    padding: 8px 22px;
    border: 1px solid var(--divider);
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    color: #0a1628;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    flex-shrink: 0;
}

.featured-card-install:hover,
.featured-card:hover .featured-card-install {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Slider nav buttons */
.slider-btn {
    position: absolute;
    top: 150px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
    color: var(--text-primary);
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.featured-slider:hover .slider-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.slider-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slider-prev {
    left: -8px;
}

.slider-next {
    right: -8px;
}

@media (max-width: 768px) {
    .featured-card {
        min-width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .featured-card-image {
        height: 220px;
    }

    .featured-card-title {
        font-size: 14px;
    }

    .featured-card-app {
        gap: 8px;
    }

    .featured-card-install {
        padding: 6px 14px;
        font-size: 12px;
    }

    .slider-btn {
        display: none;
    }
}

/* ================================
   App Rows
   ================================ */

.app-row {
    margin-bottom: 36px;
}

.row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.row-header h2 {
    font-family: 'Google Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
}

.row-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background var(--transition);
}

.row-arrow:hover {
    background: var(--hover);
}

.row-subtitle {
    font-size: 13px;
    color: var(--text-hint);
    margin-bottom: 16px;
}

/* Horizontal scroll app cards (icon style) */
.app-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    background: #fff;
    border-radius: 0;
    padding: 12px;
}

.app-scroll::-webkit-scrollbar {
    height: 0;
}

/* App Card - Icon Style */
.app-card {
    min-width: 160px;
    max-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 0;
    padding: 8px 8px 12px;
}

.app-card-screenshot {
    width: 160px;
    height: 160px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.app-card-screenshot .material-symbols-outlined {
    font-size: 48px;
    color: rgba(255,255,255,0.5);
}

.property-card:hover .property-bid-btn {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.featured-card:hover .featured-bid-btn {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

.app-card:hover .bid-btn {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.app-card-bottom {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.app-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-card-icon .material-symbols-outlined {
    font-size: 20px;
    color: #fff;
}

.app-card-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-card-name {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.app-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--text-secondary);
}

.app-card-rating .material-symbols-outlined {
    font-size: 12px;
}

/* App List Style (numbered, for top charts) */
.app-list-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-top: 12px;
    background: #fff;
    border-radius: 0;
    padding: 8px 20px;
}

.app-list-scroll::-webkit-scrollbar {
    height: 0;
}

.app-list-col {
    display: flex;
    flex-direction: column;
    min-width: 340px;
}

.app-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.app-list-item:hover {
    background: var(--hover);
}

.app-list-rank {
    width: 28px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.app-list-icon {
    width: 56px;
    height: 56px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--divider-light);
    overflow: hidden;
}

.app-list-icon .material-symbols-outlined {
    font-size: 28px;
    color: #fff;
}

.app-list-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.app-list-name {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-list-info {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-list-info .material-symbols-outlined {
    font-size: 12px;
}

/* ================================
   Promo Banner
   ================================ */

.auction-tooltip {
    display: none;
    position: fixed;
    width: 240px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow: hidden;
    pointer-events: none;
}

.tooltip-buttons {
    display: none;
}

@media (max-width: 768px) {
    .auction-tooltip {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: 280px;
        pointer-events: auto;
    }
    .tooltip-buttons {
        display: flex;
        gap: 8px;
    }
}

.app-list-item:hover .auction-tooltip {
    display: block;
}

.promo-banner {
    border-radius: 0;
    padding: 36px 40px;
    margin-bottom: 36px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.promo-overlay {
    display: none;
}

@media (max-width: 768px) {
    .promo-overlay {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1;
    }
}

.promo-content {
    z-index: 2;
    max-width: 480px;
}

.promo-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #000;
    color: #fff;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.promo-content h3 {
    font-family: 'Google Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-content p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-btn {
    padding: 10px 24px;
    background: #fff;
    color: #1a73e8;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}

.promo-btn:hover {
    background: #000 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.promo-icon {
    z-index: 0;
}

/* ================================
   Footer — Google Play Style
   ================================ */

.site-footer {
    background: #fff;
    border-top: 1px solid #dadce0;
}

.footer-main,
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.footer-main {
    display: flex;
    gap: 80px;
    padding-top: 32px;
    padding-bottom: 32px;
    align-items: flex-start;
}

.footer-subscribe-band {
    background: #000 url('/subscribe-bg.svg') center center / auto repeat;
    border-bottom: 1px solid #111;
}

.footer-subscribe-band-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 64px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.footer-subscribe-left {
    flex: 1;
    max-width: 520px;
}

.footer-subscribe-tag {
    font-size: 13px;
    font-weight: 600;
    color: #D4870A;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.footer-subscribe-heading {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 14px;
    font-family: 'Google Sans', sans-serif;
}

.footer-subscribe-sub {
    font-size: 14px;
    color: #9aa0a6;
    line-height: 1.7;
    margin: 0;
}

.footer-subscribe-right {
    flex-shrink: 0;
    width: 460px;
}

.footer-subscribe-form {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
}

.footer-subscribe-input {
    border: none;
    border-radius: 0;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    color: #202124;
    background: #fff;
    outline: none;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.footer-subscribe-input::placeholder {
    color: #9aa0a6;
}

.footer-subscribe-input:focus {
    background: #fff;
}

.footer-subscribe-btn {
    background: #3224f5;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}

.footer-subscribe-btn:hover {
    background: #4a8cf7;
    color: #fff;
}

.footer-subscribe-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.footer-subscribe-disclaimer {
    font-size: 12px;
    color: #5f6368;
    margin: 10px 0 0;
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    color: #5f6368;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-col {
    flex: none;
    min-width: 0;
}

.footer-col a {
    font-size: 13px;
    color: #5f6368;
    transition: color 0.15s;
}

.footer-col a:hover {
    color: #202124;
}

.footer-mid {
    border-top: 1px solid #dadce0;
}

.footer-mid-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-mid-brand {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

.footer-mid-links {
    display: flex;
    gap: 24px;
}

.footer-mid-links a {
    font-size: 13px;
    color: #5f6368;
    transition: color 0.15s;
}

.footer-mid-links a:hover {
    color: #202124;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #dadce0;
    font-size: 12px;
    color: #5f6368;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #5f6368;
    transition: color 0.15s;
    font-size: 12px;
}

.footer-bottom-links a:hover {
    color: #202124;
}

.footer-sep {
    color: #dadce0;
}

.footer-bottom-right {
    font-size: 12px;
    color: #5f6368;
}

@media (max-width: 768px) {
    .site-footer {
    }

    .footer-main,
    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-main {
        flex-wrap: wrap;
        gap: 28px 24px;
    }

    .footer-col {
        flex: none;
        width: calc(50% - 12px);
    }

    .footer-subscribe-band-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        gap: 32px;
    }

    .footer-subscribe-left {
        max-width: 100%;
    }

    .footer-subscribe-heading {
        font-size: 26px;
    }

    .footer-subscribe-right {
        width: 100%;
    }

    .footer-subscribe-form {
        width: 100%;
        min-width: 0;
        flex-direction: column;
    }

    .footer-mid-inner {
        padding: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .footer-sep {
        display: none;
    }
}

/* ================================
   Responsive
   ================================ */

/* Burger button — hidden on desktop */
.burger-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.15s;
    border: none;
}

.burger-btn:hover {
    opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    border-left: 1px solid #ddd;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #000;
}

.mobile-menu-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    overflow-y: auto;
    min-height: 0;
}

.mobile-menu-group {
    display: flex;
    flex-direction: column;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.15s;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.mobile-menu-link:hover {
    color: #6b90b2;
    background: #f5f5f5;
}

.mobile-menu-link.active {
    color: #6b90b2;
}

.mobile-chev {
    font-size: 20px;
    transition: transform 0.25s;
    opacity: 0.5;
}

.mobile-menu-link.has-sub.open .mobile-chev {
    transform: rotate(180deg);
    opacity: 0.8;
    color: #6b90b2;
}

.mobile-sub-menu {
    display: none;
    flex-direction: column;
    background: #f8f8f8;
    border-top: 1px solid #e8e8e8;
}

.mobile-sub-menu.open {
    display: flex;
}

.mobile-sub-link {
    padding: 12px 24px 12px 48px;
    font-size: 14px;
    color: #555;
    transition: all 0.15s;
}

.mobile-sub-link:hover {
    color: #6b90b2;
    background: #f0f0f0;
}

.mobile-menu-footer {
    padding: 4px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: #fff;
}

.mobile-menu-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s;
    text-decoration: none;
}

.mobile-menu-btn.login {
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.mobile-menu-btn.login:hover {
    background: #fff;
    color: #1a1a1a;
}

.mobile-menu-btn:not(.login):hover {
    background: #e2e5e8;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .main-content {
        max-width: 100vw;
        padding: 20px 24px;
    }

    .topbar {
        justify-content: space-between;
    }

    .topbar-left {
        flex: 0 0 auto;
    }

    .topbar-nav,
    .topbar-nav-right {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .nav-btn-client {
        padding: 6px 14px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }

    .app-list-col {
        min-width: 280px;
    }

    .promo-banner {
        padding: 28px 24px;
    }

    .promo-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .app-card {
        min-width: 130px;
        max-width: 130px;
    }

    .app-card-screenshot {
        width: 130px;
        height: 130px;
    }
}

/* More dropdown links */
.more-dropdown-link {
    display: block;
    padding: 16px 24px;
    font-size: 14px;
    color: #5f6368;
    text-decoration: none;
    transition: background 0.15s;
}
.more-dropdown-link:hover {
    background: #f1f3f4;
}

/* Auction card bid button */
.auction-bid-btn {
    transition: all 0.2s ease;
}
.app-card:hover .auction-bid-btn {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Auction card bid button mobile */
@media (max-width: 768px) {
    .auction-card-bottom {
        flex-wrap: wrap !important;
    }
    .auction-bid-btn {
        width: 100% !important;
        padding: 10px 0 !important;
        margin-top: 0;
        text-align: center;
    }
    .auction-card-bottom {
        gap: 0 !important;
        flex-direction: column;
    }
    .auction-card-bottom .app-card-meta {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Marketplace Hero & Property Cards */
.marketplace-hero-card {
    min-width: 420px;
    max-width: 420px;
}
.marketplace-prop-card {
    min-width: calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
}

@media (max-width: 768px) {
    .marketplace-hero-card {
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }
    .marketplace-hero-card .featured-bid-btn {
        padding: 8px 16px !important;
    }
    .marketplace-prop-card {
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }
}

/* Newsroom Page */
.newsroom-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.newsroom-title {
    font-size: 32px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 8px;
    font-family: 'Google Sans', sans-serif;
}
.newsroom-subtitle {
    font-size: 15px;
    color: #5f6368;
    margin-bottom: 48px;
    line-height: 1.6;
}
.newsroom-section {
    margin-bottom: 64px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    border-top: 1px solid #e8eaed;
    padding-top: 40px;
}
.newsroom-section-left {
    display: flex;
    flex-direction: column;
}
.newsroom-cat-title {
    font-size: 24px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 12px;
    font-family: 'Google Sans', sans-serif;
}
.newsroom-cat-desc {
    font-size: 14px;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 24px;
}
.newsroom-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: 1fr;
}
.newsroom-articles-grid > a {
    display: flex;
}
.newsroom-articles-grid > a > article {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.newsroom-articles-grid > a > article > div:last-child {
    flex: 1;
}

@media (max-width: 1024px) {
    .newsroom-section {
        grid-template-columns: 220px 1fr;
        gap: 32px;
    }
    .newsroom-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .newsroom-page {
        padding: 24px 16px 60px;
    }
    .newsroom-title {
        font-size: 24px;
    }
    .newsroom-subtitle {
        margin-bottom: 32px;
    }
    .newsroom-section {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
        padding-top: 28px;
    }
    .newsroom-articles-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Newsroom Article Page */
@media (max-width: 768px) {
    .article-body {
        font-size: 15px;
    }
    .article-body h2 {
        font-size: 20px;
        margin: 28px 0 12px;
    }
    .article-body blockquote {
        margin: 16px 0;
        padding: 12px 16px;
    }
}

/* Newsroom View All Button */
.newsroom-view-all {
    display: inline-block;
    padding: 10px 24px;
    background: #0a1628;
    color: #fff;
    border: 2px solid #0a1628;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}
.newsroom-view-all::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}
.newsroom-view-all:hover {
    color: #0a1628;
    border-color: #0a1628;
}
.newsroom-view-all:hover::before {
    transform: translateX(0);
}

/* Article Body */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #3c4043;
    font-family: 'Roboto', sans-serif;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 400;
    color: #202124;
    margin: 40px 0 16px;
    font-family: 'Google Sans', sans-serif;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin: 32px 0 12px;
    font-family: 'Google Sans', sans-serif;
}

.article-body p {
    margin: 0 0 16px;
}

.article-body ul {
    margin: 0 0 20px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body strong {
    color: #202124;
    font-weight: 500;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 4px solid #0a1628;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #5f6368;
    line-height: 1.7;
}

.article-body a {
    color: #0a1628;
    font-weight: 500;
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}
