/**
 * Tickets Screen - Professional Magic UI Design
 * 
 * Subtile, elegante Animationen mit Magic UI Effekten
 * Professionell und modern ohne übertriebene Animationen
 */

/* ============================================================================
   MAGIC UI ANIMATIONS - Professional & Subtle
   ============================================================================ */

/* Shimmer Effect für Cards */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Border Beam Animation */
@keyframes border-beam {
    0% { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}

/* Shine Border Effect */
@keyframes shine-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.15),
                    inset 0 0 20px rgba(59, 130, 246, 0.05);
    }
    50% { 
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.25),
                    inset 0 0 30px rgba(59, 130, 246, 0.1);
    }
}

/* Blur Fade In */
@keyframes blur-fade-in {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* Gradient Shift für Premium Cards */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================================================
   CONTAINER & LAYOUT
   ============================================================================ */

.tickets-screen {
    width: 100%;
    background: #ffffff;
}

.tickets-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
}

.tickets-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tickets-section-title {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 15px 0;
    letter-spacing: -0.02em;
}

/* ============================================================================
   HERO SECTION - Clean & Elegant
   ============================================================================ */

.tickets-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.tickets-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Subtle gradient shimmer on title */
.tickets-hero-title {
    font-size: 64px;
    font-weight: 900;
    margin: 0 0 24px 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(
        to right,
        #ffffff 30%,
        #93c5fd 50%,
        #ffffff 70%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Only animate on hover for subtlety */
.tickets-hero:hover .tickets-hero-title {
    animation: shimmer-subtle 3s ease-in-out;
}

.tickets-hero-subtitle {
    font-size: 24px;
    margin: 0 0 50px 0;
    opacity: 0.95;
    font-weight: 400;
}

.tickets-hero-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    font-size: 17px;
}

.tickets-hero-info-item {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.tickets-hero-info-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ============================================================================
   PRICE TABLE - 3 Elegant Cards
   ============================================================================ */

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
    padding-top: 20px;
    position: relative;
    isolation: isolate;
}

.ticket-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid #e2e8f0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: blur-fade-in 0.8s ease-out backwards;
    overflow: visible;
}

.ticket-card:nth-child(1) { animation-delay: 0.1s; }
.ticket-card:nth-child(2) { animation-delay: 0.3s; }
.ticket-card:nth-child(3) { animation-delay: 0.5s; }

/* Magic UI - Shine Border Effect (nur auf Hover) */
.ticket-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.4), 
        rgba(139, 92, 246, 0.4),
        rgba(59, 130, 246, 0.4)
    );
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -2;
    pointer-events: none;
}

/* Magic UI - Shimmer Overlay (entfernt - verursachte Flicker) */
.ticket-card::after {
    content: none;
}

.ticket-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    z-index: 10;
}

.ticket-card:hover::before {
    opacity: 1;
    animation: gradient-shift 3s ease infinite;
}

/* Recommended Card - Premium Magic UI Effect */
.ticket-card-recommended {
    border-color: #3b82f6;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ticket-card-recommended::before {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.6), 
        rgba(139, 92, 246, 0.6),
        rgba(59, 130, 246, 0.6)
    );
    z-index: -2;
}

