/* ChicPik Style Vault - Custom CSS */

/* Fonts */
body {
    font-family: 'Poppins', sans-serif;
}

/* Color Variables */
:root {
    --primary-pink: #ec4899;
    --primary-purple: #8b5cf6;
    --accent-gold: #f59e0b;
    --success-green: #10b981;
    --danger-red: #ef4444;
    --warning-yellow: #f59e0b;
    --info-blue: #3b82f6;
    --dark-gray: #1f2937;
    --light-gray: #f3f4f6;
}

/* Gradient Classes */
.bg-gradient-pink {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

/* Header Styles */
.header-section {
    position: relative;
    z-index: 1000;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-pink) !important;
}

.search-input {
    border-radius: 25px 0 0 25px;
    border: 2px solid #e5e7eb;
}

.search-input:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.2rem rgba(236, 72, 153, 0.25);
}

/* Cart Badge */
.cart-count {
    font-size: 0.75rem;
    min-width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lucky Draw Alert */
.lucky-draw-alert {
    background: linear-gradient(135deg, var(--accent-gold), #fbbf24);
    color: white;
    border: none;
    animation: pulse 2s infinite;
}

/* Countdown Timer */
.countdown-timer {
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

/* Card Styles */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

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

.badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger-red);
    color: white;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 15px;
}

.badge-featured {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-gold);
    color: white;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 15px;
}

/* Price Styles */
.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.price-original {
    font-size: 1rem;
    text-decoration: line-through;
    color: #6b7280;
}

/* Button Styles */
.btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
}

.btn-primary:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

.btn-outline-primary:hover {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
}

/* Floating Button */
.floating-draw-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-draw-btn .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    border: none;
    position: relative;
}

.floating-draw-btn .tooltip-text {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-gray);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-draw-btn:hover .tooltip-text {
    opacity: 1;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes confetti {
    0% { transform: translateY(-100vh) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(720deg); }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary-pink);
    animation: confetti 2s linear infinite;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    padding: 80px 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-heading .underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    margin: 0 auto;
    border-radius: 2px;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Winner Cards */
.winner-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.winner-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-pink);
}

/* Dashboard Styles */
.dashboard-nav {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.dashboard-nav .nav-link {
    color: var(--dark-gray);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.dashboard-nav .nav-link:hover,
.dashboard-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: none;
}

.stats-card .stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stats-card .stats-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.2rem rgba(236, 72, 153, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Toast Notifications */
.toast {
    border-radius: 10px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .floating-draw-btn {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-draw-btn .btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utilities */
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.text-primary-pink { color: var(--primary-pink) !important; }
.text-primary-purple { color: var(--primary-purple) !important; }
.text-accent-gold { color: var(--accent-gold) !important; }

.bg-primary-pink { background-color: var(--primary-pink) !important; }
.bg-primary-purple { background-color: var(--primary-purple) !important; }
.bg-accent-gold { background-color: var(--accent-gold) !important; }