@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --black: #080808;
    --dark: #0e0e0e;
    --card: #141414;
    --gold: #e9b949;
    --gold-light: #ffd978;
    --white: #f7f7f7;
    --gray: #999;
    --border: #292929;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--black);
    color: var(--white);
    padding-bottom: 75px;
}


/* ================= HEADER ================= */

.header {
    height: 72px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;

    color: white;
    text-decoration: none;

    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand span span,
.footer-brand span {
    color: var(--gold);
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    background: #151515;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.menu-button span {
    width: 19px;
    height: 2px;
    background: var(--gold);
}


/* ================= HERO ================= */

.hero {
    min-height: 570px;
    padding: 60px 25px 55px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 90% 30%, #38260a 0%, transparent 35%),
        linear-gradient(145deg, #080808, #15110a);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-label {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    margin-top: 20px;

    font-size: clamp(44px, 12vw, 72px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-text {
    max-width: 320px;

    margin-top: 25px;

    color: #c5c5c5;
    font-size: 16px;
    line-height: 1.6;
}

.hero-rule {
    width: fit-content;
    max-width: 100%;
    margin-top: 18px;
    padding: 9px 12px;

    display: flex;
    align-items: center;
    gap: 7px;

    border: 1px solid rgba(233, 185, 73, 0.28);
    border-radius: 999px;
    background: rgba(233, 185, 73, 0.055);

    color: #bdbdbd;
    font-size: 9px;
    letter-spacing: 0.65px;
    white-space: nowrap;
}

.hero-rule strong {
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 700;
}

.hero-rule-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 9px rgba(233, 185, 73, 0.7);
}

.gold-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    margin-top: 30px;
    padding: 15px 21px;

    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );

    color: #111;
    text-decoration: none;

    border-radius: 10px;

    font-weight: 700;
    font-size: 14px;
}

.gold-button span {
    font-size: 20px;
}

.hero-decoration {
    height: 210px;
    width: 100%;

    position: absolute;
    right: -20px;
    bottom: 0;
}

.gold-ring {
    position: absolute;

    width: 260px;
    height: 260px;

    right: -70px;
    bottom: -90px;

    border: 2px solid rgba(233, 185, 73, 0.45);
    border-radius: 50%;

    box-shadow:
        0 0 50px rgba(233, 185, 73, 0.12);
}

.hero-product {
    position: absolute;

    right: 30px;
    bottom: 25px;

    width: 145px;
    height: 180px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 35px;
    font-weight: 800;

    color: var(--gold);

    background:
        linear-gradient(145deg, #29200e, #080808);

    border: 1px solid #59451d;

    transform: rotate(-7deg);

    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}


/* ================= SECTIONS ================= */

.section {
    padding: 50px 18px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 25px;
}

.section-heading h2,
.how-section h2 {
    margin-top: 7px;

    font-size: 27px;
    letter-spacing: -1px;
}

.view-all {
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}


/* ================= AUCTION CARDS ================= */

.auction-list {
    display: flex;
    gap: 16px;

    overflow-x: auto;

    padding-bottom: 10px;

    scroll-snap-type: x mandatory;
}

.auction-list::-webkit-scrollbar {
    display: none;
}

.auction-card {
    flex: 0 0 86%;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    scroll-snap-align: start;
}

.product-box {
    aspect-ratio: 4 / 3;
    height: auto;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.product-phone {
    background:
        radial-gradient(circle at 50% 45%, #5b304c, transparent 45%),
        linear-gradient(145deg, #21151d, #090909);
}

.product-laptop {
    background:
        radial-gradient(circle at 50% 50%, #282c49, transparent 50%),
        #090909;
}

.product-watch {
    background:
        radial-gradient(circle at 50% 50%, #304633, transparent 50%),
        #090909;
}


/* fake phone */

.phone-shape {
    width: 125px;
    height: 230px;

    border-radius: 23px;

    background: linear-gradient(145deg, #39233b, #090909);

    border: 3px solid #555;

    box-shadow: 0 25px 45px rgba(0,0,0,0.7);

    position: relative;
}

.camera {
    position: absolute;

    width: 45px;
    height: 45px;

    top: 15px;
    left: 12px;

    border-radius: 13px;

    background: #111;

    border: 2px solid #777;
}


/* fake laptop */

.laptop-shape {
    width: 230px;
    height: 145px;

    background: #777;

    border-radius: 8px 8px 3px 3px;

    padding: 7px;

    transform: perspective(400px) rotateX(-5deg);
}

.screen {
    width: 100%;
    height: 100%;

    background:
        radial-gradient(circle, #3b416b, #080808);

    border-radius: 4px;
}

.laptop-shape::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 8px;

    left: -15px;
    bottom: -8px;

    background: #999;

    border-radius: 50%;
}


/* fake watch */

.watch-shape {
    width: 145px;
    height: 145px;

    border-radius: 50%;

    background: linear-gradient(145deg, #555, #111);

    border: 9px solid #888;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 20px 40px #000;
}

.watch-face {
    width: 105px;
    height: 105px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #090909;

    border: 2px solid var(--gold);

    color: var(--gold);

    font-size: 28px;
    font-weight: 700;
}


/* badges */

.trending {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 8px 11px;

    background: var(--gold);
    color: #111;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
}



/* auction info */

.auction-info {
    padding: 20px;
}

.auction-info h3 {
    font-size: 19px;
}

.details {
    margin-top: 7px;

    color: var(--gray);

    font-size: 12px;
}


/* live auction quick stats */

.auction-meta {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auction-meta .fee,
.participants {
    margin-top: 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,0.018);
}

.auction-meta .coin,
.people-icon {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
}

.participants small {
    display: block;
    color: var(--gray);
    font-size: 9px;
}

.participants strong {
    display: block;
    margin-top: 3px;
    color: #eee;
    font-size: 13px;
}

/* countdown */

.countdown {
    margin-top: 18px;
    padding: 13px;

    display: flex;
    align-items: center;
    gap: 12px;

    border: 1px solid var(--border);

    border-radius: 10px;
}

.clock {
    color: var(--gold);
    font-size: 28px;
}

.countdown small,
.fee small {
    display: block;

    color: var(--gray);
    font-size: 10px;
}

.countdown strong {
    display: block;

    margin-top: 4px;

    font-size: 18px;
    letter-spacing: 2px;
}


/* fee */

.fee {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin {
    color: var(--gold);
    font-size: 32px;
}

.fee strong {
    display: block;

    margin-top: 3px;

    color: var(--gold-light);

    font-size: 17px;
}


/* button */

.auction-button {
    width: 100%;

    margin-top: 20px;
    padding: 15px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        var(--gold-light),
        var(--gold)
    );

    color: #111;

    font-size: 14px;
    font-weight: 700;
}

.auction-button span {
    margin-left: 15px;
    font-size: 18px;
}


/* ================= HOW IT WORKS ================= */

.how-section {
    margin: 10px 18px 50px;
    padding: 35px 20px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background:
        radial-gradient(circle at top right, #30230d, transparent 40%),
        #101010;
}

.how-intro {
    margin-top: 10px;

    color: var(--gray);
    font-size: 13px;
}

.steps {
    margin-top: 30px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 28px 15px;
}

.step {
    position: relative;
}

.step-number {
    color: var(--gold);

    font-size: 11px;
    font-weight: 700;
}

.step-icon {
    width: 52px;
    height: 52px;

    margin-top: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #806321;
    border-radius: 50%;

    color: var(--gold);

    font-size: 25px;
}

.step h3 {
    margin-top: 13px;

    font-size: 14px;
}

.step p {
    margin-top: 7px;

    color: var(--gray);

    font-size: 11px;
    line-height: 1.5;
}


/* ================= PREMIUM BOTTOM NAV ================= */
@keyframes navBorderSpin {
    to { transform: rotate(360deg); }
}

.bottom-nav {

    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(430px, calc(100% - 24px));
    height: 64px;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    gap: 3px;
    background: rgba(14, 14, 14, 0.94);
    border: 1px solid transparent;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.42), 0 2px 8px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 200;
}

.bottom-nav::before {
    content: '';
    position: absolute;
    inset: -70%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 300deg,
        rgba(233,185,73,.18) 318deg,
        #e9b949 336deg,
        #fff0b3 347deg,
        #e9b949 354deg,
        rgba(233,185,73,.12) 360deg
    );
    animation: navBorderSpin 4.5s linear infinite;
    pointer-events: none;
    z-index: -2;
}

.bottom-nav::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 21px;
    background: rgba(14, 14, 14, 0.94);
    pointer-events: none;
    z-index: -1;
}

.bottom-nav a {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    color: #777;
    text-decoration: none;
    border-radius: 17px;
    transition: color .18s ease, background .18s ease, transform .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav a:active { transform: scale(.96); }

.bottom-nav .nav-icon {
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav .nav-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bottom-nav small {
    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .15px;
}

.bottom-nav a.active {
    color: var(--gold-light, #e9b949);
    background: rgba(233, 185, 73, .09);
}

.bottom-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

@media (min-width: 768px) {
    .bottom-nav { bottom: 20px; }
}
/* ================= FOOTER ================= */

footer {
    padding: 40px 20px;

    text-align: center;

    border-top: 1px solid var(--border);

    color: var(--gray);
}

.footer-brand {
    color: white;

    font-size: 22px;
    font-weight: 800;
}

footer p {
    margin-top: 8px;

    font-size: 11px;
}

footer .copyright {
    margin-top: 25px;
    color: #555;
}


/* ================= DESKTOP ================= */

@media (min-width: 768px) {

    body {
        padding-bottom: 0;
    }

    .header {
        padding: 0 7%;
    }

    .hero {
        min-height: 600px;
        padding-left: 8%;
    }

    .hero-content {
        max-width: 550px;
    }

    .auction-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
    }

    .auction-card {
        width: 100%;
    }

    .bottom-nav {
        display: flex;
    }

    .section {
        max-width: 1200px;
        margin: auto;
    }

    .how-section {
        max-width: 1160px;
        margin: 30px auto 70px;
    }

    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================= AUCTION SLIDER ================= */

.auction-list {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.auction-list::-webkit-scrollbar {
    display: none;
}

.auction-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
}

.auction-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
}

.dot {
    width: 7px;
    height: 7px;
    padding: 0;
    margin: 0;

    border: none;
    border-radius: 50%;

    background: #555;
}

.dot.active {
    width: 20px;
    border-radius: 10px;
    background: var(--gold);
}


/* Don't show the dots on large screens */

@media (min-width: 768px) {

    .auction-dots {
        display: none;
    }

}

.auction-button {
    display: block;
    text-align: center;
    text-decoration: none;
}

/* ==========================================
   MOBILE MENU
========================================== */

.mobile-menu {
    display: none;

    position: absolute;
    top: 65px;
    right: 15px;

    width: 190px;

    background: #141414;

    border: 1px solid #292929;
    border-radius: 12px;

    padding: 8px;

    z-index: 999;
}

.mobile-menu a {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 12px;

    color: #f5f5f5;

    text-decoration: none;

    font-size: 13px;

    border-radius: 8px;
}

.mobile-menu a:hover {
    background: #1f1f1f;
}

.mobile-menu a > span:first-child {
    width: 22px;
    flex: 0 0 22px;

    color: #e9b949;

    font-size: 18px;

    text-align: center;
}

.mobile-menu .menu-item-label {
    width: auto;
    flex: 1;
    color: inherit;
    font-size: inherit;
    text-align: left;
    line-height: 1.2;
}

.mobile-menu.show {
    display: block;
}

/* ================= AUCTION POPUP ================= */

.auction-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.auction-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auction-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(9px);
}

.auction-modal-card {
    position: relative;
    z-index: 1;

    width: min(720px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;

    padding: 22px;

    background:
        radial-gradient(circle at 15% 0%, rgba(233,185,73,0.09), transparent 28%),
        linear-gradient(145deg, #151515, #0b0b0b);

    border: 1px solid #70551f;
    border-radius: 20px;

    box-shadow:
        0 30px 90px rgba(0,0,0,0.8),
        0 0 35px rgba(233,185,73,0.08);

    transform: translateY(15px) scale(0.98);
    transition: transform 0.22s ease;
}

.auction-modal.show .auction-modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;

    width: 38px;
    height: 38px;

    border: 1px solid #383838;
    border-radius: 50%;

    background: rgba(8,8,8,0.75);
    color: var(--gold);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
    z-index: 3;
}

.modal-product {
    display: grid;
    grid-template-columns: minmax(250px, 0.95fr) minmax(260px, 1.05fr);
    gap: 22px;

    padding-right: 35px;
}

.modal-image-box {
    min-height: 285px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid #4d3b19;
    border-radius: 15px;

    background:
        radial-gradient(circle at 50% 45%, #3b2810, transparent 52%),
        #0b0b0b;
}

.modal-image-box img {
    width: 100%;
    height: 100%;
    max-height: 300px;

    object-fit: contain;
    padding: 18px;
}

.modal-live {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 2;

    padding: 7px 10px;

    border-radius: 7px;

    background: #9d2323;
    color: white;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;

    box-shadow: 0 6px 15px rgba(0,0,0,0.35);
}

.modal-details {
    padding-top: 15px;
}

.modal-category {
    display: inline-block;

    padding: 5px 9px;

    border: 1px solid #71561e;
    border-radius: 6px;

    color: var(--gold);
    background: #17130a;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.modal-details h2 {
    margin-top: 12px;

    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.modal-description {
    margin-top: 9px;

    color: var(--gray);
    font-size: 12px;
}

.modal-stats {
    margin-top: 25px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    border: 1px solid #332b1c;
    border-radius: 12px;

    background: rgba(8,8,8,0.55);
}

.modal-stats > div {
    min-width: 0;
    padding: 14px 10px;
    text-align: center;
}

.modal-stats > div + div {
    border-left: 1px solid #332b1c;
}

.stat-icon {
    display: block;

    color: var(--gold);
    font-size: 20px;
    margin-bottom: 5px;
}

.modal-stats small {
    display: block;

    color: var(--gray);
    font-size: 9px;
}

.modal-stats strong {
    display: block;

    margin-top: 4px;

    color: var(--gold-light);
    font-size: 15px;
}

.modal-fee {
    margin-top: 14px;
    padding: 13px 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border: 1px solid #3b321f;
    border-radius: 10px;

    background: #11100d;
}

.modal-fee span {
    color: var(--gray);
    font-size: 11px;
}

.modal-fee strong {
    color: var(--gold-light);
    font-size: 14px;
}

.modal-bid-section {
    margin-top: 22px;
    padding: 20px;

    border: 1px solid #302817;
    border-radius: 15px;

    background: rgba(8,8,8,0.48);
}

.modal-bid-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.bid-heading-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #70551f;
    border-radius: 50%;

    color: var(--gold);
    font-size: 19px;
}

.modal-bid-heading small {
    color: var(--gold);
    font-size: 8px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.modal-bid-heading h3 {
    margin-top: 3px;
    font-size: 16px;
}

.quick-bids {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;

    margin-top: 18px;
}

.quick-bids button {
    min-height: 52px;

    border: 1px solid #373737;
    border-radius: 9px;

    background: #111;
    color: var(--white);

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.quick-bids button.active {
    border-color: var(--gold);
    color: var(--gold-light);

    background:
        linear-gradient(145deg, #241d0e, #111);
    box-shadow: inset 0 0 0 1px rgba(233,185,73,0.15);
}

.modal-counter {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.modal-counter-button {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border: 1px solid #806321;
    border-radius: 50%;

    background: #101010;
    color: var(--gold);

    font-size: 27px;
    line-height: 1;

    cursor: pointer;
}

.modal-counter-button:active {
    transform: scale(0.94);
}

.modal-bid-value {
    min-width: 150px;
    text-align: center;
}

.modal-bid-value small {
    display: block;

    color: var(--gray);
    font-size: 9px;
}

.modal-bid-value strong {
    display: block;

    margin-top: 3px;

    color: var(--gold-light);
    font-size: 24px;
}

.modal-bid-note {
    margin-top: 13px;

    color: #666;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

.modal-payment-button {
    width: 100%;
    height: 53px;

    margin-top: 17px;

    border: none;
    border-radius: 11px;

    background:
        linear-gradient(135deg, var(--gold-light), var(--gold));

    color: #111;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;

    cursor: pointer;
}

.modal-payment-button span {
    margin-left: 8px;
    font-size: 17px;
}

body.modal-open {
    overflow: hidden;
}


/* ================= AUCTION POPUP MOBILE ================= */

@media (max-width: 600px) {

    .auction-modal {
        align-items: center;
        padding: 18px;
    }

    .auction-modal-card {
        width: 92%;
        max-height: 86vh;

        padding: 14px 13px 16px;

        border-radius: 16px;
        border-bottom: 1px solid #70551f;

        transform: translateY(15px) scale(0.98);
    }

    .modal-product {
        display: block;
        padding-right: 0;
    }

    .modal-image-box {
        min-height: 150px;
        height: 150px;

        margin-right: 35px;
    }

    .modal-image-box img {
        max-height: 150px;
        padding: 7px;
    }

    .modal-details {
        padding-top: 11px;
    }

    .modal-details h2 {
        font-size: 20px;
        padding-right: 22px;
    }

    .modal-description {
        font-size: 11px;
    }

    .modal-stats {
        margin-top: 11px;
    }

    .modal-stats > div {
        padding: 8px 6px;
    }

    .modal-fee {
        margin-top: 8px;
        padding: 10px 12px;
    }

    .modal-bid-section {
        margin-top: 11px;
        padding: 11px 10px;
    }

    .quick-bids {
        gap: 5px;
        margin-top: 12px;
    }

    .quick-bids button {
        min-height: 40px;
        font-size: 10px;
    }

    .modal-counter {
        gap: 14px;
        margin-top: 12px;
    }

    .modal-counter-button {
        width: 40px;
        height: 40px;
    }

    .modal-bid-value strong {
        font-size: 20px;
    }

    .modal-payment-button {
        height: 47px;
        margin-top: 11px;
    }
}

/* ==========================================
   ACTIVE AUCTIONS POPUP
========================================== */

.active-auctions-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 1200;
}

.active-auctions-overlay.show {
    display: flex;
}

.active-auctions-popup {
    position: relative;
    width: min(410px, 100%);
    max-height: 84vh;
    overflow-y: auto;
    padding: 23px 16px 18px;
    background: #101010;
    border: 1px solid #7f5f20;
    border-radius: 19px;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.68);
}

.active-auctions-close {
    position: absolute;
    top: 11px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid #302a1e;
    border-radius: 50%;
    background: #171717;
    color: var(--gold);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.active-auctions-header {
    padding: 2px 42px 16px 3px;
}

.active-auctions-header .popup-label {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 1.8px;
    font-weight: 700;
    margin-bottom: 5px;
}

.active-auctions-header h2 {
    color: var(--white);
    font-size: 23px;
    margin-bottom: 5px;
}

.active-auctions-header > p:last-child {
    color: var(--gray);
    font-size: 10px;
    line-height: 1.45;
}

.active-auctions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.active-auction-item {
    display: flex;
    gap: 11px;
    padding: 10px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 13px;
}

.active-auction-image {
    width: 82px;
    height: 100px;
    flex: 0 0 82px;
    overflow: hidden;
    border-radius: 9px;
    background: #0c0c0c;
}

.active-auction-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.active-auction-info {
    min-width: 0;
    flex: 1;
}

.live-badge {
    display: inline-flex;
    color: var(--gold);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.7px;
    margin-bottom: 4px;
}

.active-auction-info h3 {
    color: var(--white);
    font-size: 13px;
    margin-bottom: 3px;
}

.active-auction-info > p {
    color: var(--gray);
    font-size: 8px;
    line-height: 1.35;
    margin-bottom: 7px;
}

.active-auction-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 7px;
}

.active-auction-meta span,
.active-auction-meta strong {
    font-size: 7.5px;
}

.active-auction-meta span {
    color: #777;
}

.active-auction-meta strong {
    color: var(--gold-light);
    white-space: nowrap;
}

.active-view-button {
    width: 100%;
    height: 32px;
    border: 1px solid #76591f;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #111;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
}

.active-view-button span {
    margin-left: 5px;
    font-size: 11px;
}

@media (max-width: 380px) {
    .active-auctions-overlay {
        padding: 14px;
    }

    .active-auctions-popup {
        padding-left: 13px;
        padding-right: 13px;
    }

    .active-auction-item {
        gap: 8px;
        padding: 8px;
    }

    .active-auction-image {
        width: 74px;
        height: 94px;
        flex-basis: 74px;
    }
}

/* MY AUCTIONS POPUP */
.my-auctions-overlay{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:18px 14px;background:rgba(0,0,0,.74);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);z-index:1000}
.my-auctions-overlay.show{display:flex}
.my-auctions-popup{position:relative;width:min(430px,100%);max-height:88vh;overflow-y:auto;padding:23px 16px 18px;background:#101010;border:1px solid #8c681e;border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.65)}
.my-auctions-close{position:absolute;top:11px;right:12px;width:34px;height:34px;border:1px solid #30291b;border-radius:50%;background:#171717;color:var(--gold);font-size:24px;line-height:1;cursor:pointer}
.my-auctions-header{padding:2px 42px 13px 3px}.my-auctions-label{color:var(--gold);font-size:9px;letter-spacing:2px;font-weight:700;margin:0 0 5px}.my-auctions-header h2{color:var(--white);font-size:23px;margin:0 0 5px}.my-auctions-header p:last-child{color:var(--gray);font-size:10px;margin:0}
.my-auctions-tabs{display:flex;gap:6px;padding-bottom:13px}.my-tab{flex:1;height:31px;border:1px solid #292929;border-radius:8px;background:#151515;color:#777;font-size:9px;font-weight:700;cursor:pointer}.my-tab.active{background:#e9b949;border-color:#e9b949;color:#111}
.my-auctions-list{display:flex;flex-direction:column;gap:11px}.my-auction-item{display:flex;gap:11px;padding:10px;background:#151515;border:1px solid #292929;border-radius:14px}.my-auction-image{width:78px;height:101px;flex:0 0 78px;overflow:hidden;border-radius:9px;background:#0c0c0c}.my-auction-image img{width:100%;height:100%;object-fit:contain;padding:6px}.my-auction-info{min-width:0;flex:1}.my-status{display:inline-block;font-size:8px;font-weight:800;letter-spacing:.7px;margin-bottom:4px}.my-status.live{color:#e9b949}.my-status.closed{color:#777}.my-auction-info h3{color:var(--white);font-size:13px;margin:0 0 4px}.my-auction-info>p{color:#777;font-size:9px;margin:0 0 7px}.my-bid-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:7px 8px;background:#101010;border:1px solid #242424;border-radius:8px;margin-bottom:6px}.my-bid-row span,.my-result-row span{color:#777;font-size:8px}.my-bid-row strong{color:var(--gold-light);font-size:11px}.my-lock{color:#626262;font-size:8px}.my-result-row{display:flex;align-items:center;justify-content:space-between;padding:3px 0}.my-result-row strong{color:#bbb;font-size:9px}.my-result-row.your-bid{margin-top:3px;padding-top:6px;border-top:1px solid #292929}.my-result-row.your-bid strong{color:var(--gold-light)}.my-result-state{margin-top:7px;padding:5px 7px;border-radius:7px;background:#111;color:#777;font-size:8px}.my-auction-item.hidden{display:none}
@media(max-width:380px){.my-auctions-popup{padding-left:13px;padding-right:13px}.my-auction-item{gap:8px;padding:9px}.my-auction-image{width:72px;height:96px;flex-basis:72px}}

/* ================= CLOSED AUCTIONS ================= */

.closed-auctions-section {
    padding-top: 5px;
}

.closed-auction-card .product-box {
    position: relative;
    filter: saturate(.78);
}

.closed-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 10px;
    background: rgba(12,12,12,.9);
    color: #bdbdbd;
    border: 1px solid #454545;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.closed-category {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.closed-result-grid {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 8px;
}

.closed-result-grid > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #292929;
    border-radius: 10px;
    background: #111;
}

.closed-result-grid small {
    display: block;
    color: #777;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.closed-result-grid strong {
    display: block;
    margin-top: 5px;
    color: #ddd;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.closed-result-grid > div:last-child strong {
    color: var(--gold-light);
}

.no-winner-result > div:first-child strong {
    color: #bdbdbd;
}

.closed-button {
    margin-top: 14px;
}

@media (min-width: 768px) {
    .closed-auctions-section {
        padding-top: 10px;
    }
}

/* ================= CLOSED RESULTS POPUP ================= */
.closed-results-overlay {
    position: fixed; inset: 0; z-index: 1001;
    display: flex; align-items: center; justify-content: center; padding: 18px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    background: rgba(0,0,0,.82); backdrop-filter: blur(9px);
}
.closed-results-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
.closed-results-popup {
    position: relative; width: min(720px,100%); max-height: calc(100vh - 36px); overflow-y: auto;
    padding: 24px; border: 1px solid #70551f; border-radius: 20px;
    background: radial-gradient(circle at 15% 0%,rgba(233,185,73,.09),transparent 28%),linear-gradient(145deg,#151515,#0b0b0b);
    box-shadow: 0 30px 90px rgba(0,0,0,.8),0 0 35px rgba(233,185,73,.08);
    transform: translateY(15px) scale(.98); transition: transform .22s ease;
}
.closed-results-overlay.show .closed-results-popup { transform: translateY(0) scale(1); }
.closed-results-close {
    position:absolute; top:12px; right:14px; width:38px; height:38px; border:1px solid #383838; border-radius:50%;
    background:rgba(8,8,8,.75); color:var(--gold); font-size:25px; cursor:pointer; z-index:2;
}
.closed-results-header { padding: 4px 42px 18px 2px; }
.closed-results-header .popup-label { color:var(--gold); font-size:10px; font-weight:800; letter-spacing:1.2px; margin:0 0 7px; }
.closed-results-header h2 { margin:0; font-size:26px; }
.closed-results-header p:last-child { margin:8px 0 0; color:var(--gray); font-size:12px; line-height:1.5; }
.closed-results-list { display:grid; gap:12px; }
.closed-result-item {
    display:grid; grid-template-columns:115px 1fr; gap:15px; padding:12px;
    border:1px solid #332b1c; border-radius:14px; background:#11100d;
}
.closed-result-image { min-height:125px; border-radius:10px; overflow:hidden; background:#090909; display:flex; align-items:center; justify-content:center; }
.closed-result-image img { width:100%; height:100%; object-fit:cover; }
.closed-result-info { min-width:0; padding:3px 4px; }
.closed-list-badge { display:inline-block; padding:5px 8px; border-radius:6px; background:#242018; color:#d8b25b; font-size:8px; font-weight:800; letter-spacing:.8px; margin-right:6px; }
.closed-list-category { color:var(--gold); font-size:8px; font-weight:800; letter-spacing:1px; }
.closed-result-info h3 { margin:9px 0 4px; font-size:16px; }
.closed-result-info > p { margin:0; color:var(--gray); font-size:10px; }
.closed-list-meta { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:11px; }
.closed-list-meta > div { padding:8px 9px; border:1px solid #332b1c; border-radius:8px; background:#0b0b0b; }
.closed-list-meta small { display:block; color:var(--gray); font-size:8px; }
.closed-list-meta strong { display:block; margin-top:3px; color:var(--gold-light); font-size:11px; }
.no-winner-item .closed-list-meta strong { color:#aaa; }
@media (max-width:560px) {
    .closed-results-popup { padding:18px; }
    .closed-result-item { grid-template-columns:88px 1fr; gap:11px; padding:10px; }
    .closed-result-image { min-height:104px; }
    .closed-result-info h3 { font-size:14px; }
    .closed-list-meta { gap:6px; }
}


.footer-logout {
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: #777;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.footer-logout:hover { color: var(--gold-light, #ffd978); }

.footer-user-name {
    margin: 14px 0 4px;
    color: #e9b949;
    font-size: 14px;
    font-weight: 700;
}


/* BidEthiopia participant / winner status displays */
.bid-submitted-display, .active-bid-submitted {
  cursor: default;
  text-align: center;
}
.active-bid-submitted {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.12);
}
.winner-phone {
  display: block;
  margin-top: 3px;
  opacity: .8;
  font-size: .85em;
}
.winner-you-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .75em;
  font-weight: 800;
}
.my-winner-banner {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 800;
}

/* ==========================================
   INFORMATION MENU POPUP
========================================== */
.info-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-modal.show { display: flex; }

.info-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(3px);
}

.info-popup {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(78vh, 680px);
    overflow-y: auto;
    padding: 28px;
    border: 1px solid #332b1c;
    border-radius: 18px;
    background: #11100d;
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.info-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #1d1b17;
    color: #eee;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.info-modal-close:hover { color: var(--gold-light, #ffd978); }

.info-popup h2 {
    margin: 4px 42px 16px 0;
    font-size: 25px;
}

.info-modal-body {
    color: #c7c7c7;
    font-size: 13px;
    line-height: 1.7;
}

.info-modal-body p { margin: 0 0 13px; }
.info-modal-body ol,
.info-modal-body ul { margin: 0 0 14px; padding-left: 22px; }
.info-modal-body li { margin-bottom: 9px; }
.info-modal-body strong { color: var(--gold-light, #ffd978); }
.info-note { color: #999; font-size: 12px; }
body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
    .info-popup { padding: 23px 20px; border-radius: 15px; }
    .info-popup h2 { font-size: 21px; }
    .info-modal-body { font-size: 12px; }
}
