/* ========== TICKETS PAGE ========== */

/* Navigation Bar */
.tickets-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.tickets-nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #ffffff, #b8b8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    filter: drop-shadow(0 0 15px rgba(138, 100, 255, 0.5));
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-back:hover {
    color: #ffffff;
    border-color: rgba(138, 100, 255, 0.4);
    background: rgba(138, 100, 255, 0.1);
}

.nav-back svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-back:hover svg {
    transform: translateX(-3px);
}

/* Hero Header */
.tickets-hero {
    position: relative;
    z-index: 10;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.tickets-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.15), rgba(138, 100, 255, 0.15));
    border: 1px solid rgba(255, 100, 180, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 180, 210, 1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.tickets-hero-badge svg {
    width: 14px;
    height: 14px;
}

.tickets-hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #b8b8ff 40%, #ff64b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
}

.tickets-hero-event {
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.tickets-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.tickets-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(180, 160, 255, 0.9);
    font-weight: 500;
}

.tickets-hero-meta-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.tickets-hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(138, 100, 255, 0.6), rgba(255, 100, 180, 0.6), transparent);
    margin: 2rem auto;
    opacity: 0;
}

/* Ticket Cards Section */
.tickets-section {
    position: relative;
    z-index: 10;
    padding: 2rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tickets-section-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* Ticket Card Base */
.ticket-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.ticket-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ticket-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.ticket-card:hover::before {
    opacity: 1;
}

/* Standard Ticket */
.ticket-card--standard::before {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.08), rgba(138, 100, 255, 0.05));
}

.ticket-card--standard:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(100, 200, 255, 0.1);
}

.ticket-card--standard .ticket-card-accent {
    background: linear-gradient(135deg, #64c8ff, #8a64ff);
}

/* Ehrenmensch Ticket (Featured) */
.ticket-card--ehrenmensch {
    border-color: rgba(255, 100, 180, 0.2);
}

.ticket-card--ehrenmensch::before {
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.08), rgba(138, 100, 255, 0.05));
}

.ticket-card--ehrenmensch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8a64ff, #ff64b4, #64c8ff);
    background-size: 200% 100%;
    animation: shimmerBorder 3s linear infinite;
}

.ticket-card--ehrenmensch:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(255, 100, 180, 0.15),
        0 0 120px rgba(138, 100, 255, 0.1);
}

.ticket-card--ehrenmensch .ticket-card-accent {
    background: linear-gradient(135deg, #ff64b4, #8a64ff);
}

/* Helfer Ticket */
.ticket-card--helfer::before {
    background: linear-gradient(135deg, rgba(100, 255, 180, 0.08), rgba(100, 200, 255, 0.05));
}

.ticket-card--helfer:hover {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(100, 255, 180, 0.1);
}

.ticket-card--helfer .ticket-card-accent {
    background: linear-gradient(135deg, #64ffb4, #64c8ff);
}

/* Card Inner Elements */
.ticket-card-accent {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ticket-card-accent svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
    stroke: #ffffff;
    fill: none;
}

.ticket-card-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.ticket-card--standard .ticket-card-badge {
    background: rgba(100, 200, 255, 0.15);
    border: 1px solid rgba(100, 200, 255, 0.3);
    color: rgba(150, 220, 255, 1);
}

.ticket-card--ehrenmensch .ticket-card-badge {
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.2), rgba(138, 100, 255, 0.2));
    border: 1px solid rgba(255, 100, 180, 0.4);
    color: rgba(255, 180, 210, 1);
}

.ticket-card--helfer .ticket-card-badge {
    background: rgba(100, 255, 180, 0.15);
    border: 1px solid rgba(100, 255, 180, 0.3);
    color: rgba(150, 255, 200, 1);
}

.ticket-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #d0d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ticket-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.ticket-card-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ticket-card-price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.ticket-card-price-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.25rem;
}

.ticket-card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 1.5rem;
}

.ticket-card-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.ticket-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.ticket-card-features li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ticket-card--standard .ticket-card-features li svg {
    color: rgba(100, 200, 255, 0.8);
}

.ticket-card--ehrenmensch .ticket-card-features li svg {
    color: rgba(255, 100, 180, 0.8);
}

.ticket-card--helfer .ticket-card-features li svg {
    color: rgba(100, 255, 180, 0.8);
}

/* CTA Button */
.ticket-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.ticket-card--standard .ticket-card-cta {
    background: transparent;
    border: 1px solid rgba(100, 200, 255, 0.3);
    color: #ffffff;
}

