/* Filter collapse */
.filter-toggle {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    text-align: left;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Google Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

.nav-link.active {
    color: #d4a843;
}

.card-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.12);
    border-color: rgba(212, 168, 67, 0.4);
}

input[type="checkbox"] {
    cursor: pointer;
}

select {
    cursor: pointer;
}

select option {
    background-color: #141414;
    color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gradient-text {
    background: linear-gradient(135deg, #d4a843, #f0d78c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-glow {
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.3);
}

/* Pokemon Card 3D Effect */
.pokemon-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.pokemon-card-inner {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pokemon-card:hover .pokemon-card-inner {
    transform: rotateY(-5deg) rotateX(5deg);
}

.pokemon-card-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pokemon-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Heart Icon Button */
.heart-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: transparent;
}

.heart-btn:hover {
    border-color: #d4a843;
    background: rgba(212, 168, 67, 0.1);
}

.heart-btn:hover svg {
    color: #d4a843;
}

/* Acquire Button */
.acquire-btn {
    background: #d4a843;
    color: #000000;
    font-size: 9px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.acquire-btn:hover {
    background: #e6b94d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
}

/* Table Row */
.table-row {
    transition: background-color 0.2s ease;
}

.table-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Filter Section */
.filter-section {
    border-bottom: 1px solid #1f1f1f;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-size: 10px;
    font-weight: 600;
    color: #d4a843;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.filter-item:hover {
    color: #d4a843;
}

label:hover span {
    color: #d4a843;
}

label:hover span.group-hover\:text-white {
    color: #d4a843 !important;
}

label input[type="checkbox"],
.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #333;
    background: #0d0d0d;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

label input[type="checkbox"]:hover,
.filter-item input[type="checkbox"]:hover {
    border-color: #555;
}

label input[type="checkbox"]:checked,
.filter-item input[type="checkbox"]:checked {
    background: #d4a843;
    border-color: #d4a843;
}

label input[type="checkbox"]:checked::after,
.filter-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Stats Bar */
.stats-bar {
    background: #0f0f0f;
    border-bottom: 1px solid #1a1a1a;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.stat-label {
    color: #5a5a5a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    color: #ffffff;
    font-weight: 500;
}

.stat-value.gold {
    color: #d4a843;
}

.stat-value.green {
    color: #22c55e;
}

/* Sort Controls */
.sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    font-size: 13px;
    color: #5a5a5a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sort-select {
    background: #141414;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sort-select:hover {
    border-color: #2a2a2a;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #1f1f1f;
    background: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    border-color: #2a2a2a;
}

.view-btn.active {
    border-color: #d4a843;
    background: rgba(212, 168, 67, 0.1);
}

.view-btn svg {
    color: #5a5a5a;
}

.view-btn.active svg {
    color: #d4a843;
}

/* Card Container Styling */
.card-container {
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-container:hover {
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ==================== DETAIL PAGE ==================== */

.detail-hero {
    position: relative;
    padding: 2rem 0 3rem;
    overflow: hidden;
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 11px;
    color: #5a5a5a;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.detail-breadcrumb a,
.detail-breadcrumb button {
    color: #8a8a8a;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.detail-breadcrumb a:hover,
.detail-breadcrumb button:hover {
    color: #d4a843;
}

.detail-breadcrumb .sep {
    color: #333;
    user-select: none;
}

.detail-breadcrumb .current {
    color: #d4a843;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.detail-card-stage {
    position: sticky;
    top: 110px;
}

.detail-card-pedestal {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(165deg, rgba(26, 22, 16, 0.9) 0%, rgba(14, 14, 14, 0.95) 100%);
    border: 1px solid rgba(212, 168, 67, 0.12);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 24px 48px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(212, 168, 67, 0.06);
}

.detail-card-pedestal::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(212, 168, 67, 0.15) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.detail-card-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 2px solid rgba(212, 168, 67, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.detail-card-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1510 0%, #2a1f15 40%, #1a1510 100%);
    position: relative;
}

.detail-card-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(212, 168, 67, 0.06) 50%, transparent 60%);
    animation: holoShine 4s ease-in-out infinite;
}

@keyframes holoShine {
    0%, 100% { opacity: 0.3; transform: translateX(-100%); }
    50% { opacity: 0.8; transform: translateX(100%); }
}

.detail-card-number {
    margin-top: 1rem;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5a5a5a;
}

.detail-card-number span {
    color: #d4a843;
    font-weight: 600;
}

.detail-info {
    animation: detailSlideIn 0.5s ease-out;
}

@keyframes detailSlideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid transparent;
}

.detail-badge--rarity {
    background: rgba(212, 168, 67, 0.12);
    color: #d4a843;
    border-color: rgba(212, 168, 67, 0.3);
}

.detail-badge--lang {
    background: #141414;
    color: #8a8a8a;
    border-color: #1f1f1f;
}

.detail-badge--scarcity {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.25);
}

.detail-badge--set {
    background: rgba(34, 197, 94, 0.08);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.2);
}

