@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700&display=swap');

/* app.css - Styles needed by JavaScript components (nav, testimonials, image-slider) */

/* Basic reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: #041E42;
    color: #f0ece4;
}

.page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    width: 100%;
    flex: 1;
    padding-top: 80px;
}


/* ========================================
   Navbar (required by nav.js)
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: hsl(222, 47%, 20%);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    min-width: 0;
    flex-shrink: 1;
    position: relative;
}

.nav-links > a,
.nav-links > .nav-dropdown > .nav-dropdown-toggle {
    color: hsl(222, 47%, 11%);
    text-decoration: none;
    position: relative;
    z-index: 2;
    padding: 8px 12px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: hsl(222, 47%, 30%);
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.nav-links > a:hover,
.nav-links > .nav-dropdown > .nav-dropdown-toggle:hover {
    color: hsl(0, 0%, 90%);
}

/* Nav cart icon */
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    color: hsl(222, 47%, 11%);
    text-decoration: none;
    padding: 8px;
    margin-left: auto;
    transition: color 0.2s;
}

.nav-cart:hover {
    color: hsl(222, 47%, 40%);
}

.nav-cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    background-color: #e53e3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 4px;
}

/* Responsive navbar */
@media (max-width: 768px) {
    .navbar {
        background-color: #ffffff;
    }
    .navbar-inner {
        width: 100%;
        padding: 10px 15px;
        justify-content: space-between;
    }
    .hamburger {
        display: flex;
        margin-right: 0;
        padding: 5px;
        order: 3;
    }
    .nav-cart {
        order: 2;
        margin-left: 0;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 4px;
        padding: 10px 0;
        gap: 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links > a,
    .nav-links > .nav-dropdown > .nav-dropdown-toggle {
        font-size: 14px;
        padding: 12px 20px;
        background-color: transparent;
        border-radius: 0;
        transition: background-color 0.2s, color 0.2s;
    }
    .nav-links > a:hover,
    .nav-links > .nav-dropdown > .nav-dropdown-toggle:hover {
        background-color: hsl(222, 47%, 30%);
        color: hsl(0, 0%, 90%);
    }
    .nav-bg {
        display: none;
    }
}

/* ========================================
   Nav Dropdown
   ======================================== */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-toggle svg {
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 6px 0;
    z-index: 1001;
    flex-direction: column;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: flex;
}

.nav-dropdown-menu a {
    padding: 10px 16px !important;
    font-size: 14px;
    font-weight: 500 !important;
    white-space: nowrap;
    color: hsl(222, 47%, 11%) !important;
    transition: background-color 0.2s, color 0.2s;
}

.nav-dropdown-menu a:hover {
    background-color: hsl(222, 47%, 30%) !important;
    color: hsl(0, 0%, 90%) !important;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-dropdown {
        flex-direction: column;
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        min-width: 0;
        width: 100%;
        padding: 0;
        background-color: rgba(0,0,0,0.03);
    }

    .nav-dropdown-menu a {
        padding: 10px 20px 10px 32px !important;
        font-size: 13px;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: flex;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: flex;
    }
}

/* ========================================
   Testimonial Carousel (required by testimonials.js)
   ======================================== */
.testimonial-bar {
    max-width: 1300px;
    width: 100%;
    margin: 24px auto 0;
    background: hsl(222, 47%, 20%);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-bar h2 {
    color: #ffffff;
    font-size: 2em;
    margin-bottom: 30px;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 2em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.testimonial-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.testimonial-content {
    flex: 1;
    max-width: 800px;
    min-height: 100px;
    position: relative;
}

.testimonial {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.6;
    font-style: italic;
    display: none;
    margin: 0;
}

.testimonial.active {
    display: block;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.2s;
}

.testimonial-dots .dot.active {
    background: #ffffff;
}

@media (max-width: 768px) {
    .testimonial-bar {
        padding: 30px 15px;
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
    }

    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .testimonial {
        font-size: 1em;
    }
}

/* ========================================
   Image Comparison / Slider
   ======================================== */
.image-comparison {
    position: relative;
    width: 500px;
    height: 300px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-after {
    width: 50%;
}

.image-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #333;
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-2px);
}

/* ========================================
   Dead Bank Home Page
   ======================================== */

.dead-bank-home {
    min-height: 100vh;
}

/* --- Hero --- */

.dead-bank-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 5rem 1.5rem 4rem;
}

.dead-bank-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 45% at 50% 30%, rgba(212, 165, 26, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(10, 14, 30, 0.6) 0%, transparent 60%);
    pointer-events: none;
}

.dead-bank-hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
    pointer-events: none;
}

.dead-bank-hero-content {
    position: relative;
    z-index: 1;
}

.dead-bank-hero-content > * {
    animation: dead-bank-fade-up 0.7s ease-out both;
}

