/* Premium Spiritual Design System */
:root {
    --saffron: #FF9933;
    --saffron-light: #FFB74D;
    --gold: #D4AF37;
    --gold-light: #F4C430;
    --cream: #FDF5E6;
    --cream-dark: #F5E6CC;
    --maroon: #5A0E0E;
    --maroon-light: #800000;
    --text-dark: #2C1810;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 10px 25px rgba(212, 175, 55, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--cream);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(255, 153, 51, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 0% 100%, rgba(90, 14, 14, 0.05) 0%, transparent 20%);
    background-attachment: fixed;
}

/* Premium Card Styles */
.card-premium {
    background: white;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), var(--saffron), var(--gold));
    opacity: 0;
    transition: var(--transition);
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold);
}

.card-premium:hover::before {
    opacity: 1;
}

/* Image Hover Effects */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.6s ease;
}

.card-premium:hover .img-zoom-container img {
    transform: scale(1.1);
}

/* Divine Buttons */
.btn-divine {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 153, 51, 0.3);
}

.btn-divine::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--saffron) 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-divine:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.4);
}

.btn-divine:hover::after {
    opacity: 1;
}

/* Navbar Links */
.nav-link {
    position: relative;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link::after {
    content: '🕉️';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-size: 12px;
    transition: var(--transition);
    opacity: 0;
}

.nav-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link:hover::after {
    transform: translateX(-50%) scale(1);
    bottom: -20px;
    opacity: 1;
}

/* Form Inputs */
.input-premium {
    border: 2px solid var(--cream-dark);
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.8);
}

.input-premium:focus {
    border-color: var(--saffron);
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.1);
    background-color: white;
    outline: none;
}

/* Quantity Control Buttons */
.qty-btn {
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--saffron);
    color: white !important;
    border-color: var(--saffron) !important;
    transform: rotate(90deg);
    /* Slight fun rotation for + */
}

.qty-btn:first-child:hover {
    transform: rotate(0deg);
    /* No rotation for minus */
}

/* Headings with Gold Gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--saffron) 50%, var(--maroon) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--saffron);
    border-radius: 5px;
    border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--maroon);
}

/* Page Transitions */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animations for list items */
.card-premium:nth-child(1) {
    animation-delay: 0.1s;
}

.card-premium:nth-child(2) {
    animation-delay: 0.2s;
}

.card-premium:nth-child(3) {
    animation-delay: 0.3s;
}

.card-premium:nth-child(4) {
    animation-delay: 0.4s;
}

/* Spiritual Divider */
.spiritual-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.spiritual-divider::before,
.spiritual-divider::after {
    content: '';
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    width: 100px;
}

/* Hover shine effect for images */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: 0.7s;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-header {
    background: rgba(255, 153, 51, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Dashboard Stats Card */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf2 100%);
    border: 1px solid rgba(255, 153, 51, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(255, 153, 51, 0.1);
    border-color: rgba(255, 153, 51, 0.3);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--maroon);
}

.stat-label {
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Enhanced Tab Buttons */
.tab-button-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid transparent;
}

.tab-button-premium.active {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFFFFF 100%);
    border-color: var(--saffron);
    color: var(--maroon);
    box-shadow: 0 4px 6px rgba(255, 153, 51, 0.1);
}

.tab-button-premium:hover:not(.active) {
    background: #FFFBF2;
    transform: translateY(-1px);
}

/* Table Styling */
.table-premium th {
    background-color: #FFF8E1;
    color: var(--maroon);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.table-premium tr:hover td {
    background-color: #FFFBF2;
}

/* Shine Hover Effect Update */
.hover-shine:hover::after {
    left: 150%;
}