:root {
    --navy: #13274F;
    --gold: #C5A047;
    --cream: #F8F4E9;
    --darkwood: #3E2723;
    --lightwood: #7E5E4B;
    --gray: #6C756B;
    --sold: #9C0000;
    --available: #1A9C00;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--cream);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill-opacity="0.02" fill="%23000" width="50" height="50"/><rect fill-opacity="0.02" fill="%23000" x="50" y="50" width="50" height="50"/></svg>');
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--navy);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(to bottom, var(--navy), #0A1A32);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact span {
    margin-right: 20px;
    color: var(--gold);
}

.header-auth a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.header-auth a:hover {
    color: var(--gold);
}

.main-header {
    padding: 20px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 28px;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.logo span {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--gold);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(19, 39, 79, 0.8), rgba(19, 39, 79, 0.8)), url('https://images.unsplash.com/photo-1446776653964-20c1d3a81b06?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill-opacity="0.03" fill="%23fff" width="50" height="50"/><rect fill-opacity="0.03" fill="%23fff" x="50" y="50" width="50" height="50"/></svg>');
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin: 0 auto 30px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Featured Inventory */
.featured {
    padding: 80px 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill-opacity="0.03" fill="%23000" width="50" height="50"/><rect fill-opacity="0.03" fill="%23000" x="50" y="50" width="50" height="50"/></svg>');
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 20px auto 0;
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 25px;
    background: white;
    margin: 0 10px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.category-tab.active {
    background: var(--navy);
    color: white;
}

.category-tab:hover {
    background: var(--navy);
    color: white;
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.item-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.item-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.status-available {
    background: var(--available);
    color: white;
}

.status-sold {
    background: var(--sold);
    color: white;
}

.status-upcoming {
    background: var(--gold);
    color: white;
}

.item-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.item-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 70%, rgba(0, 0, 0, 0.4) 100%);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-info {
    padding: 25px;
}

.item-info h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--navy);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 14px;
}

.current-bid {
    font-weight: bold;
    color: var(--navy);
    font-size: 1.3rem;
    margin: 12px 0;
    font-family: 'Playfair Display', serif;
}

.buy-now-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 8px 0;
}