.dead-bank-hero-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #9a9da8;
    margin-bottom: 0.75rem;
    animation-delay: 0.05s;
}

.dead-bank-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: 0.05em;
    color: #f0ece4;
    margin: 0;
    animation-delay: 0.15s;
}

.dead-bank-hero-rule {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a51a, transparent);
    margin: 1.75rem auto;
    animation-delay: 0.3s;
}

.dead-bank-hero-actions {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    animation-delay: 0.4s;
}

@keyframes dead-bank-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Buttons --- */

.dead-bank-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
}

.dead-bank-btn-gold {
    background: #d4a51a;
    color: #07080a;
    border-color: #d4a51a;
}

.dead-bank-btn-gold:hover {
    background: #e8b82e;
    border-color: #e8b82e;
    box-shadow: 0 0 24px rgba(212, 165, 26, 0.25);
}

.dead-bank-btn-ghost {
    background: #1b1e28;
    color: #a0a3ad;
    border-color: #2e3140;
}

.dead-bank-btn-ghost:hover {
    color: #f0ece4;
    background: #252839;
    border-color: #4a4d58;
}

/* --- Sections --- */

.dead-bank-section {
    padding: 0 1.5rem 3.5rem;
}

.dead-bank-container {
    max-width: 1080px;
    margin: 0 auto;
}

.dead-bank-section-head {
    margin-bottom: 1.25rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #14161e;
}

.dead-bank-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #22c55e;
}

.dead-bank-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: dead-bank-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dead-bank-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }
}

.dead-bank-upcoming-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d4a51a;
}

.dead-bank-upcoming-indicator svg {
    flex-shrink: 0;
}

/* --- Auction Grid --- */

.dead-bank-auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.125rem;
}

/* --- Auction Cards --- */

.dead-bank-auction-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #11131a;
    border: 1px solid #1b1e28;
    border-radius: 5px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.dead-bank-auction-card:hover {
    border-color: rgba(212, 165, 26, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.dead-bank-card-live:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

.dead-bank-card-img {
    position: relative;
    height: 170px;
    background: #0c0e14;
    overflow: hidden;
}

.dead-bank-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dead-bank-auction-card:hover .dead-bank-card-img img {
    transform: scale(1.05);
}

.dead-bank-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22252e;
    background: linear-gradient(160deg, #0c0e14 0%, #13151e 100%);
}

.dead-bank-card-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}

.dead-bank-badge-live {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.dead-bank-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dead-bank-badge-dot-live {
    background: #22c55e;
    animation: dead-bank-pulse 2s ease-in-out infinite;
}

.dead-bank-badge-upcoming {
    background: rgba(212, 165, 26, 0.08);
    color: #d4a51a;
    border: 1px solid rgba(212, 165, 26, 0.2);
}

.dead-bank-card-body {
    padding: 1.125rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dead-bank-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #f0ece4;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.dead-bank-card-desc {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: #b0b3bc;
    margin: 0 0 auto 0;
    padding-bottom: 0.875rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dead-bank-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #171920;
}

.dead-bank-card-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: #8a8d96;
    letter-spacing: 0.02em;
}

.dead-bank-card-arrow {
    font-size: 0.9rem;
    color: #2a2d35;
    transition: color 0.25s ease, transform 0.25s ease;
}

.dead-bank-auction-card:hover .dead-bank-card-arrow {
    color: #d4a51a;
    transform: translateX(3px);
}

.dead-bank-card-live:hover .dead-bank-card-arrow {
    color: #22c55e;
}

/* --- Empty State --- */

.dead-bank-empty {
    text-align: center;
    padding: 5rem 1rem;
    color: #2a2d35;
}

.dead-bank-empty svg {
    margin: 0 auto 1rem;
    display: block;
}

.dead-bank-empty p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.dead-bank-empty span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    color: #8a8d96;
}

.tourney-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 2.5rem;
    max-width: 600px;
}

/* --- Responsive --- */

@media (max-width: 640px) {
    .dead-bank-hero {
        min-height: 45vh;
        padding: 4rem 1.25rem 3rem;
    }

    .dead-bank-auction-grid {
        grid-template-columns: 1fr;
    }

    .dead-bank-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .dead-bank-btn {
        width: 100%;
        max-width: 220px;
    }

    .dead-bank-card-img {
        height: 150px;
    }
}

/* ========================================
   Auction List — Horizontal Row Cards
   ======================================== */

