/* ============================================
   TICKETS
============================================ */

.ticket-row {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    padding: 28px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid #ececec;
    transition: .25s;
}

    .ticket-row:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
    }

    .ticket-row:last-child {
        border-bottom: none;
    }

.ticket-info {
    flex: 1;
}

.ticket-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

    .ticket-title strong {
        font-size: 1.2rem;
    }

.ticket-tag {
    background: #d63384;
    color: white;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.ticket-description {
    color: #555;
    margin-bottom: 10px;
}

.ticket-includes {
    color: #777;
    font-size: .9rem;
}

.ticket-price {
    width: 170px;
    text-align: right;
}

.ticket-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: .9rem;
}

.ticket-current-price {
    font-size: 2rem;
    font-weight: 900;
    color: #111;
}

.ticket-price select {
    margin-left: auto;
    width: 90px;
}

.ticket-card {
    max-width: 900px;
    min-height: 360px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 14px 35px rgba(0,0,0,.12);
    display: grid;
    grid-template-columns: 1fr 260px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
}

.ticket-left {
    padding: 38px 42px;
    position: relative;
}

.ticket-label {
    display: inline-block;
    background: #ff2f87;
    color: #fff;
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: .08em;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.ticket-left h1 {
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #122033;
}

.ticket-type {
    font-size: 1.15rem;
    color: #5b6472;
    margin-bottom: 30px;
}

.ticket-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin-bottom: 32px;
}

    .ticket-info span {
        display: block;
        color: #6c757d;
        font-size: .8rem;
        margin-bottom: 4px;
    }

    .ticket-info strong {
        display: block;
        color: #111827;
        font-size: .98rem;
    }

.ticket-code {
    font-family: Consolas, monospace;
    color: #ff2f87;
    font-weight: 700;
    font-size: .95rem;
    background: #f8f9fb;
    border: 1px dashed #cfd6df;
    border-radius: 14px;
    padding: 14px 18px;
    word-break: break-all;
}

.ticket-right {
    background: #172d46;
    color: #fff;
    padding: 34px 26px;
    text-align: center;
    position: relative;
    border-left: 2px dashed rgba(255,255,255,.45);
}

    .ticket-right::before,
    .ticket-right::after {
        content: "";
        position: absolute;
        left: -17px;
        width: 34px;
        height: 34px;
        background: #eef2f7;
        border-radius: 50%;
    }

    .ticket-right::before {
        top: -17px;
    }

    .ticket-right::after {
        bottom: -17px;
    }

.ticket-stub-title {
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.05;
    letter-spacing: .05em;
    margin-bottom: 24px;
}

.ticket-status {
    margin-bottom: 24px;
}

.ticket-qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto 14px;
    background: #fff;
    color: #172d46;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .ticket-card {
        grid-template-columns: 1fr;
    }

    .ticket-right {
        border-left: 0;
        border-top: 2px dashed rgba(255,255,255,.45);
    }

    .ticket-info {
        grid-template-columns: 1fr;
    }
}

.ticket-pro {
    max-width: 1220px;
    min-height: 560px;
    background: #fff;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1.35fr .75fr;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,.13);
    position: relative;
}

.ticket-main {
    padding: 54px 56px;
}

.ticket-pill {
    display: inline-block;
    background: #ff2f87;
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .06em;
    padding: 11px 19px;
    border-radius: 999px;
    margin-bottom: 38px;
}

.ticket-main h1 {
    font-size: 3rem;
    font-weight: 950;
    color: #08182b;
    margin-bottom: 8px;
    line-height: 1.05;
}

.ticket-subtitle {
    font-size: 1.35rem;
    color: #596579;
    margin-bottom: 42px;
}

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 54px;
    margin-bottom: 36px;
}

    .ticket-grid span {
        display: block;
        color: #6b7280;
        font-size: .95rem;
        margin-bottom: 6px;
    }

    .ticket-grid strong {
        display: block;
        color: #020617;
        font-size: 1.08rem;
        font-weight: 800;
        word-break: break-word;
    }

.ticket-main hr {
    margin: 34px 0;
    border-color: #cfd6df;
}

.ticket-codebox {
    border: 2px dashed #ff9cc7;
    border-radius: 18px;
    padding: 24px 28px;
    margin-top: 12px;
    background: linear-gradient(90deg, rgba(255,47,135,.04), rgba(255,255,255,1));
}

    .ticket-codebox span {
        display: block;
        color: #ff2f87;
        font-weight: 900;
        font-size: .9rem;
        letter-spacing: .04em;
        margin-bottom: 10px;
    }

    .ticket-codebox strong {
        display: block;
        color: #ff2f87;
        font-family: Consolas, monospace;
        font-size: 1.35rem;
        word-break: break-all;
    }

.ticket-visual {
    position: relative;
    padding: 44px 36px;
    color: #fff;
    text-align: center;
    border-left: 3px dotted rgba(10,24,43,.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #182c47;
}

    .ticket-visual::before,
    .ticket-visual::after {
        content: "";
        position: absolute;
        left: -22px;
        width: 44px;
        height: 44px;
        background: #eef2f7;
        border-radius: 50%;
        z-index: 2;
    }

    .ticket-visual::before {
        top: -22px;
    }

    .ticket-visual::after {
        bottom: -22px;
    }

.ticket-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,47,135,.08), rgba(0,0,0,.35));
    pointer-events: none;
}

.ticket-event-title {
    position: relative;
    z-index: 1;
    font-size: 2.05rem;
    line-height: 1.02;
    font-weight: 950;
    text-transform: uppercase;
    margin-bottom: 26px;
    text-shadow: 0 4px 14px rgba(0,0,0,.35);
}

.ticket-status {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
}

    .ticket-status .badge {
        font-size: 1rem;
        padding: 10px 18px;
        border-radius: 12px;
    }

.ticket-qr {
    position: relative;
    z-index: 1;
    width: 185px;
    height: 185px;
    background: #fff;
    color: #08182b;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    font-weight: 950;
    margin-bottom: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

    .ticket-qr img {
        width: 155px;
        height: 155px;
        display: block;
    }

.ticket-small {
    position: relative;
    z-index: 1;
    font-weight: 700;
    margin-bottom: auto;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.ticket-claim {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    font-style: italic;
    text-shadow: 0 4px 14px rgba(0,0,0,.45);
}

    .ticket-claim span {
        color: #ff2f87;
    }

@media (max-width: 900px) {
    .ticket-pro {
        grid-template-columns: 1fr;
    }

    .ticket-main {
        padding: 34px 26px;
    }

        .ticket-main h1 {
            font-size: 2.2rem;
        }

    .ticket-grid {
        grid-template-columns: 1fr;
    }

    .ticket-visual {
        min-height: 430px;
        border-left: 0;
        border-top: 3px dotted rgba(10, 24, 43, .75);
    }
}

.ticket-qr {
    width: 220px;
    height: 220px;
    border-radius: 26px;
}

    .ticket-qr img {
        width: 185px;
        height: 185px;
        display: block;
    }

.ticket-small-code {
    position: relative;
    z-index: 1;
    max-width: 240px;
    color: #fff;
    font-family: Consolas, monospace;
    font-size: .82rem;
    font-weight: 800;
    word-break: break-all;
    margin-bottom: auto;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.ticket-bottom-info {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #d8dee8;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

    .ticket-bottom-info span {
        display: block;
        color: #6b7280;
        font-size: .85rem;
        margin-bottom: 5px;
    }

    .ticket-bottom-info strong {
        display: block;
        color: #08182b;
        font-size: 1rem;
        font-weight: 900;
    }
