/* Global CTA variables for this page */
:root {
    --cta: white;       /* muted antique gold */
    --cta-strong: white; /* slightly brighter for hover */
    --cta-ink: #0f0f10;    /* dark ink on accent */
}

/* Introduction */
.introduction, .featured-coins {
    padding: 20px 20px;
    background: var(--background);
}

.introduction h2, .daily-news h2 {
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 36px;
    color: var(--white);
}

.introduction p, .daily-news p {
    color: var(--white);
    font-size: 18px;
}

.section-title-text {
    text-align: center;
    padding-top: 140px;
    padding-bottom: 140px;
}

.introduction .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.introduction {
    position: relative;
    overflow: hidden;
}

.drifting-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.object-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.object {
    position: absolute;
    bottom: 100%;
    animation: driftDown linear infinite;
    width: 40px;
    height: 40px;
}

@keyframes driftDown {
    to {
        transform: translateY(100vh);
    }
}

/* Keyframes for the drifting animation */
@keyframes drift {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
}

/* Add randomness to the objects' positions and animations */
.object:nth-child(1) {
    left: 10%;
    animation-duration: 6s;
}

.object:nth-child(2) {
    left: 30%;
    animation-duration: 4s;
}

.object:nth-child(3) {
    left: 50%;
    animation-duration: 5s;
}

.object:nth-child(4) {
    left: 70%;
    animation-duration: 7s;
}

.object:nth-child(5) {
    left: 90%;
    animation-duration: 3.5s;
}

.elements-btn {
    margin-top: 50px;
}

.btn-primary {
    background: transparent;
    color: #ffcc00;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 999px;
    border: 1.5px solid #ffcc00;
    font-family: 'Montserrat', Arial, sans-serif; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #ffcc00;
    color: var(--cta-ink);
    outline: none;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Featured Coins Section */
.featured-coins {
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #f4f4f4 0%, #efefef 35%, #eaeaea 100%);
    padding: 64px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e0e0e0;
    /* local accents */
    --accent-gold: #c9a640;
    --accent-gold-2: #d6b451;
    --ink: #1a1a1a;
}

/* Container with Image and Text Frame Side by Side */
.featured-coins-container {
    display: flex;
    align-items: stretch;
    width: min(92%, 1280px);
    position: relative;
    gap: 28px;
}

/* Image Side */
.image-side {
    width: 58%;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.image-side::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 80% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.15) 100%);
}

.side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.003) translateZ(0);
    transition: transform 0.6s cubic-bezier(.2,.6,.2,1), filter .4s ease;
}
.image-side:hover .side-image {
    transform: scale(1.035) translateZ(0);
    filter: saturate(1.03);
}

/* Text Overlay */
.text-overlay {
    width: 42%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overlay-frame {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #ececec;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 28px;
    text-align: left;
    color: #3b3b3b;
}
.overlay-frame:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    transform: translateY(-2px);
    transition: transform .25s ease, box-shadow .25s ease;
}

.overlay-frame h2 {
    font-size: clamp(22px, 1.4vw + 18px, 28px);
    margin-bottom: 10px;
    color: #222;
    position: relative;
}
.overlay-frame h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffcc00 100%);
}

.overlay-frame p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: #666;
}

/* Improve focus visibility on auction links */
.auction-logos a {
    border-radius: 14px;
    outline: none;
}
.auction-logos a:focus-visible {
    box-shadow: 0 0 0 3px rgba(201, 166, 64, 0.35);
}

/* Logos Section (General Styles) */
.auction-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    justify-items: center;
}

/* Styling the logos */
.auction-logos img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #ededed;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    background-color: #fff;
    padding: 10px;
}