.dead-bank-auction-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.dead-bank-auction-row {
    display: flex;
    text-decoration: none;
    background: #11131a;
    border: 1px solid #1b1e28;
    border-radius: 5px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.dead-bank-auction-row:hover {
    border-color: rgba(212, 165, 26, 0.3);
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.dead-bank-row-img {
    position: relative;
    width: 220px;
    min-height: 160px;
    flex-shrink: 0;
    background: #0c0e14;
    overflow: hidden;
}

.dead-bank-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dead-bank-auction-row:hover .dead-bank-row-img img {
    transform: scale(1.06);
}

.dead-bank-row-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22252e;
    background: linear-gradient(160deg, #0c0e14 0%, #13151e 100%);
}

.dead-bank-row-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.dead-bank-row-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #f0ece4;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}

.dead-bank-row-desc {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: #b0b3bc;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dead-bank-row-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.875rem;
    padding-top: 0.75rem;
    border-top: 1px solid #171920;
}

.dead-bank-row-date {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: #8a8d96;
    letter-spacing: 0.02em;
}

.dead-bank-row-arrow {
    font-size: 1rem;
    color: #2a2d35;
    transition: color 0.25s ease, transform 0.25s ease;
}

.dead-bank-auction-row:hover .dead-bank-row-arrow {
    color: #d4a51a;
    transform: translateX(4px);
}

/* Row cards — responsive */
@media (max-width: 640px) {
    .dead-bank-auction-row {
        flex-direction: column;
    }

    .dead-bank-row-img {
        width: 100%;
        min-height: 0;
        height: 160px;
    }

    .dead-bank-auction-row:hover {
        transform: translateY(-3px);
    }
}

/* ========================================
   Rules Page
   ======================================== */

.dead-bank-rules {
    min-height: 100vh;
}

/* --- Header --- */

.dead-bank-rules-header {
    position: relative;
    padding: 5rem 1.5rem 3rem;
    text-align: center;
    overflow: hidden;
}

.dead-bank-rules-header-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.dead-bank-rules-header-inner > * {
    animation: dead-bank-fade-up 0.7s ease-out both;
}

.dead-bank-rules-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #9a9da8;
    margin-bottom: 0.75rem;
    animation-delay: 0.05s;
}

.dead-bank-rules-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0.05em;
    color: #f0ece4;
    margin: 0;
    animation-delay: 0.15s;
}

.dead-bank-rules-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: #b0b3bc;
    line-height: 1.7;
    margin: 0;
    animation-delay: 0.35s;
}

/* --- Body --- */

.dead-bank-rules-body {
    padding: 0 1.5rem 5rem;
}

.dead-bank-rules-container {
    max-width: 720px;
    margin: 0 auto;
}

/* --- Section Labels --- */

.dead-bank-rules-section {
    margin-bottom: 2.5rem;
}

.dead-bank-rules-section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4a51a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #171920;
}

.dead-bank-rules-section-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #2a2d35;
    letter-spacing: 0.02em;
}

/* --- Rules List --- */

.dead-bank-rules-list {
    list-style: none;
    counter-reset: rule;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dead-bank-rules-list li {
    counter-increment: rule;
    position: relative;
    padding: 1rem 0 1rem 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.88rem;
    color: #a0a3ad;
    line-height: 1.7;
    border-bottom: 1px solid #0f1118;
}

.dead-bank-rules-list li:last-child {
    border-bottom: none;
}

.dead-bank-rules-list li::before {
    content: counter(rule);
    position: absolute;
    left: 0;
    top: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: #2a2d35;
    width: 1.75rem;
    text-align: center;
}

.dead-bank-rules-list li strong {
    color: #f0ece4;
    font-weight: 500;
}

/* --- Sub-list --- */

.dead-bank-rules-sublist {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.dead-bank-rules-sublist li {
    padding: 0.35rem 0 0 1.25rem;
    border-bottom: none;
    font-size: 0.84rem;
    color: #9a9da8;
}

.dead-bank-rules-sublist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2a2d35;
    font-family: inherit;
    font-size: inherit;
}

/* --- Callout Cards --- */

.dead-bank-rules-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.dead-bank-rules-card-icon {
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.dead-bank-rules-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0 0 0.3rem 0;
    letter-spacing: 0.02em;
}

.dead-bank-rules-card-content p {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0;
}

.dead-bank-rules-card-content p strong {
    font-weight: 500;
}

.dead-bank-rules-card-accent {
    background: rgba(212, 165, 26, 0.04);
    border-color: rgba(212, 165, 26, 0.12);
}

.dead-bank-rules-card-accent .dead-bank-rules-card-icon {
    color: #d4a51a;
}

.dead-bank-rules-card-accent .dead-bank-rules-card-content h3 {
    color: #d4a51a;
}

.dead-bank-rules-card-accent .dead-bank-rules-card-content p {
    color: #ffffff;
}

.dead-bank-rules-card-warn {
    background: rgba(220, 80, 60, 0.04);
    border-color: rgba(220, 80, 60, 0.15);
}

.dead-bank-rules-card-warn .dead-bank-rules-card-icon {
    color: #dc503c;
}

.dead-bank-rules-card-warn .dead-bank-rules-card-content h3 {
    color: #e86450;
}

.dead-bank-rules-card-warn .dead-bank-rules-card-content p {
    color: #ffffff;
}

.dead-bank-rules-card-neutral {
    background: #0e1017;
    border-color: #171920;
}

.dead-bank-rules-card-neutral .dead-bank-rules-card-content p {
    color: #ffffff;
}

.dead-bank-rules-card-neutral .dead-bank-rules-card-content p strong {
    color: #f0ece4;
}

/* --- Contact Footer --- */

.dead-bank-rules-contact {
    text-align: center;
    padding: 2.5rem 0 0;
    border-top: 1px solid #14161e;
}

.dead-bank-rules-contact p {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: #ffffff;
}

/* --- Responsive --- */

@media (max-width: 640px) {
    .dead-bank-rules-header {
        padding: 4rem 1.25rem 2rem;
    }

    .dead-bank-rules-body {
        padding: 0 1rem 4rem;
    }

    .dead-bank-rules-card {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.25rem;
    }

    .dead-bank-rules-list li {
        padding-left: 2rem;
        font-size: 0.84rem;
    }
}


/* ========================================
   Bidder Profile Page
   ======================================== */

.dead-bank-profile {
    min-height: 100vh;
}

/* --- Header --- */

.dead-bank-profile-header {
    position: relative;
    padding: 4rem 1.5rem 2.5rem;
    text-align: center;
    overflow: hidden;
}

.dead-bank-profile-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 20%, rgba(212, 165, 26, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.dead-bank-profile-header-inner {
    position: relative;
    z-index: 1;
}

.dead-bank-profile-header-inner > * {
    animation: dead-bank-fade-up 0.7s ease-out both;
}

.dead-bank-profile-back {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    color: #b0b3bc;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
    animation-delay: 0s;
}

.dead-bank-profile-back:hover {
    color: #d4a51a;
}

.dead-bank-profile-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #9a9da8;
    margin-bottom: 0.75rem;
    animation-delay: 0.05s;
}

.dead-bank-profile-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 0.95;
    letter-spacing: 0.05em;
    color: #f0ece4;
    margin: 0;
    animation-delay: 0.15s;
}

