/* Mobile Skins E-Commerce - FLASHY & VIBRANT Design */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Vibrant Gradient Palette */
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-pink: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-ocean: linear-gradient(135deg, #2af598 0%, #009efd 100%);
    --gradient-fire: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-neon: linear-gradient(135deg, #00f260 0%, #0575e6 100%);
    
    /* Neon Glow Effects */
    --neon-glow: 0 0 40px rgba(99, 102, 241, 0.8), 0 0 80px rgba(99, 102, 241, 0.4);
    --pink-glow: 0 0 40px rgba(236, 72, 153, 0.8);
    --orange-glow: 0 0 40px rgba(245, 158, 11, 0.8);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 20%, #f093fb 40%, #4facfe 60%, #00f2fe 80%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Glassmorphism overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(100px);
    z-index: -1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* FLASHY BUTTONS */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--neon-glow), 0 20px 40px rgba(0,0,0,0.3);
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
}

.btn-secondary {
    background: var(--gradient-fire);
    color: white;
}

.btn-outline {
    background: rgba(255,255,255,0.95);
    border: 3px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: var(--gradient-purple);
    color: white;
    border-color: transparent;
}

/* GLASSMORPH CARDS */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.4s ease;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--neon-glow), 0 30px 60px rgba(0,0,0,0.3);
    border-color: rgba(99, 102, 241, 0.8);
}

.card:hover::before  {
    opacity: 1;
}

/* UTILITY CLASSES */
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-4 { padding: 2rem 0; }
.py-5 { padding: 3rem 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.text-muted { color: #64748b; }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.25rem 3rem; font-size: 1.125rem; }
.flex-column { flex-direction: column; }
.flex-wrap { gap: wrap; }

/* GRID SYSTEM */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .grid-cols-3, .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
}

/* BADGES WITH GLOW */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.badge-primary {
    background: var(--gradient-purple);
    color: white;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.badge-danger {
    background: var(--gradient-fire);
    color: white;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

.badge-success {
    background: var(--gradient-ocean);
    color: white;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

/* FORMS */
.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.1), var(--neon-glow);
    outline: none;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155;
}

/* ALERTS */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border-left: 5px solid;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    color: #065f46;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
    color: #991b1b;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

/* PRICE */
.price {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-old {
    font-size: 1.25rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* SPINNER */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* STAR RATING */
.star-rating {
    display: inline-flex;
    gap: 2px;
    font-size: 1.25rem;
}

.star-filled {
    color: #fbbf24;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
}

.star-empty {
    color: #e2e8f0;
}