.ticket-card-recommended:hover {
    box-shadow: 
        0 24px 60px rgba(59, 130, 246, 0.25),
        0 0 0 2px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Badge - Professional with subtle pulse */
.ticket-badge {
    position: absolute;
    top: -14px;
    right: 32px;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: white;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ticket-badge-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ticket-badge-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 
        0 4px 16px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ticket-badge-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 
        0 4px 16px rgba(245, 158, 11, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ticket-card:hover .ticket-badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Card Header */
.ticket-card-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.ticket-name {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

/* Pricing - Aligned & Professional */
.ticket-pricing {
    margin-bottom: 32px;
    text-align: center;
    padding: 40px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Feste Höhe für Streichpreis-Zeile - damit alle aligned sind */
.ticket-price-original {
    font-size: 32px;
    color: #dc2626;
    text-decoration: line-through;
    text-decoration-thickness: 4px;
    text-decoration-color: #ef4444;
    font-weight: 700;
    position: relative;
    display: block;
    height: 40px;
    line-height: 40px;
    min-height: 40px;
}

/* Verstecke Pseudo-Element wenn leer */
.ticket-price-original:empty::after {
    display: none;
}

/* Roter Streich-Effekt mit Magic UI */
.ticket-price-original::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 110%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(239, 68, 68, 0.7) 10%, 
        rgba(220, 38, 38, 0.95) 50%, 
        rgba(239, 68, 68, 0.7) 90%, 
        transparent
    );
    transform: translate(-50%, -50%) rotate(-3deg);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

/* Aktueller Preis in Grün mit Magic UI Effekten */
.ticket-price-current {
    font-size: 80px;
    font-weight: 900;
    background: linear-gradient(135deg, 
        #10b981 0%, 
        #059669 30%,
        #047857 70%,
        #065f46 100%
    );
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    line-height: 1;
    position: relative;
    display: block;
    height: 90px;
    animation: gradient-shift 4s ease infinite;
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.3));
}

/* Magic UI - Shimmer Glanz für grünen Preis */
.ticket-price-current::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: price-shimmer 3s ease-in-out infinite;
    mix-blend-mode: overlay;
}

@keyframes price-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Magic UI - Pulsierender Glow für grünen Preis */
.ticket-price-current::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(
        circle at center,
        rgba(16, 185, 129, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    animation: price-glow 2s ease-in-out infinite;
    z-index: -1;
    filter: blur(20px);
}

@keyframes price-glow {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1);
    }
}

.ticket-savings {
    font-size: 18px;
    color: #065f46;
    font-weight: 800;
    padding: 10px 24px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
    border-radius: 24px;
    display: block;
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    min-height: 44px;
    line-height: 24px;
    text-align: center;
}

/* Clickable Savings Link */
.ticket-savings-link {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-savings-link:hover {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 50%, #34d399 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(16, 185, 129, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.6);
}

/* Verstecke Hintergrund wenn leer, aber behalte die Höhe */
.ticket-savings-empty {
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    color: transparent;
    visibility: hidden;
}

/* Validity */
.ticket-validity {
    text-align: center;
    font-size: 15px;
    color: #64748b;
    margin-bottom: 28px;
    font-weight: 600;
    padding: 12px;
    background: #fef3c7;
    border-radius: 12px;
}

/* Features List - Ultra Clean */
.ticket-features {
    flex-grow: 1;
    margin-bottom: 36px;
    position: relative;
}

.ticket-features-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 24px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ticket-feature-item {
    font-size: 16px;
    color: #475569;
    padding: 14px 0;
    line-height: 1.6;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ticket-feature-item:last-child {
    border-bottom: none;
}

.ticket-feature-item::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.6;
}

/* Verstecke Häkchen bei Optionen */
.ticket-feature-item.ticket-feature-option::before {
    display: none;
}

/* Minimal hover effect */
.ticket-card:hover .ticket-feature-item {
    padding-left: 6px;
}

/* ============================================================================
   CTA BUTTONS - Magic UI Shimmer Effect
   ============================================================================ */

.ticket-cta {
    margin-top: auto;
    position: relative;
}

.ticket-cta-button {
    width: 100%;
    padding: 20px 40px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f39324 0%, #ff6b35 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(243, 147, 36, 0.4),
        inset 0 -4px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Magic UI Shimmer Effect */
.ticket-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.ticket-cta-button:hover::before {
    left: 100%;
}

.ticket-cta-button:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f39324 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(243, 147, 36, 0.5),
        inset 0 -4px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* ============================================================================
   GRUPPEN-TICKETS - Minimalist
   ============================================================================ */

.tickets-group-section {
    background: #f8fafc;
}

.tickets-group-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.tickets-group-description {
    font-size: 20px;
    color: #475569;
    margin-bottom: 36px;
    line-height: 1.6;
}

.tickets-group-example {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 36px;
    font-size: 18px;
    font-weight: 700;
    color: #065f46;
}

.tickets-group-contact {
    margin-bottom: 36px;
    padding: 28px;
    background: #f8fafc;
    border-radius: 14px;
}

.tickets-group-contact p {
    font-size: 17px;
    color: #475569;
    margin: 12px 0;
}

.tickets-group-contact a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: color 0.2s ease;
}

/* Minimal underline animation */
.tickets-group-contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.tickets-group-contact a:hover::after {
    width: 100%;
}

/* ============================================================================
   FAQ SECTION - Clean Accordion
   ============================================================================ */

.tickets-faq-accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    transition: background 0.2s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-arrow {
    font-size: 18px;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.2s ease;
    font-weight: bold;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 30px 24px 30px;
    margin: 0;
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================================================
   TESTIMONIALS - Simple Cards
   ============================================================================ */

.tickets-testimonials-section {
    background: #f8fafc;
}

.tickets-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 28px;
    font-size: 80px;
    color: #f0f9ff;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    font-size: 17px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.testimonial-author-title {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
}

.testimonial-author-company {
    font-size: 15px;
    color: #64748b;
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 20px;
    margin-top: 20px;
    letter-spacing: 2px;
}

/* ============================================================================
   FINAL CTA - Professional Gradient
   ============================================================================ */

.tickets-final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    position: relative;
}

