/* Tomorrow World Tickets - Custom Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1E1B4B;
}

::-webkit-scrollbar-thumb {
    background: #8B5CF6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #EC4899;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event card hover effect */
.event-card {
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Gradient text animation */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

/* Pulse animation for live indicators */
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* Cart modal animation */
.cart-slide-in {
    transform: translateX(0) !important;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 100;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: #8B5CF6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Trust badge styles */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
}

/* Price tag */
.price-tag {
    position: relative;
    display: inline-block;
}

.price-tag::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    cursor: pointer;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Ticket tier cards */
.ticket-tier {
    position: relative;
    overflow: hidden;
}

.ticket-tier.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: #EC4899;
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
}

/* Hero section overlay */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.4) 0%,
        rgba(236, 72, 153, 0.3) 50%,
        rgba(6, 182, 212, 0.2) 100%
    );
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form input focus */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Navigation active state */
.nav-active {
    color: #8B5CF6;
    position: relative;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    border-radius: 2px;
}

/* Mobile menu animation */
#mobileMenu {
    transition: all 0.3s ease;
}

/* Image hover zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* Category icon hover */
.category-icon {
    transition: all 0.3s ease;
}

.category-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Countdown timer */
.countdown-item {
    min-width: 60px;
}

/* Star rating */
.star-rating {
    color: #FBBF24;
}

/* Social media icons hover */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
}