.ticket-card--standard .ticket-card-cta:hover {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.2), rgba(138, 100, 255, 0.2));
    border-color: rgba(100, 200, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 200, 255, 0.2);
}

.ticket-card--ehrenmensch .ticket-card-cta {
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.4), rgba(138, 100, 255, 0.4));
    border: 1px solid rgba(255, 100, 180, 0.4);
    color: #ffffff;
}

.ticket-card--ehrenmensch .ticket-card-cta:hover {
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.6), rgba(138, 100, 255, 0.6));
    border-color: rgba(255, 100, 180, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 100, 180, 0.3);
}

.ticket-card--helfer .ticket-card-cta {
    background: transparent;
    border: 1px solid rgba(100, 255, 180, 0.3);
    color: #ffffff;
}

.ticket-card--helfer .ticket-card-cta:hover {
    background: linear-gradient(135deg, rgba(100, 255, 180, 0.2), rgba(100, 200, 255, 0.2));
    border-color: rgba(100, 255, 180, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 180, 0.2);
}

.ticket-card-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.ticket-card-cta:hover svg {
    transform: translateX(3px);
}

/* Pretix Widget Container */
.pretix-section {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.pretix-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.pretix-container-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff, #d0d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pretix-container-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Pretix Fallback (shown when widget fails) */
.pretix-fallback {
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 100, 180, 0.2);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.05), rgba(138, 100, 255, 0.05));
    text-align: center;
}

.pretix-fallback-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(138, 100, 255, 0.2), rgba(255, 100, 180, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pretix-fallback-icon svg {
    width: 32px;
    height: 32px;
    color: rgba(180, 160, 255, 0.8);
}

.pretix-fallback-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.pretix-fallback-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.pretix-fallback-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.4), rgba(138, 100, 255, 0.4));
    border: 1px solid rgba(255, 100, 180, 0.4);
    color: #ffffff;
    transition: all 0.3s ease;
}

.pretix-fallback-cta:hover {
    background: linear-gradient(135deg, rgba(255, 100, 180, 0.6), rgba(138, 100, 255, 0.6));
    border-color: rgba(255, 100, 180, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 100, 180, 0.3);
}

.pretix-fallback-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.pretix-fallback-cta:hover svg {
    transform: translate(2px, -2px);
}

/* Pretix Widget Dark Theme Overrides */
#pretix-widget-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

.pretix-widget-wrapper,
[class*="pretix-widget"] {
    color-scheme: dark;
}

.pretix-widget-wrapper .pretix-widget-info-message {
    background: rgba(138, 100, 255, 0.1) !important;
    border: 1px solid rgba(138, 100, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
}

.pretix-widget-wrapper .pretix-widget-info-message a {
    color: rgba(180, 160, 255, 0.9) !important;
    text-decoration: underline !important;
}

/* Info Section */
.tickets-info {
    position: relative;
    z-index: 10;
    padding: 0 2rem 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.tickets-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tickets-info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.tickets-info-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.tickets-info-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: rgba(180, 160, 255, 0.7);
}

.tickets-info-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.tickets-info-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Lineup Teaser */
.lineup-section {
    position: relative;
    z-index: 10;
    padding: 0 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.lineup-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.lineup-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.lineup-artist {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
    text-decoration: none;
    cursor: pointer;
}

.lineup-artist:hover {
    border-color: rgba(138, 100, 255, 0.3);
    background: rgba(138, 100, 255, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.lineup-artist:visited,
.lineup-artist:active,
.lineup-artist:focus {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.lineup-artist-type {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    background: rgba(138, 100, 255, 0.2);
    color: rgba(180, 160, 255, 0.9);
}

/* ========== RESPONSIVE TICKETS ========== */
@media (max-width: 900px) {
    .tickets-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .ticket-card--ehrenmensch {
        order: -1;
    }

    .tickets-info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .tickets-hero {
        padding: 7rem 1.5rem 3rem;
    }
}

@media (max-width: 480px) {
    .tickets-nav {
        padding: 0.75rem 1rem;
    }

    .nav-back span {
        display: none;
    }

    .tickets-hero-meta {
        gap: 1rem;
    }

    .tickets-hero-meta-item {
        font-size: 0.85rem;
    }

    .ticket-card {
        padding: 2rem 1.5rem;
    }

    .pretix-container {
        padding: 2rem 1.5rem;
    }

    .lineup-grid {
        flex-direction: column;
        align-items: center;
    }
}
