/* ============================================
   AZBUY - PREMIUM BLACK & GOLD THEME
   Modern Auction Platform Design
   ============================================ */

:root {
    --primary-gold: #FFD700;
    --primary-gold-dark: #DAA520;
    --primary-gold-light: #FFED4A;
    --dark-bg: #0A0A0A;
    --dark-card: #111111;
    --dark-elevated: #1A1A1A;
    --dark-hover: #222222;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #6B6B6B;
    --border-color: rgba(255, 215, 0, 0.15);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    --gradient-dark: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-card);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-dark);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    font-weight: 700;
}

.gold-text {
    color: var(--primary-gold);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============================================
   NAVBAR - Premium Design
   ============================================ */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.logo a i {
    color: var(--primary-gold);
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-gold);
}

.nav-menu a i {
    margin-right: 8px;
}

.user-greeting {
    color: var(--primary-gold);
    font-weight: 500;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

/* ============================================
   BUTTONS - Premium Styling
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: #000000;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #DC3545 0%, #C82333 100%);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #28A745 0%, #218838 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-icon {
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-icon.view { background: rgba(23, 162, 184, 0.2); color: #17A2B8; }
.btn-icon.edit { background: rgba(255, 193, 7, 0.2); color: #FFC107; }
.btn-icon.delete { background: rgba(220, 53, 69, 0.2); color: #DC3545; }
.btn-icon.relist { background: rgba(40, 167, 69, 0.2); color: #28A745; }

.btn-icon:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 2rem;
    animation: slideDown 0.4s ease;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28A745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #DC3545;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HERO SECTION - Premium
   ============================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.05) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="500" cy="500" r="300" fill="none" stroke="rgba(255,215,0,0.05)" stroke-width="2"/><circle cx="500" cy="500" r="200" fill="none" stroke="rgba(255,215,0,0.03)" stroke-width="1"/></svg>') repeat;
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-content .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 5rem 2rem;
    background: var(--dark-card);
    position: relative;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--dark-elevated);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.feature-card i {
    font-size: 3rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* ============================================
   AUCTIONS GRID
   ============================================ */
.featured-auctions,
.dashboard-container,
.my-items-container {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-auctions h2,
.dashboard-header h1,
.my-items-header h1,
.settings-container h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.featured-auctions h2::after,
.dashboard-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
}

.auctions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.auction-card {
    background: var(--dark-elevated);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.auction-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.auction-image {
    position: relative;
    height: 240px;
    background: var(--dark-card);
    overflow: hidden;
}

.auction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.auction-card:hover .auction-image img {
    transform: scale(1.05);
}

.auction-timer {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary-gold);
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.bid-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-gold);
    color: #000;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.auction-info {
    padding: 1.2rem;
}

.auction-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.seller {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.seller span {
    color: var(--primary-gold);
}

.category {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0.8rem 0;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.starting-price {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bid-progress {
    background: var(--dark-card);
    border-radius: 10px;
    height: 4px;
    margin: 0.8rem 0;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-gold);
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-bg) 100%);
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-card {
    padding: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-gold);
}

.stat-card p {
    color: var(--text-muted);
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-card {
    background: var(--dark-elevated);
    padding: 2.5rem;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.auth-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.auth-header h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary-gold);
    margin-right: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 11px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1rem 0;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-gold);
}

.form-checkbox label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--primary-gold);
    text-decoration: none;
    margin-top: 8px;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-divider span {
    background: var(--dark-elevated);
    padding: 0 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--dark-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-social:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.auth-link {
    text-align: center;
    color: var(--text-secondary);
}

.auth-link a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
}

/* ============================================
   DASHBOARD & FILTERS
   ============================================ */
.dashboard-header,
.my-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: var(--dark-elevated);
    padding: 1rem;
    border-radius: 60px;
    border: 1px solid var(--border-color);
}

.filter-group select,
.filter-group input {
    padding: 10px 20px;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary-gold);
    outline: none;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    padding-left: 40px;
    width: 100%;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 8px 16px;
    background: var(--dark-elevated);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--gradient-gold);
    color: #000;
    border-color: var(--primary-gold);
}

/* ============================================
   ITEMS TABLE
   ============================================ */
.items-table {
    overflow-x: auto;
    background: var(--dark-elevated);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: var(--gradient-gold);
    color: #000;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.item-cell .item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-cell img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.item-cell strong {
    display: block;
    color: var(--text-primary);
}

