/* ── Registration / tickets (speakers-style) ── */
@property --tix-btn-gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.new-tickets {
    --tix-primary: #2d3764;
    --tix-secondary: #ce8924;
    --tix-gold-light: #ffc165;
    --tix-gold-cream: #fff8ee;
    --tix-gold-soft: #ffe4b8;
    position: relative;
    background: #f0f2f8;
    overflow: hidden;
}

.new-tickets__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 50% at 12% 50%, rgba(25, 38, 102, 0.06) 0%, transparent 62%),
        radial-gradient(ellipse 45% 45% at 88% 30%, rgba(206, 137, 36, 0.08) 0%, transparent 55%);
}

.new-tickets__inner {
    position: relative;
    z-index: 1;
}

.new-tickets__copy {
    padding-right: clamp(0rem, 2vw, 1.5rem);
}

.new-tickets__copy .heading9 h5 {
    margin-bottom: 1rem;
}

.new-tickets__title {
    color: var(--ztc-text-text-2);
}

.new-tickets__intro {
    margin: 0;
    color: #4a5278;
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 400;
    max-width: 34rem;
}

.new-tickets__cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Animated conic border — card (rotate pseudo; works without @property) */
.new-tickets__card-wrap {
    position: relative;
    display: block;
    width: 100%;
    padding: 3px;
    border-radius: 27px;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
}

.new-tickets__card-wrap::before {
    position: absolute;
    z-index: 0;
    top: 50%;
    left: 50%;
    width: 200%;
    aspect-ratio: 1;
    content: '';
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        #ce8924 0deg,
        #fff5e8 72deg,
        #e8c078 144deg,
        #2d3764 216deg,
        #b87a22 288deg,
        #ce8924 360deg
    );
    transform: translate(-50%, -50%);
    transform-origin: center center;
    animation: tix-border-rotate 2s linear infinite;
    will-change: transform;
}

.new-tickets__card-wrap:hover::before {
    background: conic-gradient(
        from 0deg,
        #e8b86a 0deg,
        #fff8ee 72deg,
        #ce8924 144deg,
        #3d4d7a 216deg,
        #ce8924 288deg,
        #e8b86a 360deg
    );
}

/* Animated gradient border — button (slower, lighter) */
.new-tickets__btn-wrap {
    position: relative;
    display: block;
    width: 100%;
    padding: 2px;
    border-radius: 999px;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(
        var(--tix-btn-gradient-angle),
        rgba(245, 226, 196, 0.5) 0%,
        rgba(228, 188, 122, 0.45) 24%,
        rgba(206, 137, 36, 0.5) 50%,
        rgba(228, 188, 122, 0.45) 76%,
        rgba(245, 226, 196, 0.5) 100%
    );
    animation: tix-btn-gradient-spin 8s linear infinite;
}

.new-tickets__btn-wrap:hover {
    background: linear-gradient(
        var(--tix-btn-gradient-angle),
        rgba(255, 245, 232, 0.65) 0%,
        rgba(232, 192, 120, 0.55) 24%,
        rgba(206, 137, 36, 0.65) 50%,
        rgba(232, 192, 120, 0.55) 76%,
        rgba(255, 245, 232, 0.65) 100%
    );
}

