﻿/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-highlight {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.2em;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #ffd700;
    color: #333;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    color: #333;
    text-decoration: none;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-item i {
    font-size: 2.5em;
    color: #ffd700;
}

.stat-content {
    text-align: left;
}

.stat-value {
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.85;
}

/* Winners Showcase */
.winners-showcase {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-center h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.section-header-center h2 i {
    color: #ffd700;
    margin-right: 10px;
}

.section-subtitle {
    font-size: 1.2em;
    color: #666;
}

.winners-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.winner-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.winner-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.winner-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f8f9fa;
}

.winner-info {
    padding: 15px;
}

.winner-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95em;
    min-height: 40px;
}

.winner-price {
    margin-bottom: 8px;
}

.won-price {
    color: #28a745;
    font-weight: 700;
    font-size: 1.3em;
}

.savings {
    color: #667eea;
    font-size: 0.9em;
    margin-left: 5px;
    font-weight: 600;
}

.winner-time {
    color: #999;
    font-size: 0.85em;
}

/* How It Works */
.how-it-works {
    background: #f8f9fa;
    padding: 60px 20px;
    margin-bottom: 50px;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.step-icon {
    font-size: 3em;
    color: #667eea;
    margin: 20px 0;
}

.step-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

.step-arrow {
    font-size: 2em;
    color: #667eea;
}

.how-it-works-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-learn-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-learn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Trust Section */
.trust-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.trust-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.trust-item i {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 15px;
}

.trust-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.trust-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Active Auctions Section */
.active-auctions-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.active-auctions-section h2 {
    color: #333;
    font-size: 2em;
    margin: 0;
}

.calendar-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.calendar-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.calendar-link i {
    font-size: 1.2em;
}

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.auction-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.auction-image-container {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.auction-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.auction-card:hover .auction-thumbnail {
    transform: scale(1.05);
}

.auction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auction-card:hover .auction-overlay {
    opacity: 1;
}

.view-auction-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.view-auction-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.auction-info {
    padding: 20px;
}

.auction-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

.auction-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.price-container {
    margin-bottom: 15px;
}

.current-bid, .buy-it-now {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.price-label {
    font-weight: bold;
    color: #333;
}

.current-bid .price-value {
    color: #28a745;
    font-weight: bold;
}

.buy-it-now .price-value {
    color: #6c757d;
}

.time-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.time-label {
    font-weight: bold;
    color: #333;
}

.time-remaining {
    color: #dc3545;
    font-weight: bold;
}

.auction-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
    color: white;
    text-decoration: none;
}

.view-action-btn {
    width: 100%;
}

.no-auctions {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-auctions h3 {
    color: #333;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    /* Hero Mobile */
    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.1em;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-item {
        flex: 1 1 45%;
        justify-content: center;
    }

    /* Winners Mobile */
    .winners-slider {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .section-header-center h2 {
        font-size: 1.8em;
    }

    /* How It Works Mobile */
    .step-arrow {
        display: none;
    }

    .step-card {
        max-width: 100%;
    }

    /* Trust Mobile */
    .trust-grid {
        grid-template-columns: 1fr;
    }

    /* Auctions Mobile */
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .active-auctions-section h2 {
        text-align: center;
    }

    .calendar-link {
        justify-content: center;
    }

    .auction-grid {
        grid-template-columns: 1fr;
    }

    .auction-actions {
        flex-direction: column;
    }

    .view-action-btn {
        width: 100%;
    }
}