.item-cell small {
    font-size: 11px;
    color: var(--text-muted);
}

.price {
    font-weight: 700;
    color: var(--primary-gold);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active { background: rgba(40, 167, 69, 0.15); color: #28A745; border: 1px solid rgba(40, 167, 69, 0.3); }
.status-badge.ended { background: rgba(108, 117, 125, 0.15); color: #6C757D; border: 1px solid rgba(108, 117, 125, 0.3); }
.status-badge.winning { background: rgba(40, 167, 69, 0.15); color: #28A745; border: 1px solid rgba(40, 167, 69, 0.3); }
.status-badge.outbid { background: rgba(220, 53, 69, 0.15); color: #DC3545; border: 1px solid rgba(220, 53, 69, 0.3); }
.status-badge.won { background: rgba(23, 162, 184, 0.15); color: #17A2B8; border: 1px solid rgba(23, 162, 184, 0.3); }
.status-badge.lost { background: rgba(108, 117, 125, 0.15); color: #6C757D; border: 1px solid rgba(108, 117, 125, 0.3); }
.status-badge.payment_pending { background: rgba(255, 193, 7, 0.15); color: #FFC107; border: 1px solid rgba(255, 193, 7, 0.3); }

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ============================================
   ITEMS TABS
   ============================================ */
.items-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.tab-btn {
    padding: 8px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

/* ============================================
   AUCTION DETAIL PAGE
   ============================================ */
.auction-detail {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.auction-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.auction-image-section .main-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.auction-image-section .main-image img {
    width: 100%;
    border-radius: 20px;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--primary-gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bid-status-card {
    background: var(--dark-elevated);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.current-bid-section {
    text-align: center;
    margin-bottom: 1rem;
}

.current-bid-section .label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.current-bid-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
}

.bid-count {
    font-size: 12px;
    color: var(--text-muted);
}

.time-left-section {
    text-align: center;
    padding: 1rem;
    background: var(--dark-card);
    border-radius: 16px;
    margin-bottom: 1rem;
}

.countdown-large .timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.bid-input-group {
    display: flex;
    gap: 10px;
    margin: 1rem 0;
}

.bid-input-group .currency {
    background: var(--dark-card);
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-gold);
}

.bid-input-group input {
    flex: 1;
    padding: 12px 16px;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
}

.bid-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 5px 0;
}

/* ============================================
   TABS
   ============================================ */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tabs .tab-btn {
    padding: 10px 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.tabs .tab-btn.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.details-table {
    width: 100%;
}

.details-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.details-table td:first-child {
    font-weight: 600;
    color: var(--primary-gold);
    width: 40%;
}

.bid-history {
    max-height: 300px;
    overflow-y: auto;
}

.bid-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.bid-row .bidder {
    font-weight: 500;
}

.bid-row .amount {
    color: var(--primary-gold);
    font-weight: 700;
}

.bid-row .time {
    color: var(--text-muted);
    font-size: 12px;
}

/* ============================================
   SUMMARY CARDS
   ============================================ */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: var(--dark-elevated);
    padding: 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.summary-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.summary-card i {
    font-size: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.summary-card .label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.summary-card .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-gold);
}

/* ============================================
   ANALYTICS SECTION
   ============================================ */
.analytics-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--dark-elevated);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.analytics-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.analytics-card {
    padding: 1rem;
    background: var(--dark-card);
    border-radius: 12px;
    text-align: center;
}

.analytics-card .label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.analytics-card .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    display: block;
}

.trend {
    font-size: 12px;
}

.trend.up { color: #28A745; }
.trend.down { color: #DC3545; }

/* ============================================
   SETTINGS PAGE
   ============================================ */
.settings-container h1 {
    margin-bottom: 2rem;
}

.settings-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.settings-sidebar {
    background: var(--dark-elevated);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-summary {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
    position: relative;
    display: inline-block;
}

.profile-avatar i {
    font-size: 5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.change-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--gradient-gold);
    color: #000;
    border: none;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 10px;
    cursor: pointer;
    font-weight: 600;
}

.member-since {
    margin-top: 0.5rem;
    font-size: 12px;
    color: var(--text-muted);
}

.settings-nav {
    margin-top: 1.5rem;
}

.settings-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.settings-nav a:hover,
.settings-nav a.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
}

.settings-content {
    background: var(--dark-elevated);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.settings-tab {
    display: none;
}

.settings-tab.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.settings-tab h2 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.wallet-balance {
    text-align: center;
    padding: 2rem;
    background: var(--dark-card);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.wallet-balance .balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin: 0.5rem 0;
}

.payment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--dark-card);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.payment-card i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.transaction-item .amount.positive { color: #28A745; }
.transaction-item .amount.negative { color: #DC3545; }

.notification-setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-card);
    transition: 0.3s;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
    background-color: var(--text-muted);
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-gold);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #000;
}

/* ============================================
   MODAL
   ============================================ */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--dark-elevated);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--primary-gold);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--primary-gold);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-gold);
}

.modal-body {
    padding: 1.5rem;
}

.payment-methods {
    margin: 1rem 0;
}

.payment-methods label {
    display: block;
    padding: 10px;
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition);
}

.payment-methods label:hover {
    background: rgba(255, 215, 0, 0.1);
}

.modal-footer {
    padding: 1.2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--dark-elevated) 0%, var(--dark-bg) 100%);
    border-radius: 24px;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.about-hero h1 {
    color: var(--primary-gold);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-section {
    background: var(--dark-elevated);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.about-section h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--dark-card);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--primary-gold);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin: 1rem 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info p i {
    color: var(--primary-gold);
    width: 30px;
}