.detail-title {
    font-family: 'Google Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.detail-subtitle {
    font-size: 14px;
    color: #8a8a8a;
    margin-bottom: 1.5rem;
}

.detail-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.detail-metric {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, #111 100%);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    transition: border-color 0.2s ease;
}

.detail-metric:hover {
    border-color: rgba(212, 168, 67, 0.2);
}

.detail-metric-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5a5a5a;
    margin-bottom: 0.4rem;
}

.detail-metric-value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.detail-metric-value--gold {
    color: #d4a843;
    font-size: 1.75rem;
}

.detail-metric-value--green { color: #22c55e; }
.detail-metric-value--red { color: #ef4444; }

.detail-metric-sub {
    font-size: 11px;
    color: #5a5a5a;
    margin-top: 0.25rem;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.detail-rating-stars {
    display: flex;
    gap: 1px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.detail-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-btn-primary--buy {
    background: linear-gradient(135deg, #d4a843 0%, #c49a35 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.25);
}

.detail-btn-primary--buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 168, 67, 0.35);
}

.detail-btn-primary--request {
    background: rgba(212, 168, 67, 0.1);
    color: #d4a843;
    border: 1px solid rgba(212, 168, 67, 0.35);
}

.detail-btn-primary--request:hover {
    background: rgba(212, 168, 67, 0.18);
    border-color: rgba(212, 168, 67, 0.5);
}

.detail-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #1f1f1f;
    background: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #8a8a8a;
}

.detail-btn-icon:hover {
    border-color: rgba(212, 168, 67, 0.4);
    color: #d4a843;
    background: rgba(212, 168, 67, 0.08);
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .detail-specs {
        grid-template-columns: repeat(3, 1fr);
    }
}

.detail-spec {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-spec-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5a5a5a;
    margin-bottom: 0.25rem;
}

.detail-spec-value {
    font-size: 13px;
    font-weight: 500;
    color: #e5e5e5;
}

/* Tabs */
.detail-tabs {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.detail-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #1f1f1f;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.detail-tabs-nav::-webkit-scrollbar {
    display: none;
}

.detail-tab-btn {
    padding: 0.85rem 1.25rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a5a5a;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.detail-tab-btn:hover {
    color: #8a8a8a;
}

.detail-tab-btn.active {
    color: #d4a843;
    border-bottom-color: #d4a843;
}

.detail-tab-panel {
    display: none;
    animation: tabFadeIn 0.3s ease-out;
}

.detail-tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Price cards */
.detail-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.detail-price-card {
    position: relative;
    padding: 1.15rem;
    background: linear-gradient(160deg, #161616 0%, #111 100%);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

.detail-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.detail-price-card:hover,
.detail-price-card.selected {
    border-color: rgba(212, 168, 67, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.detail-price-card:hover::before,
.detail-price-card.selected::before {
    opacity: 1;
}

.detail-price-card.selected {
    background: linear-gradient(160deg, rgba(212, 168, 67, 0.08) 0%, #141414 100%);
}

.detail-price-country {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a5a5a;
    margin-bottom: 0.35rem;
}

.detail-price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d4a843;
}

.detail-price-currency {
    font-size: 10px;
    color: #5a5a5a;
    margin-top: 0.15rem;
}

/* Stock pills */
.detail-stock-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.detail-stock-pill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: #141414;
    border: 1px solid #1f1f1f;
    border-radius: 100px;
    font-size: 13px;
}

.detail-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.detail-stock-dot--in { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }
.detail-stock-dot--out { background: #ef4444; }

/* Sales timeline */
.detail-sales-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detail-sale-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease;
}

.detail-sale-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-sale-row:hover {
    background: rgba(212, 168, 67, 0.03);
}

@media (max-width: 640px) {
    .detail-sale-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

.detail-sale-date {
    font-size: 13px;
    color: #8a8a8a;
}

.detail-sale-country {
    font-size: 12px;
    color: #5a5a5a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-sale-price {
    font-size: 15px;
    font-weight: 700;
    color: #d4a843;
    text-align: right;
}

.detail-sale-qty {
    font-size: 12px;
    color: #5a5a5a;
    text-align: right;
}

/* Reviews */
.detail-review {
    padding: 1.25rem;
    background: linear-gradient(160deg, #141414 0%, #111 100%);
    border: 1px solid #1f1f1f;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s ease;
}

.detail-review:hover {
    border-color: rgba(212, 168, 67, 0.15);
}

.detail-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.detail-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.2), rgba(212, 168, 67, 0.05));
    border: 1px solid rgba(212, 168, 67, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #d4a843;
    flex-shrink: 0;
}

.detail-review-meta {
    flex: 1;
    min-width: 0;
}

.detail-review-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.detail-review-date {
    font-size: 10px;
    color: #5a5a5a;
}

.detail-review-text {
    font-size: 13px;
    line-height: 1.65;
    color: #8a8a8a;
}

.detail-empty {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(160deg, #141414 0%, #0f0f0f 100%);
    border: 1px dashed #2a2a2a;
    border-radius: 12px;
}

.detail-empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a843;
    opacity: 0.6;
}

.detail-empty p {
    font-size: 13px;
    color: #5a5a5a;
}

/* Related section */
.detail-related {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(212, 168, 67, 0.1);
    position: relative;
    z-index: 1;
}

.detail-related-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.detail-related-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.35rem;
    font-style: italic;
    color: #fff;
}

.detail-related-sub {
    font-size: 12px;
    color: #5a5a5a;
    margin-top: 0.25rem;
}

.detail-section {
    border-top: 1px solid rgba(212, 168, 67, 0.15);
    padding-top: 24px;
}

/* Related Cards */
.card-item.related {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.8) 0%, #141414 100%);
}

.card-item.related:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(212, 168, 67, 0.15);
}

/* Button Variants */
.btn-gold-outline {
    background: rgba(212, 168, 67, 0.15);
    color: #d4a843;
    border: 1px solid rgba(212, 168, 67, 0.3);
}

.btn-gold-outline:hover {
    background: rgba(212, 168, 67, 0.25);
    border-color: rgba(212, 168, 67, 0.5);
}

/* Smooth page transitions */
#app-content {
    animation: fadeIn 0.3s ease-out;
}

/* Stock indicator */
.stock-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.stock-badge.in-stock {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.stock-badge.out-of-stock {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ========== Auth / Profile / Cart pages ========== */
.auth-page__glow {
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(212, 168, 67, 0.12), transparent 55%),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(212, 168, 67, 0.04), transparent 50%);
}

.profile-hero__glow {
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(212, 168, 67, 0.1), transparent 55%),
        linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.03));
}

.auth-input:hover {
    border-color: rgba(212, 168, 67, 0.25);
}

.acquire-btn:disabled,
.acquire-btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background: #d4a843;
}

/* ========== Marketplace responsive ========== */
.marketplace-sidebar {
    background: #0a0a0a;
}

@media (max-width: 1023px) {
    .marketplace-sidebar:not(.hidden) {
        display: block;
        margin-bottom: 1rem;
        padding: 1rem;
        border: 1px solid #1f1f1f;
        border-radius: 12px;
        background: #141414;
        max-height: 70vh;
        overflow-y: auto;
    }

    .cards-grid .acquire-btn {
        font-size: 7px !important;
        padding: 0.25rem 0.4rem !important;
    }
}

@media (max-width: 480px) {
    #site-logo span {
        max-width: 7.5rem;
    }

    .cards-grid .card-item h3 {
        font-size: 9px;
    }
}