.time-left {
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.item-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.item-btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.bid-btn {
    background: var(--navy);
    color: white;
}

.buynow-btn {
    background: var(--gold);
    color: white;
}

.view-btn {
    background: transparent;
    border: 1px solid var(--navy);
    color: var(--navy);
}

/* Live Auction Section */
.live-auction {
    background: linear-gradient(to bottom, #0A1A32, var(--navy));
    padding: 80px 0;
    color: white;
}

.live-auction .section-title {
    color: white;
}

.auction-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auction-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auction-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    background: rgba(255, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
}

.live-dot {
    width: 12px;
    height: 12px;
    background-color: #ff4d4d;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.auction-body {
    padding: 25px;
}

.bid-history {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bid-item {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
}

.bid-item:last-child {
    border-bottom: none;
}

.bid-form {
    display: flex;
    margin-top: 20px;
}

.bid-input {
    flex: 1;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
}

.bid-btn {
    background-color: var(--gold);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.bid-btn:hover {
    background-color: #b38d3d;
}

/* Funding Options */
.funding {
    padding: 80px 0;
    background-color: white;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill-opacity="0.03" fill="%23000" width="50" height="50"/><rect fill-opacity="0.03" fill="%23000" x="50" y="50" width="50" height="50"/></svg>');
}

.funding-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.funding-card {
    background-color: var(--cream);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 35px 30px;
    width: 300px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.funding-card:hover {
    transform: translateY(-5px);
}

.funding-icon {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 20px;
}

.funding-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Membership Preview */
.membership-preview {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--cream), #f0e9d9);
}

.membership-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.membership-card {
    background: white;
    border-radius: 8px;
    padding: 40px 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s;
}

.membership-card:hover {
    transform: translateY(-5px);
}

.membership-card.featured {
    border: 2px solid var(--gold);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.membership-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.membership-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.membership-price span {
    font-size: 1rem;
    color: var(--gray);
}

.membership-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.membership-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.membership-card ul li:before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--darkwood);
    color: white;
    padding: 60px 0 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill-opacity="0.03" fill="%23fff" width="50" height="50"/><rect fill-opacity="0.03" fill="%23fff" x="50" y="50" width="50" height="50"/></svg>');
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 900px;
    position: relative;
    animation: modalFade 0.3s;
}

@keyframes modalFade {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--navy);
}

.item-slideshow {
    position: relative;
    height: 400px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slide-dot.active {
    background: white;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.slide-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slide-arrow.prev {
    left: 15px;
}

.slide-arrow.next {
    right: 15px;
}

.item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h4 {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

/* Admin Panel Styles */
.admin-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.admin-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.admin-tab.active {
    border-bottom: 3px solid var(--gold);
    color: var(--gold);
}

.admin-content {
    display: block;
}

.admin-content.hidden {
    display: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(19, 39, 79, 0.9), rgba(19, 39, 79, 0.9)), url('https://images.unsplash.com/photo-1446776653964-20c1d3a81b06?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .bid-form {
        flex-direction: column;
    }
    
    .bid-input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .bid-btn {
        border-radius: 4px;
        padding: 12px;
    }
    
    .item-details {
        grid-template-columns: 1fr;
    }
    
    .item-slideshow {
        height: 300px;
    }
    
    .membership-card.featured {
        transform: scale(1);
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    z-index: 1001;
}

/* Item Slideshow */
.item-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.item-slideshow .slide {
    display: none;
    width: 100%;
    height: 100%;
}

.item-slideshow .slide.active {
    display: block;
}

.item-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.slide-arrow.prev {
    left: 10px;
}

.slide-arrow.next {
    right: 10px;
}

.slide-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.slide-dot.active {
    background: white;
}

/* Item Details in Modal */
.item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .item-details {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .item-slideshow {
        height: 300px;
    }
}

.detail-section {
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.item-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.item-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.bid-btn {
    background: var(--gold);
    color: white;
}

.buynow-btn {
    background: #27ae60;
    color: white;
}
/* Fix Item Card Layout */
.item-card {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
}

.item-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-card:hover .item-image img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card:hover .item-overlay {
    opacity: 1;
}

.quick-view {
    background: var(--gold);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quick-view:hover {
    background: #d4af37;
}

.item-info {
    padding: 20px;
}

.item-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #2c3e50;
}

.item-price {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 10px;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #666;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.item-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.bid-btn {
    background: var(--gold);
    color: white;
}

.buynow-btn {
    background: #27ae60;
    color: white;
}

.item-btn:hover {
    opacity: 0.9;
}

/* Inventory Grid */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.category-tab {
    padding: 12px 24px;
    background: #f8f9fa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.category-tab.active,
.category-tab:hover {
    background: var(--gold);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .inventory-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .item-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .item-actions {
        flex-direction: column;
    }
}
/* Fix Quick View Button Position */
.item-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card:hover .item-overlay {
    opacity: 1;
}

.quick-view {
    background: #d4af37;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
/* Balance Overview */
.balance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.balance-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.balance-card.total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.balance-amount {
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
}

/* Payment History Table */
.transactions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.transactions-table th,
.transactions-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.transactions-table th {
    background: #f8f9fa;
    font-weight: bold;
}

.text-success { color: #28a745; }
.text-danger { color: #dc3545; }

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-completed { background: #d4edda; color: #155724; }
.status-failed { background: #f8d7da; color: #721c24; }

/* Deposit Form */
.deposit-form-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Bank Details */
.bank-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.bank-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.bank-table td:first-child {
    font-weight: bold;
    width: 40%;
}
/* Crypto Address Styles */
.crypto-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.crypto-address {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.crypto-address h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.address-box code {
    flex: 1;
    background: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    word-break: break-all;
    border: 1px solid #ddd;
}

.copy-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
}

.copy-btn:hover {
    background: #218838;
}

.crypto-address small {
    color: #666;
    font-style: italic;
}

.crypto-notes {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
}

.crypto-notes h4 {
    margin-top: 0;
    color: #856404;
}