/* ================================================
   MYSTICAL AUCTION PLATFORM - SPIRITUAL THEME
   ================================================ */

:root {
    --primary-purple: #6b46c1;
    --primary-purple-dark: #553c9a;
    --primary-purple-light: #805ad5;
    --bg-dark: #1a1a2e;
    --bg-darker: #16162a;
    --bg-card: #252542;
    --bg-card-hover: #2d2d4a;
    --text-light: #e2e8f0;
    --text-muted: #a0aec0;
    --text-gold: #f6e05e;
    --accent-gold: #ecc94b;
    --accent-green: #48bb78;
    --accent-red: #fc8181;
    --border-color: #3d3d5c;
    --gradient-mystical: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-gold: linear-gradient(135deg, #f6e05e 0%, #ecc94b 100%);
    --shadow-mystical: 0 10px 40px rgba(107, 70, 193, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */

.header {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-light);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-mystical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-mystical);
    color: white;
    box-shadow: var(--shadow-mystical);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(107, 70, 193, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    background: rgba(107, 70, 193, 0.1);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--bg-dark);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(236, 201, 75, 0.3);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.user-email {
    font-size: 0.9rem;
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.2) 0%, rgba(26, 26, 46, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(107, 70, 193, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================================
   AUCTION GRID
   ================================================ */

.section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.auction-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.auction-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-purple);
}

.auction-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #ffffff;
    /* Soft inner shadow for the grid view */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
}

.auction-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.auction-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active {
    background: rgba(72, 187, 120, 0.9);
    color: white;
}

.badge-ending {
    background: rgba(237, 137, 54, 0.9);
    color: white;
    animation: pulse 2s infinite;
}

.badge-ended {
    background: rgba(160, 174, 192, 0.9);
    color: white;
}

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

.auction-timer {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-icon {
    color: var(--accent-gold);
}

.auction-content {
    padding: 1.5rem;
}

.auction-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.auction-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.auction-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.current-bid {
    display: flex;
    flex-direction: column;
}

.bid-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bid-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.bid-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

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

.auction-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.auction-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.auction-gallery {
    position: relative;
}

.auction-main-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    background-color: #ffffff;
    padding: 2.5rem;
    /* The Inner Shadow Effect */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.08), 
                0 10px 30px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease;
}

.auction-info {
    display: flex;
    flex-direction: column;
}

.auction-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(107, 70, 193, 0.2);
    color: var(--primary-purple-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.auction-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.auction-detail-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.bid-panel {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.bid-current {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.bid-current-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.bid-current-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.bid-info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bid-info-label {
    color: var(--text-muted);
}

.bid-info-value {
    font-weight: 600;
}

.bid-timer-large {
    background: rgba(107, 70, 193, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.timer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.timer-display {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-value {
    background: var(--bg-darker);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    min-width: 50px;
}

.timer-unit {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.bid-actions {
    margin-top: 1.5rem;
}

.bid-button {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

.bid-increment {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================================
   BID HISTORY
   ================================================ */

.bid-history {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.bid-history-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bid-list {
    max-height: 400px;
    overflow-y: auto;
}

.bid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-darker);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.bid-item:first-child {
    background: rgba(107, 70, 193, 0.2);
    border: 1px solid var(--primary-purple);
}

.bid-item-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bid-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-mystical);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.bid-user-email {
    font-weight: 500;
}

.bid-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bid-item-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.winning-badge {
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

/* ================================================
   LOGIN / AUTH FORMS
   ================================================ */

.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.otp-inputs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

/* ================================================
   ALERTS & MESSAGES
   ================================================ */

.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(72, 187, 120, 0.15);
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: var(--accent-green);
}

.alert-error {
    background: rgba(252, 129, 129, 0.15);
    border: 1px solid rgba(252, 129, 129, 0.3);
    color: var(--accent-red);
}

.alert-info {
    background: rgba(107, 70, 193, 0.15);
    border: 1px solid rgba(107, 70, 193, 0.3);
    color: var(--primary-purple-light);
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--text-light);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-mystical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ================================================
   ADMIN STYLES
   ================================================ */

.admin-header {
    background: linear-gradient(135deg, #1e1e3f 0%, #2d1b4e 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-purple);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    text-decoration: none;
}

.admin-badge {
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.admin-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-darker);
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 0.25rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(107, 70, 193, 0.1);
    color: var(--text-light);
    border-left-color: var(--primary-purple);
}

.admin-main {
    flex: 1;
    padding: 2rem;
    background: var(--bg-dark);
}

.admin-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-darker);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background: rgba(107, 70, 193, 0.05);
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: rgba(72, 187, 120, 0.2);
    color: var(--accent-green);
}

.status-ended {
    background: rgba(160, 174, 192, 0.2);
    color: var(--text-muted);
}

.status-fulfilled {
    background: rgba(236, 201, 75, 0.2);
    color: var(--accent-gold);
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
    .auction-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .auction-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

/* ================================================
   ANIMATIONS
   ================================================ */

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--accent-green); }
.text-danger { color: var(--accent-red); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ================================================
   IMAGE WATERMARK STYLES
   ================================================ */

.watermark-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.watermark-text {
    position: absolute;
    bottom: 25px;
    left: 25px;
    font-size: 0.95rem;
    font-weight: 800;
    /* Darker Charcoal with 35% opacity */
    color: rgba(0, 0, 0, 0.35); 
    text-transform: uppercase;
    letter-spacing: 3px; /* Slightly wider for a premium feel */
    pointer-events: none;
    user-select: none;
    z-index: 10;
}

/* Optional: Add a second diagonal watermark in the center */
.watermark-container::after {
    content: 'SG AUCTION';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03); /* Extremely faint */
    white-space: nowrap;
    pointer-events: none;
    z-index: 5;
}

/* Small Watermark for Grid Cards */
.watermark-container-sm {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Updated Small Watermark for Grid Cards */
.watermark-text-sm {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 900; /* Extra bold for small text */
    color: rgba(0, 0, 0, 0.3); /* Slightly darker than before */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    pointer-events: none;
    user-select: none;
    z-index: 5;
}

/* Optional: Disable right-click on all auction images */
.auction-image img, 
.auction-main-image {
    -webkit-user-drag: none; /* Prevents dragging the image to desktop */
}