/* ============================================
   CREATE AUCTION FORM
   ============================================ */
.form-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.form-card {
    background: var(--dark-elevated);
    border-radius: 24px;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.form-header h2 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.form-info {
    margin-top: 2rem;
    padding: 1.2rem;
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-info h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.form-info ul {
    margin-left: 1.2rem;
    color: var(--text-secondary);
}

.image-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.image-upload-area:hover {
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.05);
}

.image-upload-area i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.image-preview {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary-gold);
    margin: 0 12px;
    font-size: 1.2rem;
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-gold-light);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .auctions-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 1024px) {
    .auction-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auctions-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .filter-bar {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .dashboard-header,
    .my-items-header {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    table {
        font-size: 12px;
    }
    
    .actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .current-bid-amount {
        font-size: 1.8rem;
    }
    
    .bid-input-group {
        flex-direction: column;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.auction-timer {
    animation: pulse 2s infinite;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tooltip */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-card);
    color: var(--primary-gold);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    border: 1px solid var(--border-color);
}

[data-tooltip]:hover::before {
    opacity: 1;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.promo-banner img {
    width: 100%;
    border-radius: 20px;
    margin: 2rem 0;
}

.auction-image {
    position: relative;
    height: 220px;
    background: #2a2a2a;
    overflow: hidden;
}

.auction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.auction-card:hover .auction-image img {
    transform: scale(1.05);
}

/* Make auction images fit perfectly */
.auction-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: #1a1a1a;
    overflow: hidden;
}

.auction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-fit: cover - makes image fill the box while maintaining aspect ratio */
    /* object-fit: contain - shows full image but may leave empty space */
    /* object-fit: fill - stretches to fill box (may distort image) */
    transition: transform 0.3s ease;
}

/* For better image quality */
.auction-image img {
    display: block;
    object-position: center;
}

/* Optional: Add zoom effect on hover */
.auction-card:hover .auction-image img {
    transform: scale(1.05);
}

/* Make auction images fit perfectly */
.auction-image {
    position: relative;
    width: 100%;
    height: 220px;
    background: #1a1a1a;
    overflow: hidden;
}

.auction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-fit: cover - makes image fill the box while maintaining aspect ratio */
    /* object-fit: contain - shows full image but may leave empty space */
    /* object-fit: fill - stretches to fill box (may distort image) */
    transition: transform 0.3s ease;
}

/* For better image quality */
.auction-image img {
    display: block;
    object-position: center;
}

/* Optional: Add zoom effect on hover */
.auction-card:hover .auction-image img {
    transform: scale(1.05);
}

/* Time left styles for my bids page */
.time-left {
    font-size: 13px;
    color: var(--text-secondary);
}

.time-left.ended {
    color: #dc3545;
}

.time-left.pending {
    color: #ffc107;
}

.time-cell {
    white-space: nowrap;
}

/* Notification Styles */
.notification-bell {
    position: relative;
}

.notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    min-width: 18px;
    text-align: center;
}

.notification-dropdown {
    position: absolute;
    top: 35px;
    right: 0;
    width: 350px;
    background: var(--dark-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
}

.notification-item {
    transition: background 0.2s;
}


.notification-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Notification delete button */
.notification-item button {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.notification-item button:hover {
    opacity: 1;
}