:root {
    --sacred-saffron: #f59e0b;
    /* Aligned with Bootstrap Warning */
    --sacred-orange-dark: #d97706;
    --soft-cream: #fdfbf7;
    --stone-800: #1c1917;
    --stone-600: #57534e;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--soft-cream);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
    color: var(--stone-800);
}

.text-orange-600 {
    color: var(--sacred-saffron) !important;
}

.text-blue-600-600 {
    color: #2563eb !important;
}

.text-success-600 {
    color: #16a34a !important;
}

.text-danger-600 {
    color: #dc2626 !important;
}

.text-primary-600 {
    color: #2563eb !important;
}

.btn-pulse {
    animation: pulse-saffron 2s infinite;
}

@keyframes animate-pulse-subtle {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.animate-pulse {
    animation: animate-pulse-subtle 2s ease-in-out infinite;
}

.hover-scale:hover {
    transform: scale(1.05) translateY(-3px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.badge {
    color: inherit;
}

/* Typography */
h1,
h2,
h3,
.font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.tracking-tightest {
    letter-spacing: -0.05em;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

/* Glass Navigation */
.glass-nav {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Hero Elements */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.4) 0%, rgba(253, 251, 247, 1) 95%);
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Sacred Decor */
.decorative-line {
    width: 60px;
    height: 2px;
    background: var(--sacred-saffron);
    margin: 1.5rem auto;
    position: relative;
}

.decorative-line::after {
    content: "❀";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--soft-cream);
    padding: 0 10px;
    color: var(--sacred-saffron);
}

section {
    position: relative;
    overflow-x: hidden;
}

/* Interactive Elements */
.transition-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-hover:hover {
    transform: translateY(-5px);
}

.btn-mode-toggle {
    color: var(--stone-600);
    transition: all 0.2s ease;
}

.btn-mode-toggle.active {
    background: white !important;
    color: var(--sacred-saffron) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .display-3 {
        font-size: 2.2rem;
    }

    .fs-4 {
        font-size: 1.1rem !important;
    }

    .plan-pill {
        padding: 0.8rem !important;
    }

    .plan-pill span:first-child {
        font-size: 0.8rem !important;
    }

    /* Adjust add-on table for mobile */
    #selected-addons-container .table {
        font-size: 0.8rem;
        min-width: 450px;
        /* Force minimum width to enable horizontal scroll */
    }
}

.h4-md {
    font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 768px) {
    .h4-md {
        font-size: 1.5rem;
    }
}

/* Plan Coloring */
.plan-shatrughna {
    color: #16a34a;
}

.plan-bharat {
    color: #2563eb;
}

.plan-lakshman {
    color: #dc2626;
}

/* Selected Tier Card Highlight */
.tier-card.active {
    border: 3px solid var(--sacred-saffron) !important;
    box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.3), 0 30px 60px -12px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-15px) scale(1.02) !important;
    z-index: 10 !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.item-select input:checked+div,
.item-select input:checked~span {
    color: var(--sacred-saffron) !important;
}

.plan-pill {
    border: 2px solid #eee;
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.plan-pill:hover {
    border-color: var(--sacred-saffron);
    transform: translateY(-2px);
}

.plan-pill.active {
    background: var(--sacred-saffron) !important;
    border-color: var(--sacred-saffron) !important;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
    transform: scale(1.08) translateY(-3px);
}

.plan-pill.active span {
    color: white !important;
}

.plan-pill.active .text-muted {
    opacity: 0.8 !important;
}

/* Registration Studio Premium Styles */
.registration-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.input-div input,
.input-div select {
    height: 70px;
    padding-top: 1.5rem !important;
}

.input-div label {
    padding-top: 1.2rem;
    transition: all 0.3s ease;
}

.mode-selector-wrapper {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.upload-zone {
    border: 2px dashed #e2e8f0;
    cursor: pointer;
    background-image: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
}

.upload-zone:hover {
    border-color: var(--sacred-saffron);
    background: #fffdfa;
}

/* Divine Ticket Aesthetics */
.divine-ticket {
    background: white;
    border-radius: 2.5rem;
    overflow: hidden;
    position: relative;
}

.ticket-header {
    background: var(--stone-800);
    color: white;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
}

.total-banner {
    background: #fff8eb;
    border: 1px solid #fee1b1;
}

.divine-ticket::before,
.divine-ticket::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--soft-cream);
    border-radius: 50%;
    top: 68%;
    /* Aligned with perforation */
    z-index: 5;
}

.divine-ticket::before {
    left: -20px;
}

.divine-ticket::after {
    right: -20px;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.btn-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: white !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-orange:hover {
    color: white !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(217, 119, 6, 0.4);
}

/* Add-on Card Design */
.addon-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: grab;
    user-select: none;
}

.addon-card:active {
    cursor: grabbing;
}

.addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--sacred-saffron);
}

.addon-card.dragging {
    opacity: 0.5;
    transform: scale(0.98);
}

.addon-drag-handle {
    color: #cbd5e1;
    cursor: grab;
}

.addon-card:hover .addon-drag-handle {
    color: var(--sacred-saffron);
}

.addon-card .qty-control {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.addon-card input[type="number"] {
    max-width: 50px;
    background: transparent !important;
}

@media (max-width: 576px) {
    .addon-card {
        padding: 1rem;
    }
}