.tickets-final-cta-content {
    position: relative;
}

.tickets-final-cta-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.tickets-final-cta-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin: 0 0 50px 0;
    font-weight: 400;
}

.tickets-final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.tickets-final-cta-button {
    min-width: 220px;
    background: white;
    color: #0f172a;
    font-weight: 800;
    padding: 20px 40px;
    border-radius: 16px;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.tickets-final-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
    .tickets-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tickets-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tickets-hero {
        padding: 70px 20px;
    }
    
    .tickets-hero-title {
        font-size: 42px;
    }
    
    .tickets-hero-subtitle {
        font-size: 19px;
    }
    
    .tickets-hero-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .tickets-section {
        padding: 50px 20px;
    }
    
    .tickets-section-title {
        font-size: 36px;
    }
    
    .ticket-name {
        font-size: 26px;
        min-height: 70px;
    }
    
    .ticket-price-current {
        font-size: 64px;
        height: 70px;
    }
    
    .ticket-price-original {
        font-size: 26px;
        height: 35px;
        line-height: 35px;
    }
    
    .tickets-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .tickets-final-cta-title {
        font-size: 36px;
    }
    
    .tickets-final-cta-subtitle {
        font-size: 19px;
    }
    
    .tickets-final-cta-buttons {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .tickets-final-cta-button {
        width: 100%;
    }
    
    .tickets-group-content {
        padding: 36px 28px;
    }
}

@media (max-width: 576px) {
    .tickets-hero {
        padding: 50px 15px;
    }
    
    .tickets-hero-title {
        font-size: 32px;
    }
    
    .tickets-hero-subtitle {
        font-size: 17px;
    }
    
    .tickets-section {
        padding: 40px 15px;
    }
    
    .tickets-section-title {
        font-size: 28px;
    }
    
    .ticket-card {
        padding: 36px 28px;
    }
    
    .ticket-name {
        font-size: 24px;
        min-height: 60px;
    }
    
    .ticket-price-current {
        font-size: 56px;
        height: 60px;
    }
    
    .ticket-price-original {
        font-size: 24px;
        height: 32px;
        line-height: 32px;
    }
    
    .tickets-group-content {
        padding: 30px 20px;
    }
}