.auction-logos img:hover,
.auction-logos a:focus-visible img {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 20px rgba(0,0,0,0.14);
    filter: saturate(1.05);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .image-side .side-image,
    .auction-logos img,
    .overlay-frame,
    .carousel-track,
    .running-roman,
    .running-roman-reverse {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* Responsive upgrades for logos grid */
@media (max-width: 1024px) {
    .auction-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .auction-logos img { width: 104px; height: 104px; }
}

@media (max-width: 768px) {
    .auction-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
    .auction-logos img { width: 96px; height: 96px; }
}

@media (max-width: 600px) {
    .auction-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .auction-logos img { width: 92px; height: 92px; }
}

@media (max-width: 420px) {
    .auction-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .auction-logos img { width: 86px; height: 86px; }
}

/* Spacer between sections */
.roman-spacer {
    height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, #efefef, var(--background));
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.running-roman, .running-roman-reverse {
    position: absolute;
    bottom: 0;
    width: 100px;
    height: auto;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    z-index: 2;
}

.running-roman {
    animation: moveLeftToRight 15s linear infinite;
}

.running-roman-reverse {
    animation: moveRightToLeft 15s linear infinite;
}

@keyframes moveLeftToRight {
    0% {
        left: -10%;
    }
    100% {
        left: 110%;
    }
}

@keyframes moveRightToLeft {
    0% {
        left: 110%;
    }
    100% {
        left: -10%;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Updated News Section */
.news-section {
    background-color: var(--background); /* Consistent var(--background) background */
    padding: 40px 20px;
    text-align: center;
    min-height: 1000px; /* Increased to adapt to additional content */
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* Removed internal padding */
}

.news-container h2 {
    font-size: 36px;
    color: #f1f1f1;
    margin-bottom: 10px;
}

.section-description {
    font-size: 18px;
    color: #c2c2c2;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* This will ensure 3 items per row */
    gap: 30px;
    justify-content: center;
}

.news-item {
    background-color: var(--background); /* Consistent background with the rest of the section */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

.news-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #f1f1f1;
}

.news-content p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #c2c2c2;
}

.news-content .read-link {
    color: #ffcc00 !important;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.news-content .read-link:hover,
.news-content .read-link:focus-visible {
    color: var(--cta-strong);
    outline: none;
}

/* Parallax Section */
.parallax-section {
    position: relative;
    overflow: hidden;
    --trim-bottom: 120px; /* adjust */
    height: 650px; /* keep top edge fixed */
    clip-path: inset(0 0 var(--trim-bottom) 0); /* crop from bottom visually */
    margin-bottom: calc(var(--trim-bottom) * -1); /* reduce layout from bottom */
    background: var(--background);
}

.parallax-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Helmet Image */
.parallax-img.helmet {
    position: absolute;
    width: 400px;
    height: auto;
    object-fit: contain;
    z-index: 1;
    transform: translate(-50%, -50%);
    top: 40%; /* Adjusted from 50% to lift it higher */
    left: 50%;
    transform-origin: center;
}

/* Coin Images */
.coin {
    position: absolute;
    width: 100px;
    height: auto;
    transition: transform 0.5s ease-out;
    will-change: transform, opacity;
    transform-origin: center;
}

/* Coin Positions - Adjusted to move all coins higher */
.coin-one {
    left: 30%;
    top: 15%; /* Adjusted from 25% to lift it higher */
    z-index: 2;
}

.coin-two {
    right: 30%;
    top: 15%; /* Adjusted from 25% to lift it higher */
    opacity: 0.8;
    z-index: 2;
}

.coin-three {
    right: 35%;
    top: 60%; /* Adjusted from 70% to lift it higher */
    z-index: 1;
}

.coin-four {
    left: 35%;
    top: 60%; /* Adjusted from 70% to lift it higher */
    opacity: 0.9;
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 600px;
    animation: fadeInUp 1s ease-in-out;
    top: -50px; /* Adjusted to lift the text slightly higher */
}

.parallax-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.parallax-content-font {
    font-size: 2rem;
    color: #ffcc00;
    text-align: center;
    animation: fadeInUp 1s ease-in-out;
    padding-top: 40px; /* Pushes the text down */
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Auction Highlights Section */
.auction-highlights {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    /* Scoped palette for a formal, muted look */
    --accent: #d8b24a;           /* muted antique gold */
    --accent-strong: #e0c058;    /* slightly brighter for hover */
    --accent-ink: #0f0f10;       /* ink on accent */
    --surface-1: rgba(255,255,255,0.04);
    --surface-2: rgba(255,255,255,0.07);
    --surface-3: rgba(255,255,255,0.10);
    --text-strong: #f1f1f1;
    --text-muted: #c9cdd3;
}

/* Footer */
.site-footer {
    /* Subtle black gradient background */
    background: linear-gradient(180deg, #0b0b0b 0%, #090909 40%, #070707 100%);
    /* Remove top border to avoid visible line above footer */
    border-top: none;
    color: #cfd2d6;
    padding: 60px 0 34px;
}

.site-footer .container {
    width: min(92%, 1200px);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    column-gap: 48px;
    row-gap: 28px;
    align-items: start;
}

.footer-col .footer-title {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--cta);
    font-size: 20px;
    margin-bottom: 12px;
}

.brand .brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.brand .brand-logo {
    width: 36px;
    height: 36px;
}

.brand .brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.brand .brand-text {
    color: #b9bdc3;
    margin-bottom: 14px;
    text-align: left;
    line-height: 1.6;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: grey;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ffcc00;
    outline: none;
}

.footer-cta {
    display: inline-block;
    padding: 10px 18px;
    background: transparent;
    color: var(--cta);
    border: 1.5px solid var(--cta);
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
    background: var(--cta);
    color: var(--cta-ink);
    outline: none;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.newsletter-text {
    color: #b9bdc3;
    margin-bottom: 10px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.newsletter-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid #ffcc00;
    background: rgba(255,255,255,0.04);
    color: #e9ecef;
}

.newsletter-input::placeholder {
    color: #9aa0a6;
}

.newsletter-btn {
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid #ffcc00;
    background: transparent;
    color: #ffcc00;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-btn:hover,
.newsletter-btn:focus-visible {
    background:#ffcc00;
    color: black;
    outline: none;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: grey;
    transition: all 0.3s ease;
}

.social-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0.95);
}

.social-link:hover {
    background: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover img {
    filter: brightness(0.2);
}

/* Media queries for social icons */
@media (max-width: 768px) {
    .footer-social {
        gap: 12px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link img {
        width: 18px;
        height: 18px;
    }
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: #9aa0a6;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
        row-gap: 22px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        grid-template-columns: 1fr;
    }
}

/* Video Background */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%);
}

/* Auction Content */
.auction-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

/* Auction Highlights Title */
.auction-title {
    text-align: center;
    font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem);
    font-family: 'Montserrat', Arial, sans-serif;
    color: white;
    margin-bottom: 26px;
}

/* Carousel */
#auction-carousel {
    display: flex;
    overflow: hidden;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.carousel-track {
    display: flex;
    gap: 18px;
    transition: transform 0.4s ease;
    padding: 4px 0;
}

/* Carousel Control Buttons */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.carousel-control:hover {
    background: #ffcc00; /* uses same hue as --cta */
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 6px 16px #ffcc00;
}

.carousel-control:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #ffcc00;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Auction Item */
.auction-item {
    background: var(--surface-1);
    border: 1px solid var(--surface-2);
    border-radius: 18px;
    padding: 16px;
    margin: 0 8px;
    width: 240px;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

/* First auction item - move further to the left */
.auction-item:first-child {
    margin-left: -5px;
}

.auction-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    background: var(--surface-2);
    border-color: var(--surface-3);
}

.image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.price-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.item-details {
    text-align: center;
}

.item-details .item-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-strong);
    margin: 10px 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-details .item-desc {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 14px;
    color: var(--text-muted);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View Details Button */
.view-details-btn {
    display: inline-block;
    padding: 10px 18px;
    background: transparent;
    color: var(--cta);
    border: 1.5px solid var(--cta);
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.view-details-btn:hover,
.view-details-btn:focus-visible {
    background: var(--cta);
    color: var(--cta-ink);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    outline: none;
}

/* Promote Lot Button */
.promote-lot-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.promote-lot-btn {
    padding: 14px 26px;
    background: transparent;
    color: #ffcc00;
    border: 1.5px solid #ffcc00;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.promote-lot-btn:hover,
.promote-lot-btn:focus-visible {
    background: #ffcc00;
    color: var(--cta-ink);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    outline: none;
}

/* Hardening: prevent footer overlays on small screens */
@media (max-width: 767px) {
    .site-footer { 
        overflow: visible; 
    }

    .site-footer .container {
        width: min(94%, 640px); /* constrain line length */
        margin: 0 auto;
    }

    /* Force true single-column flow */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* Reset any positioning/transforms that could cause stacking */
    .footer-col,
    .footer-col * {
        position: static !important;
        transform: none !important;
    }

    .footer-col {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }

    .footer-col .footer-title {
        margin: 0 0 10px 0;
        line-height: 1.2;
    }

    /* Stack links vertically, center them */
    .footer-links {
        display: grid !important;
        grid-auto-flow: row;
        grid-auto-rows: min-content;
        justify-content: center;
        justify-items: center;
        text-align: center;
        gap: 10px !important;
        margin: 0 auto;
        width: 100%;
    }

    .footer-links li {
        width: auto;
    }

    .footer-links a {
        display: inline-block;
        padding: 4px 8px;
        white-space: nowrap; /* prevent odd wrapping that can overlap */
    }

    /* Newsletter: full-width stack */
    .newsletter-form {
        grid-template-columns: 1fr !important;
        gap: 10px;
        max-width: 360px;
        margin: 0 auto;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }

    /* Socials */
    .footer-social {
        justify-content: center;
        gap: 14px;
        margin-top: 8px;
    }
}

/* Extra safety for very small devices */
@media (max-width: 380px) {
    .footer-links a {
        white-space: normal; /* allow wrap on ultra-narrow screens */
        text-align: center;
    }
}

/* Responsive Adjustments for Devices with 1024px by 1366px (e.g., larger tablets or small laptops) */
@media (max-width: 1366px) and (min-width: 1024px) {
    .object {
        width: 40px;
        height: 40px;
    }

    .introduction, .featured-coins, .daily-news {
        padding: 50px 20px;
    }

    .introduction h2, .featured-coins h2, .daily-news h2,
    .news-container h2 {
        font-size: 32px;
    }

    .introduction p, .featured-coins p, .daily-news p,
    .section-description {
        font-size: 18px;
    }

    .featured-coins-container {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .image-side, .text-overlay {
        width: 48%;
    }

    .text-overlay {
        margin: 30px 0 0 0;
    }

    .overlay-frame {
        padding: 25px;
        text-align: center;
    }

    .overlay-frame h2 {
        font-size: 28px;
    }

    .overlay-frame p {
        font-size: 16px;
    }

    .auction-logos {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 25px;
    }

    .auction-logos img {
        width: 150px;
        height: 150px;
    }

    .news-section {
        padding: 40px 20px;
        min-height: auto;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .news-item {
        transform: translateY(5px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .parallax-section {
        min-height: 520px; /* was 600px - proportionally reduced */
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .parallax-img.helmet {
        width: 300px;
        top: 40%;
    }

    .coin {
        width: 80px;
    }

    /* Position coins between the helmet edges on mobile (row of two above and two below) */
    .coin-one, .coin-two, .coin-three, .coin-four { right: auto; }
    .coin-one { left: calc(50% - 110px); top: 16%; z-index: 2; }
    .coin-two { left: calc(50% + 50px); top: 16%; z-index: 2; }
    /* Pull bottom coins inward and slightly higher to sit inside helmet */
    .coin-three { left: calc(50% - 85px); top: 52%; z-index: 1; }
    .coin-four { left: calc(50% + 20px); top: 52%; z-index: 1; }

    .parallax-content h2 {
        font-size: 2rem;
    }

    #auction-carousel {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        scroll-snap-type: none; /* fluid scroll on tablets */
        -webkit-overflow-scrolling: touch;
        padding: 20px 0;
        scroll-behavior: smooth; /* visible smooth motion */
    }

    .carousel-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 10px;
        overflow-x: scroll;  /* visible horizontal scrolling */
        overflow-y: hidden; /* Prevent vertical scrolling */
        scroll-snap-type: none;  /* disable snap for continuous movement */
        -webkit-overflow-scrolling: touch;  /* Smooth scroll on iOS */
        scroll-behavior: smooth;  /* smooth movement */
        touch-action: pan-x; /* allow finger panning */
        overscroll-behavior-x: contain; /* avoid bounce chaining */
        scrollbar-width: thin;  /* Firefox */
        scrollbar-color: #ffcc00;
    }
    
    /* Styled scrollbar for WebKit */
    .carousel-track::-webkit-scrollbar {
        height: 6px;
    }
    .carousel-track::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    .carousel-track::-webkit-scrollbar-thumb {
        background: #ffcc00;
        border-radius: 10px;
    }
    .carousel-track::-webkit-scrollbar-thumb:hover {
        background: #ffcc00;
    }
    
    .carousel-track > .auction-item {
        flex: 0 0 180px;
        width: 180px;
        min-width: 180px;
        scroll-snap-align: none; /* no snap */
        white-space: nowrap; /* Prevent text wrapping */
    }
    .auction-item { width: 180px; padding: 14px; border-radius: 16px; }
    .image-wrap { border-radius: 10px; height: 135px; }
    .image-wrap img { object-fit: cover; height: 100%; }
    .item-details .item-title { font-size: 16px; }
    .item-details .item-desc { font-size: 13px; margin-bottom: 12px; }
    .view-details-btn { padding: 8px 14px; font-size: 12px; }
    .price-badge { transform: scale(0.92); transform-origin: bottom right; }
    
}

/* Responsive Adjustments for Tablets (768px and below) */
@media (max-width: 768px) {
    .object {
        width: 30px;
        height: 30px;
    }

    .introduction, .featured-coins, .daily-news {
        padding: 40px 10px;
    }

    .introduction h2, .featured-coins h2, .daily-news h2,
    .news-container h2 {
        font-size: 28px;
    }

    .introduction p, .featured-coins p, .daily-news p,
    .section-description {
        font-size: 16px;
    }
    
    .featured-coins-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .image-side, .text-overlay {
        width: 100%;
    }

    .text-overlay {
        margin: 20px 0 0 0;
    }

    .overlay-frame {
        padding: 20px;
        text-align: center;
    }

    .overlay-frame h2 {
        font-size: 24px;
    }

    .overlay-frame p {
        font-size: 14px;
    }

    .auction-logos {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
    }

    .auction-logos img {
        width: 120px;
        height: 120px;
    }
    
    .news-section {
        padding: 30px 15px;
        min-height: auto;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-item {
        transform: translateY(10px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .parallax-section {
        min-height: 440px; /* was 500px - proportionally reduced */
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .parallax-img.helmet {
        width: 250px;
        top: 40%;
    }

    .coin {
        width: 60px;
    }

    .coin-one, .coin-two {
        top: 10%;
    }

    .coin-three, .coin-four {
        top: 50%;
    }

    .parallax-content h2 {
        font-size: 1.8rem;
        color:#ffcc00;
    }

    #auction-carousel {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        scroll-snap-type: none; /* fluid scroll */
        -webkit-overflow-scrolling: touch;
        padding: 10px 0;
        scroll-behavior: smooth;
    }

    .carousel-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 10px;
        overflow-x: scroll;  /* visible scroll */
        overflow-y: hidden; /* Prevent vertical scrolling */
        scroll-snap-type: none;  /* continuous move */
        -webkit-overflow-scrolling: touch;  /* Smooth scroll on iOS */
        scroll-behavior: smooth;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;  /* Firefox */
    scrollbar-color: #ffcc00 rgba(255, 255, 255, 0.1);
    }
    /* WebKit scrollbar */
    .carousel-track::-webkit-scrollbar { height: 6px; }
    .carousel-track::-webkit-scrollbar-track { background: rgba(255,255,255,.1); border-radius: 10px; }
    .carousel-track::-webkit-scrollbar-thumb { background: #ffcc00; border-radius: 10px; }
    .carousel-track::-webkit-scrollbar-thumb:hover { background: #ffcc00; }
    
    .carousel-track > .auction-item {
        flex: 0 0 160px;
        width: 160px;
        min-width: 160px;
        scroll-snap-align: none; /* no snap */
        white-space: nowrap; /* Prevent text wrapping */
    }
    .auction-item { width: 160px; padding: 12px; border-radius: 14px; }
    .image-wrap { border-radius: 10px; height: 120px; }
    .image-wrap img { object-fit: cover; height: 100%; }
    .item-details .item-title { font-size: 15px; }
    .item-details .item-desc { font-size: 12.5px; margin-bottom: 10px; }
    .view-details-btn { padding: 7px 12px; font-size: 11.5px; }
    .price-badge { transform: scale(0.88); transform-origin: bottom right; }
    .promote-lot-btn { padding: 10px 18px; font-size: 15px; }
    

    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Additional Adjustments for Phones (480px and below) */
@media (max-width: 480px) {
    .news-container h2 {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-content h3 {
        font-size: 20px;
    }

    .news-content p {
        font-size: 14px;
    }

    .parallax-section {
        height: 300px; /* was 340px - slightly smaller */
    }

    .parallax-img.helmet {
        width: 200px;
        top: 40%;
    }

    .coin {
        width: 50px;
    }

    .parallax-content h2 {
        font-size: 1.2rem;
    }

    .parallax-content-font {
        font-size: 1.2rem;
        color: white;
        text-align: center;
        animation: fadeInUp 1s ease-in-out;
    }

    .overlay-frame {
        padding: 15px;
    }

    .overlay-frame h2 {
        font-size: 20px;
    }

    .overlay-frame p {
        font-size: 14px;
    }

    .explore-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .auction-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .carousel-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 15px;
        padding: 0 10px;
        overflow-x: scroll;  /* visible horizontal scrolling */
        overflow-y: hidden; /* Prevent vertical scrolling */
        scroll-snap-type: none;  /* continuous movement */
        -webkit-overflow-scrolling: touch;  /* Smooth scroll on iOS */
        scroll-behavior: smooth;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;  /* Firefox */
    scrollbar-color: #ffcc00 rgba(255, 255, 255, 0.1);
    }
    /* WebKit scrollbar */
    .carousel-track::-webkit-scrollbar { height: 6px; }
    .carousel-track::-webkit-scrollbar-track { background: rgba(255,255,255,.1); border-radius: 10px; }
    .carousel-track::-webkit-scrollbar-thumb { background: #ffcc00; border-radius: 10px; }
    .carousel-track::-webkit-scrollbar-thumb:hover { background: #ffcc00; }
    
    .carousel-track > .auction-item {
        flex: 0 0 calc(50% - 10px);
        scroll-snap-align: none; /* no snap */
        white-space: nowrap; /* Prevent text wrapping */
    }
    

    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .promote-lot-container {
        margin-top: 20px;
    }

    .promote-lot-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Responsive adjustments for Domus section */
@media (max-width: 1024px) {
    .domus-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .domus-tour {
        padding: 60px 20px;
    }
    
    .domus-header h2 {
        font-size: 36px;
    }
    
    .domus-subheading {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .domus-tour {
        padding: 40px 15px;
    }
    
    .domus-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .domus-header h2 {
        font-size: 30px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-card h3 {
        font-size: 19px;
    }
    
    .feature-card p {
        font-size: 15px;
    }
    
    .domus-button {
        padding: 12px 28px;
        font-size: 17px;
    }
}

/* Apply monochrome styling to match site theme */
.domus-button {
    padding: 14px 26px;
    background: transparent;
    color: black;
    border: 1.5px solid white;
    border-radius: 999px;
    border-color: white;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 18px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.domus-button:hover,
.domus-button:focus-visible {
    background: black;
    color: white;
    outline: none;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    border-color: black;
}

/* Enhanced Footer Mobile Styles */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
        row-gap: 40px;
    }
    
    .brand .brand-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .footer-col .footer-title {
        font-size: 18px;
    }
    
    .newsletter-input {
        padding: 10px 14px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 40px 0 25px;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .brand .brand-row {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .brand .brand-text {
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
        margin: 0 auto 10px;
        max-width: 290px;
        color: #b9bdc3;
    }
    
    .footer-col {
        margin-bottom: 0;
        padding-bottom: 5px;
    }
    
    .footer-col .footer-title {
        font-size: 17px;
        margin-bottom: 12px;
        color: white !important;
    }
    
    .footer-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 0 auto 10px;
    }
    
    .footer-links li {
        display: inline-block;
    }
    
    .footer-links a {
        font-size: 14px;
        padding: 5px 10px;
        color: #aaa !important;
        display: inline-block;
    }
    
    .footer-links a:hover,
    .footer-links a:focus-visible {
        color: white !important;
    }
    
    .newsletter-text {
        font-size: 14px;
        max-width: 250px;
        margin: 0 auto 12px;
    }
    
    .newsletter-form {
        max-width: 280px;
        margin: 0 auto;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .newsletter-input {
        width: 100%;
        padding: 12px 15px;
        text-align: center;
        font-size: 14px;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-social {
        margin: 5px auto 0;
        display: flex;
        justify-content: center;
        gap: 16px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .social-link img {
        width: 20px;
        height: 20px;
    }
    
    .footer-bottom {
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .copyright {
        font-size: 13px;
        color: #777;
    }
}

@media (max-width: 380px) {
    .site-footer .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .brand .brand-text {
        font-size: 13px;
        max-width: 260px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .newsletter-form {
        max-width: 250px;
    }
    
    .newsletter-input {
        padding: 10px 15px;
    }
    
    .newsletter-btn {
        padding: 10px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link img {
        width: 18px;
        height: 18px;
    }
}

/* Domus Tour Section */
.domus-tour {
    background-color: white;
    padding: clamp(56px, 7vw, 96px) 20px;
    text-align: center;
    position: relative;
}

.domus-container {
    max-width: 1200px;
    margin: 0 auto;
}

.domus-header {
    margin-bottom: clamp(32px, 5vw, 64px);
}

.domus-header h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.15;
    color: black;
    margin-bottom: 12px;
}

.domus-subheading {
    font-size: clamp(16px, 2.2vw, 20px);
    color: #666;
    max-width: 680px;
    margin: 0 auto;
}

.domus-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(16px, 2.4vw, 28px);
    margin-bottom: clamp(28px, 6vw, 56px);
    position: relative;
    z-index: 1;
}

.feature-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: clamp(20px, 3vw, 28px) clamp(16px, 2.4vw, 24px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Staggered layout: alternate vertical offsets on desktop */
.domus-features .feature-card:nth-child(1),
.domus-features .feature-card:nth-child(3) {
    transform: translateY(-14px);
}
.domus-features .feature-card:nth-child(2),
.domus-features .feature-card:nth-child(4) {
    transform: translateY(14px);
}
.domus-features .feature-card:hover { transform: translateY(-18px); }

/* Animated connector line under the cards */
.features-connector {
    position: absolute;
    left: 0;
    right: 0;
    top: 38px; /* initial; JS will update */
    width: 100%;
    height: 220px; /* initial; JS will update */
    display: none; /* hidden by default; enabled on wider screens */
    margin: 0 auto;
    pointer-events: none;
    z-index: 0;
}
.features-connector path {
    fill: none;
    stroke: url(#features-connector-stroke);
    stroke-width: 2.5;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.10));
    stroke-dasharray: 14 14;
    animation: dash-move 5.5s linear infinite;
}
@keyframes dash-move {
    to { stroke-dashoffset: -160; }
}
/* Pulsing is simulated via gradient and dash offset; nodes not needed */
/* Reintroduce small pulse dots via JS for alignment with card centers */
.features-connector .pulse {
    fill: #ffcc00;
    opacity: .9;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
    transform-origin: center;
    animation: pulse-scale 1.8s ease-in-out infinite;
}
@keyframes pulse-scale {
    0%, 100% { r: 3.5; opacity: .8; }
    50% { r: 6.5; opacity: 1; }
}
.domus-why-join:hover .features-connector path {
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.16));
}

/* Enable connector and keep stagger only on >= 900px where grid is multi-column */
@media (min-width: 900px) {
    .features-connector { display: block; }
}

/* On small screens, remove staggering for readability */
@media (max-width: 768px) {
    .domus-features .feature-card { transform: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .domus-why-join:not([data-allow-motion="true"]) .features-connector path,
    .domus-why-join:not([data-allow-motion="true"]) .features-connector .pulse {
        animation: none !important;
    }
}

.feature-icon {
    background: #ffcc00;
    width: clamp(64px, 6vw, 80px);
    height: clamp(64px, 6vw, 80px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(12px, 2vw, 18px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.feature-icon img {
    width: clamp(32px, 3.2vw, 40px);
    height: clamp(32px, 3.2vw, 40px);
    object-fit: contain;
}

.feature-card h3 {
    font-size: clamp(18px, 2.2vw, 22px);
    color: black;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: clamp(14px, 2vw, 16px);
    color: #666;
    line-height: 1.55;
}

.domus-cta {
    margin-top: 30px;
}

.domus-button {
    display: inline-block;
    padding: clamp(12px, 1.4vw, 16px) clamp(24px, 2.6vw, 32px);
    background: #ffcc00;
    color: black;
    text-decoration: none;
    border-radius: 30px;
    border-color: #ffcc00;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: 700;
    margin-bottom: 12px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.domus-button:hover {
    background: white;
    color: #ffcc00;
    transform: translateY(-3px);
}

.domus-note {
    font-size: clamp(14px, 1.8vw, 16px);
    color: #777;
}

/* ===== Domus Tour: Enhancements ===== */
.domus-trust {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px auto 0;
    padding: 0;
    list-style: none;
}
.domus-trust li {
    border: 1px solid #e7e7e7;
    color: #444;
    background: #ffcc00;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: clamp(12px, 1.6vw, 14px);
}

/* At-a-glance stats */
.domus-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(12px, 2vw, 24px);
    margin: clamp(20px, 3.8vw, 36px) auto clamp(28px, 4.4vw, 44px);
}
.domus-stats .stat {
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: clamp(12px, 1.6vw, 18px);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.domus-stats .stat strong {
    display: block;
    font-size: clamp(24px, 4vw, 34px);
    color: black;
    line-height: 1.1;
}
.domus-stats .stat span {
    display: block;
    font-size: clamp(13px, 1.8vw, 15px);
    color: #777;
}

/* Visual tour gallery */
.domus-tour-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(12px, 1.8vw, 20px);
    margin: 0 auto clamp(32px, 5vw, 56px);
}
.tour-shot {
    background: #f9f9f9;
    border: 1px solid #efefef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.tour-shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
}
.tour-shot img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.tour-shot figcaption {
    padding: clamp(8px, 1.4vw, 12px) clamp(10px, 1.6vw, 14px);
    font-size: clamp(13px, 1.8vw, 15px);
    color: #555;
    background: #fff;
}

/* Why join list */
.domus-why-join {
    margin: clamp(20px, 3vw, 28px) auto clamp(28px, 5vw, 40px);
    text-align: left;
    position: relative;
}
.domus-why-join h3 {
    text-align: center;
    color: black;
    margin-bottom: clamp(12px, 2.4vw, 18px);
    font-size: clamp(20px, 2.6vw, 24px);
}
.domus-why-join .benefits {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
    max-width: 900px;
}
.domus-why-join .benefits li {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #efefef;
    border-radius: 12px;
    background: #fff;
}
.domus-why-join .benefits img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.4);
}
.domus-why-join .benefits span {
    color: #444;
    font-size: 16px;
}

/* How it works steps */
.domus-steps {
    margin: clamp(32px, 5vw, 44px) auto clamp(36px, 5.2vw, 48px);
    text-align: left;
}
.domus-steps h3 {
    text-align: center;
    color: #222;
    margin-bottom: clamp(12px, 2.4vw, 18px);
    font-size: clamp(20px, 2.6vw, 24px);
}
.domus-steps .steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(12px, 2vw, 18px);
    max-width: 1100px;
}
.domus-steps .steps li {
    position: relative;
    border: 1px solid #efefef;
    background: #fff;
    border-radius: 14px;
    padding: clamp(14px, 1.8vw, 16px) clamp(12px, 1.6vw, 14px) clamp(14px, 1.8vw, 16px) clamp(48px, 4.8vw, 56px);
    min-height: clamp(68px, 9vw, 78px);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.domus-steps .steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: clamp(28px, 4vw, 32px);
    height: clamp(28px, 4vw, 32px);
    border-radius: 50%;
    border: 1px solid #111;
    color: #111;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: #ffcc00;
}
.domus-steps .step-label {
    display: block;
    color: #111;
    font-weight: 700;
    font-size: clamp(16px, 2.2vw, 18px);
    margin-bottom: 6px;
}
.domus-steps .step-note {
    display: block;
    color: #666;
    font-size: clamp(14px, 1.9vw, 15px);
}

/* Testimonials */
.domus-testimonials {
    margin: 20px auto 40px;
}
.domus-testimonials h3 {
    text-align: center;
    color: #222;
    margin-bottom: 14px;
    font-size: 24px;
}
.domus-testimonials .quotes {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(12px, 2vw, 16px);
    max-width: 1000px;
}
.domus-testimonials .quotes li {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 14px;
    padding: 18px 18px 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.domus-testimonials blockquote {
    margin: 0 0 8px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    font-style: italic;
    position: relative;
}
.domus-testimonials blockquote::before {
    content: "“";
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 28px;
    color: #ddd;
}
.domus-testimonials cite {
    display: block;
    color: #777;
    font-size: 14px;
}

/* FAQ */
.domus-faq {
    margin: 10px auto 30px;
    max-width: 900px;
    text-align: left;
}
.domus-faq h3 {
    text-align: center;
    color: #222;
    margin-bottom: 14px;
    font-size: clamp(20px, 2.6vw, 24px);
}
.domus-faq details {
    border: 1px solid #efefef;
    border-radius: 12px;
    background: #fff;
    padding: clamp(10px, 1.8vw, 14px) clamp(12px, 2vw, 16px);
    margin-bottom: 10px;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.domus-faq details[open] {
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    border-color: #e5e5e5;
}
.domus-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #222;
    list-style: none;
    position: relative;
    padding-right: 26px;
}
.domus-faq summary::-webkit-details-marker { display: none; }
.domus-faq summary::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 0;
    color: #777;
    transition: transform .2s ease;
}
.domus-faq details[open] summary::after {
    transform: rotate(180deg);
}
.domus-faq p {
    margin: 10px 0 0;
    color: #555;
    font-size: clamp(14px, 1.9vw, 15px);
}

/* CTA tweaks inside white section */
.domus-tour .cta-button {
    margin-top: 18px;
}
.domus-tour .domus-note {
    color: #666;
}

/* Focus states */
.domus-tour a:focus-visible,
.domus-tour button:focus-visible,
.domus-tour summary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,.25);
    border-radius: 8px;
}

/* Responsive for Domus enhancements */
@media (max-width: 1024px) {
    /* Let auto-fit handle columns; adjust gaps if needed */
    .domus-tour-media { gap: clamp(12px, 1.6vw, 18px); }
}

@media (max-width: 900px) {
    .domus-why-join .benefits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .domus-why-join .benefits { grid-template-columns: 1fr; }
    /* How it works: center headings and add comfortable spacing */
    .domus-steps .steps { gap: 16px; }
    .domus-steps .steps li {
        padding: clamp(52px, 12vw, 64px) 16px 16px 16px;
        text-align: center;
        min-height: unset;
    }
    .domus-steps .steps li::before {
        left: 50%;
        top: 12px;
        transform: translateX(-50%);
    }
    .domus-steps .step-label,
    .domus-steps .step-note { text-align: center; }

    /* Fine-tune coin positions for very small screens */
    .coin { width: 52px; }
    .coin-one { left: calc(50% - 90px); top: 18%; }
    .coin-two { left: calc(50% + 34px); top: 18%; }
    /* Tighter spacing and slightly higher placement for very small screens */
    .coin-three { left: calc(50% - 80px); top: 54%; }
    .coin-four { left: calc(50% + 15px); top: 54%; }
}

/* Domus: Visual Enhancements */
.domus-tour {
    /* local tokens */
    --domus-ink: #151515;
    --domus-muted: #6b6b6b;
    --domus-border: #ececec;
    --domus-surface: #ffffff;
    --domus-shadow-1: 0 2px 10px rgba(0,0,0,.05);
    --domus-shadow-2: 0 8px 24px rgba(0,0,0,.10);
    --domus-gold: #c9a640;
    --domus-gold-2: #d6b451;
}

.domus-header h2 {
    color: var(--domus-ink);
}
.domus-header h2::after {
    content: "";
    display: block;
    width: 88px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #ffcc00 100%);
}

.domus-subheading { color: var(--domus-muted); }

.domus-trust li {
    border: 1px solid var(--domus-border);
    box-shadow: var(--domus-shadow-1);
}

.domus-stats .stat {
    border: 1px solid var(--domus-border);
    border-radius: 14px;
    box-shadow: var(--domus-shadow-1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.domus-stats .stat:hover { transform: translateY(-2px); box-shadow: var(--domus-shadow-2); }
.domus-stats .stat strong { color: var(--domus-ink); }

.tour-shot {
    border: 1px solid var(--domus-border);
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.tour-shot:hover { filter: saturate(1.03); }

.feature-card {
    border: 1px solid var(--domus-border);
    border-radius: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter .25s ease;
}
.feature-card:hover { transform: translateY(-6px); filter: saturate(1.03); }
.feature-icon { border: 1px solid var(--domus-border); margin-bottom: 16px; }
.feature-card h3 { color: var(--domus-ink); }
.feature-card p { color: var(--domus-muted); }

.domus-why-join h3 { color: var(--domus-ink); }
.domus-why-join .benefits li { border: 1px solid var(--domus-border); box-shadow: var(--domus-shadow-1); }

.domus-steps h3 { color: var(--domus-ink); }
.domus-steps .steps li {
    border: 1px solid var(--domus-border);
    box-shadow: var(--domus-shadow-1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.domus-steps .steps li:hover { transform: translateY(-2px); box-shadow: var(--domus-shadow-2); }

.domus-testimonials h3 { color: var(--domus-ink); }
.domus-testimonials .quotes li { border: 1px solid var(--domus-border); }

.domus-faq h3 { color: var(--domus-ink); }
.domus-faq details { border: 1px solid var(--domus-border); }
.domus-tour .domus-note { color: var(--domus-muted); }

/* Large-screen zigzag placement for the 4 feature cards */
@media (min-width: 1024px) {
    /* Two-row zigzag: 1 & 3 top row, 2 & 4 bottom row */
    .domus-features {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
        grid-template-rows: auto auto;
    }
    .domus-features .feature-card { transform: none; }
    .domus-features .feature-card:hover { transform: translateY(-6px); }
    .domus-features .feature-card:nth-child(1) { grid-column: 1; grid-row: 1; }
    .domus-features .feature-card:nth-child(2) { grid-column: 2; grid-row: 2; }
    .domus-features .feature-card:nth-child(3) { grid-column: 3; grid-row: 1; }
    .domus-features .feature-card:nth-child(4) { grid-column: 4; grid-row: 2; }
}

/* Domus CTA button polish (scoped) */
.domus-tour .domus-button {
    font-weight: 800;
    letter-spacing: .3px;
    border: 1px solid #ffcc00;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.domus-tour .domus-button:hover,
.domus-tour .domus-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.2);
}

/* Reduced motion for Domus elements */
@media (prefers-reduced-motion: reduce) {
    .domus-stats .stat,
    .tour-shot,
    .feature-card,
    .domus-steps .steps li,
    .domus-tour .domus-button {
        transition: none !important;
        transform: none !important;
    }
}

/* ...existing code... */

/* ===== Neutralize remaining yellow elements to white === */

/* Footer links and titles: white */
.site-footer .footer-title,
.site-footer,
.site-footer {
    color: #e6e6e6 !important;
    display: flex;
    justify-content: center;
}

/* Auction carousel price badges/pills: white background, dark text */
.auction-highlights .carousel .badge,
.auction-highlights .carousel [class*="badge"],
.auction-highlights .carousel .price,
.auction-highlights .carousel [class*="price"],
.auction-highlights .carousel .pill,
.auction-highlights .carousel .label {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid rgba(0,0,0,.2) !important;
}

/* Auction card CTAs (e.g., VIEW DETAILS): white button style */
.auction-highlights .carousel a:not(.carousel-control),
.auction-highlights .carousel button:not(.carousel-control) {
    background: #ffcc00 !important;
    color: #333 !important;
    border: 1px solid #ffcc00 !important;
    box-shadow: none !important;
}
.auction-highlights .carousel a:not(.carousel-control):hover,
.auction-highlights .carousel button:not(.carousel-control):hover {
    background: transparent!important;
    border-color: #c9c9c9 !important;
    color: #ffcc00 !important;
}

/* Mobile: put Explore and Policies in two columns on the same row */
@media (max-width: 767px) {
    /* Use grid (override earlier flex) */
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        padding: 0 16px;
    }

    /* Brand and Newsletter take full width */
    .footer-col.brand,
    .footer-col.newsletter {
        grid-column: 1 / -1;
    }

    /* Center headings and links in the two columns */
    .footer-col[aria-label="Explore"],
    .footer-col[aria-label="Policies"] {
        text-align: center;
    }

    /* Restore vertical lists inside each column (override earlier flex) */
    .footer-col[aria-label="Explore"] .footer-links,
    .footer-col[aria-label="Policies"] .footer-links {
        display: grid !important;
        gap: 10px;
        justify-items: center;
        margin: 0 auto;
        width: 100%;
    }

    .footer-col[aria-label="Explore"] .footer-links a,
    .footer-col[aria-label="Policies"] .footer-links a {
        display: inline-block;
        padding: 6px 0;
        white-space: nowrap;
    }
}

/* Very small devices: allow wrapping if needed */
@media (max-width: 380px) {
    .footer-col[aria-label="Explore"] .footer-links a,
    .footer-col[aria-label="Policies"] .footer-links a {
        white-space: normal;
    }
}