.dead-bank-profile-rule {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a51a, transparent);
    margin: 1.5rem auto 0;
    animation-delay: 0.25s;
}

/* --- Body --- */

.dead-bank-profile-body {
    padding: 0 1.5rem 5rem;
}

.dead-bank-profile-container {
    max-width: 560px;
    margin: 0 auto;
}

/* --- Alert --- */

.dead-bank-profile-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    animation: dead-bank-fade-up 0.5s ease-out both;
    animation-delay: 0.3s;
}

.dead-bank-profile-alert svg {
    flex-shrink: 0;
}

.dead-bank-profile-alert-error {
    background: rgba(220, 80, 60, 0.06);
    border: 1px solid rgba(220, 80, 60, 0.15);
    color: #e86450;
}

/* --- Sections --- */

.dead-bank-profile-section {
    margin-bottom: 3rem;
    animation: dead-bank-fade-up 0.6s ease-out both;
}

.dead-bank-profile-section:nth-child(2) {
    animation-delay: 0.15s;
}

.dead-bank-profile-section:nth-child(3) {
    animation-delay: 0.25s;
}

.dead-bank-profile-section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4a51a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #171920;
}

.dead-bank-profile-section-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: #2a2d35;
    letter-spacing: 0.02em;
}

/* --- Form --- */

.dead-bank-profile-form {
    max-width: 420px;
}

.dead-bank-profile-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dead-bank-field {
    display: flex;
    flex-direction: column;
}

.dead-bank-field-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: #a0a3ad;
    margin-bottom: 0.5rem;
}

.dead-bank-field-optional {
    font-weight: 300;
    color: #8a8d96;
}

.dead-bank-field-input {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.88rem;
    color: #f0ece4;
    background: #0e1017;
    border: 1px solid #1f2230;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.dead-bank-field-input::placeholder {
    color: #6a6d76;
}

.dead-bank-field-input:focus {
    border-color: rgba(212, 165, 26, 0.4);
    box-shadow: 0 0 0 3px rgba(212, 165, 26, 0.06);
}

.dead-bank-field-error {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: #e86450;
    margin-top: 0.35rem;
}

.dead-bank-field-hint {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: #8a8d96;
    margin: 0.35rem 0 0 0;
}

/* --- Actions --- */

.dead-bank-profile-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #0f1118;
}

/* --- Responsive --- */

@media (max-width: 640px) {
    .dead-bank-profile-header {
        padding: 3rem 1.25rem 2rem;
    }

    .dead-bank-profile-body {
        padding: 0 1.25rem 4rem;
    }

    .dead-bank-profile-form {
        max-width: 100%;
    }
}
