@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-card: #ffffff;
    --color-border: #e9ecef;
    --color-text: #2d3436;
    --color-text-muted: #636e72;
    
    --brand-purple: #7b00b1;
    --brand-red: #e71b19;
    --brand-green: #00a859;
    --brand-pink: #ec268f;
    --brand-yellow: #ffd902;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Background Pattern - "Confetti/Joy" */
.bg-pattern-joy {
    background-color: var(--color-bg);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(123, 0, 177, 0.03) 0%, transparent 25%), 
        radial-gradient(circle at 85% 30%, rgba(236, 38, 143, 0.03) 0%, transparent 25%),
        linear-gradient(45deg, rgba(123, 0, 177, 0.02) 25%, transparent 25%, transparent 75%, rgba(123, 0, 177, 0.02) 75%, rgba(123, 0, 177, 0.02)),
        linear-gradient(45deg, rgba(123, 0, 177, 0.02) 25%, transparent 25%, transparent 75%, rgba(123, 0, 177, 0.02) 75%, rgba(123, 0, 177, 0.02));
    background-position: 0 0, 0 0, 0 0, 10px 10px;
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
}

/* Background "Tickets" Abstract */
.bg-tickets {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237b00b1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #dfe6e9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-purple);
}

/* Utilities */
.text-gradient-brand {
    background: linear-gradient(to right, var(--brand-purple), var(--brand-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Pill - Clean White */
.nav-pill {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.5rem 0.5rem;
}

/* Cards - Clean Shadow */
.card-clean {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.card-clean:hover {
    border-color: var(--brand-purple);
    box-shadow: 0 20px 40px rgba(123, 0, 177, 0.1);
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--brand-green);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.3);
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: #008f4c;
    box-shadow: 0 8px 25px rgba(0, 168, 89, 0.4);
    transform: scale(1.02);
}

.btn-secondary-custom {
    background-color: white;
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-secondary-custom:hover {
    background-color: var(--brand-purple);
    color: white;
    transform: scale(1.02);
}

/* Hero Elements */
.hero-blob {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.6;
}

/* Location Dot */
.location-dot {
    width: 12px;
    height: 12px;
    background-color: var(--brand-green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 168, 89, 0.2);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 89, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(0, 168, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 89, 0); }
}

/* Ticket Card */
.ticket-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 0, 177, 0.08);
    border-color: rgba(123, 0, 177, 0.2);
}

/* Road & Truck Animation */
.bg-dashed-line {
    background-image: linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.5) 50%);
    background-size: 40px 100%;
    animation: move-road 2s linear infinite;
}

.bg-dashed-line-dark {
    background-image: linear-gradient(90deg, transparent 50%, rgba(0, 0, 0, 0.15) 50%);
    background-size: 60px 100%;
    animation: move-road 0.6s linear infinite;
}

@keyframes move-road {
    0% { background-position: 0 0; }
    100% { background-position: -60px 0; }
}

.truck-body-bounce {
    animation: truck-bounce 0.5s ease-in-out infinite alternate;
    transform-origin: center bottom;
}

@keyframes truck-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-2px); }
}

.wheel-spin {
    transform-origin: center;
    transform-box: fill-box;
    animation: spin-wheels 0.5s linear infinite;
}

@keyframes spin-wheels {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