.new-tickets__btn-wrap .vl-btn1 {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 999px;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.new-tickets__btn-wrap .vl-btn1::before,
.new-tickets__btn-wrap .vl-btn1::after {
    border-radius: 999px;
}

@keyframes tix-border-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes tix-btn-gradient-spin {
    to {
        --tix-btn-gradient-angle: 360deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    .new-tickets__card-wrap::before {
        animation: none;
    }

    .new-tickets__btn-wrap {
        animation: none;
        --tix-btn-gradient-angle: 135deg;
    }

    .new-tickets__badge--early-bird {
        animation: none;
    }
}

.new-tickets__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.5rem 1.5rem 1.35rem;
    border-radius: 24px;
    overflow: hidden;
    background-color: #2d3764;
    background-image: linear-gradient(
        165deg,
        #5a6d9e 0%,
        #455579 22%,
        #2d3764 55%,
        #1e2545 100%
    );
    border: none;
    box-shadow:
        0 10px 36px rgba(30, 38, 72, 0.28),
        0 2px 8px rgba(45, 55, 100, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -12px 24px -8px rgba(20, 26, 52, 0.45);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.new-tickets__card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(
        165deg,
        #5a6d9e 0%,
        #455579 22%,
        #2d3764 55%,
        #1e2545 100%
    );
    opacity: 0.88;
}

/* Downward navy → gold overlay (membership featured card style) */
.new-tickets__card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(180deg, #273360 24.32%, #ce8924 178.57%);
}

.new-tickets__card > * {
    position: relative;
    z-index: 1;
}

.new-tickets__card-wrap--group .new-tickets__card {
    box-shadow:
        0 10px 36px rgba(30, 38, 72, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -12px 24px -8px rgba(20, 26, 52, 0.45);
}

.new-tickets__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #c98a2e;
    color: #fff;
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(12, 18, 48, 0.2);
}

.new-tickets__badge i {
    font-size: 0.72rem;
}

.new-tickets__badge--early-bird {
    top: 1rem;
    right: 1.15rem;
    padding: 0.45rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #f0c878 0%, #ce8924 45%, #b87a22 100%);
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 0 0 2px rgba(206, 137, 36, 0.3),
        0 6px 18px rgba(206, 137, 36, 0.5),
        0 3px 10px rgba(12, 18, 48, 0.25);
    animation: tix-badge-zoom 2.2s ease-in-out infinite;
    transform-origin: top right;
}

.new-tickets__badge--early-bird i {
    font-size: 0.75rem;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.new-tickets__badge--regular {
    background: #c98a2e;
}

.new-tickets__badge--premium {
    background: #5c4d9e;
}

@keyframes tix-badge-zoom {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

.new-tickets__card-head {
    margin-bottom: 0.85rem;
    padding-right: 6rem;
}

.new-tickets__card:has(.new-tickets__badge--early-bird) .new-tickets__card-head {
    padding-right: 6.75rem;
}

.new-tickets__card-name {
    margin: 0;
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #c98a2e;
    color: #fff;
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 4px 14px rgba(12, 18, 48, 0.22);
}

.new-tickets__price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.5rem;
    font-variant-numeric: lining-nums;
}

.new-tickets__price {
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1;
}

.new-tickets__price-was {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: line-through;
}

.new-tickets__per {
    flex: 1 0 100%;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.new-tickets__urgency {
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: rgba(12, 18, 48, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.new-tickets__urgency p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    line-height: 1.45;
}

.new-tickets__urgency p + p {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.new-tickets__urgency-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    color: #f0c878;
    font-size: 0.75rem;
}

.new-tickets__card-desc {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
}

.new-tickets__features {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.new-tickets__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.55rem;
    color: #fff;
    font-family: var(--textFamily), 'Source Sans 3', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    text-transform: none;
}

.new-tickets__features li:first-child {
    margin-top: 0;
}

.new-tickets__features li img {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.new-tickets__card-footer {
    margin-top: 1.15rem;
    padding-top: 0.15rem;
}

.new-tickets__card-footer .tix-sold-out-btn {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .new-tickets__copy {
        padding-right: 0;
        margin-bottom: 0.25rem;
        text-align: center;
    }

    .new-tickets__intro {
        margin-inline: auto;
    }
}

@media (min-width: 992px) {
    .new-tickets__cards--multi {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }

    .new-tickets__cards--multi .new-tickets__card-wrap .new-tickets__card {
        padding: 1.25rem 1.15rem 1.1rem;
    }

    .new-tickets__cards--multi .new-tickets__price {
        font-size: 2rem;
    }

    .new-tickets__cards--multi .new-tickets__card-head {
        padding-right: 0;
    }

    .new-tickets__cards--multi .new-tickets__badge {
        position: static;
        align-self: flex-start;
        margin-bottom: 0.65rem;
    }

    .new-tickets__cards--multi .new-tickets__badge--early-bird {
        top: auto;
        right: auto;
    }

    .new-tickets__cards--multi .new-tickets__card:has(.new-tickets__badge--early-bird) .new-tickets__card-head {
        padding-right: 0;
    }
}
