.ticket-rush-page {
    color: #2b2b2b;
}

.ticket-rush-hero {
    background: linear-gradient(135deg, rgba(255, 214, 102, .18), rgba(255,255,255,.92));
    border: 1px solid rgba(240, 191, 68, .35);
    border-radius: 24px;
    padding: 28px 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.ticket-rush-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(240, 191, 68, .45);
    color: #9c7413;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ticket-rush-title {
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 12px;
    color: #222;
    font-weight: 700;
}

.ticket-rush-lead {
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

.ticket-rush-preview,
.ticket-rush-card,
.ticket-rush-side-card {
    border-radius: 22px;
    overflow: hidden;
}

.ticket-rush-preview .card-body {
    padding: 18px;
}

.preview-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.preview-item {
    background: linear-gradient(180deg, #fffdf7 0%, #fff8e8 100%);
    border: 1px solid rgba(240, 191, 68, .22);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.preview-value {
    font-size: 22px;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.1;
}

.preview-label {
    margin-top: 6px;
    color: #7a7a7a;
    font-size: 12px;
}

.ticket-rush-main-row {
    align-items: start;
}

.ticket-rush-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ticket-rush-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ticket-rush-actions .btn {
    min-width: 126px;
    white-space: nowrap;
}

.ticket-rush-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.ticket-rush-section-subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: #7c7c7c;
}

.ticket-rush-board-wrap {
    background: linear-gradient(180deg, #f7f9fc 0%, #edf2f8 100%);
    padding: 18px;
}

.ticket-rush-board {
    position: relative;
    overflow: hidden;
    height: 620px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 214, 102, .18), transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(255, 214, 102, .10), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 48%, #eef3f8 100%);
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.board-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.board-glow-1 {
    width: 220px;
    height: 220px;
    top: -40px;
    left: -30px;
    background: rgba(255, 214, 102, .12);
}

.board-glow-2 {
    width: 240px;
    height: 240px;
    top: 80px;
    right: -40px;
    background: rgba(111, 170, 255, .10);
}

.board-overlay-message {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    padding: 16px 22px;
    color: #666;
    font-size: 15px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
    z-index: 4;
}

.ticket-item {
    position: absolute;
    width: 172px;
    height: 66px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    transform-origin: center;
    transition: transform .08s ease, opacity .12s ease, filter .12s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.ticket-item:hover {
    transform: scale(1.04);
    filter: brightness(1.03);
}

.ticket-item:focus,
.ticket-item:active,
.ticket-item:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.ticket-item * {
    pointer-events: none;
}

.ticket-shape {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 14px;
    background: #f4b23a;
    border: 1px solid #df9f28;
    box-shadow:
        0 10px 24px rgba(240, 191, 68, .32),
        inset 0 1px 0 rgba(255,255,255,.22);
}

.ticket-stub {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 34px;
    border-right: 2px dashed rgba(58, 40, 0, .24);
    background: rgba(255,255,255,.10);
}

.ticket-word {
    position: absolute;
    left: 42px;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    color: #1c1c1c;
}

.ticket-points {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #1c1c1c;
}

.ticket-item.golden {
    width: 188px;
    height: 72px;
    animation: goldenPulse 1.6s ease-in-out infinite;
}

.ticket-item.golden .ticket-shape {
    background: linear-gradient(135deg, #ffe693 0%, #ffc933 45%, #f0a500 100%);
    border-color: #d99200;
    box-shadow:
        0 16px 34px rgba(229, 169, 0, .46),
        0 0 26px rgba(255, 205, 74, .42),
        inset 0 1px 0 rgba(255,255,255,.40);
}

.ticket-item.golden .ticket-shape:after {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: 18px;
    width: 34px;
    transform: rotate(18deg);
    background: linear-gradient(180deg, rgba(255,255,255,.00) 0%, rgba(255,255,255,.28) 50%, rgba(255,255,255,.00) 100%);
    pointer-events: none;
}

.ticket-item.golden .ticket-stub {
    background: rgba(255,255,255,.18);
    border-right-color: rgba(58, 40, 0, .34);
}

.ticket-item.golden .ticket-word,
.ticket-item.golden .ticket-points {
    color: #111111;
}

.ticket-item.golden .ticket-points {
    font-size: 12px;
    font-weight: 900;
}

.ticket-item.burst {
    transform: scale(.78);
    opacity: 0;
}

/* === Конфетти / салют === */
.confetti-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 20;
    animation: confettiFly 1.4s ease-out forwards;
}

.confetti-particle--round {
    border-radius: 50%;
}

@keyframes confettiFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(0.3);
    }
}

/* Надпись-миляж на поле */
.milestone-banner {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,.96);
    border: 2px solid #f4b23a;
    border-radius: 18px;
    padding: 14px 28px;
    z-index: 25;
    text-align: center;
    box-shadow: 0 12px 30px rgba(244,178,58,.25);
    animation: milestonePop .5s ease-out forwards, milestoneFade .5s ease-in 1s forwards;
    pointer-events: none;
}

.milestone-banner__text {
    font-size: 20px;
    font-weight: 800;
    color: #d19100;
    line-height: 1.2;
}

.milestone-banner__sub {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    margin-top: 2px;
}

@keyframes milestonePop {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    60% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes milestoneFade {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-box {
    background: linear-gradient(180deg, #fffdf7 0%, #fff8eb 100%);
    border: 1px solid rgba(240,191,68,.20);
    border-radius: 16px;
    padding: 14px;
    text-align: center;
}

.stat-box--accent {
    background: linear-gradient(180deg, #fff6d8 0%, #ffefbf 100%);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #212121;
    line-height: 1.1;
}

.stat-label {
    margin-top: 5px;
    font-size: 12px;
    color: #787878;
}

.ticket-rush-side-title {
    font-size: 22px;
    color: #222;
    margin-bottom: 14px;
}

.game-status-box,
.record-chase-box,
.game-note {
    margin-top: 16px;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.game-status-box {
    background: #f7f9fc;
    border: 1px solid rgba(0,0,0,.06);
    color: #5f6875;
}

.record-chase-box {
    background: linear-gradient(135deg, rgba(255,214,102,.14), rgba(255,255,255,.95));
    border: 1px solid rgba(240,191,68,.24);
    color: #775811;
}

.about-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    text-align: left;
}

.about-toggle:focus,
.about-toggle:active {
    outline: none;
    box-shadow: none;
}

.about-toggle-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(240,191,68,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0;
    line-height: 1;
    transition: transform .2s ease;
    flex-shrink: 0;
    position: relative;
}

.about-toggle-icon::after {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9c7413;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.about-panel {
    display: none;
    margin-top: 16px;
}

.about-panel.is-open {
    display: block;
}

.about-toggle.is-open .about-toggle-icon {
    transform: rotate(45deg);
}

.game-note {
    background: #fffdf7;
    border: 1px solid rgba(240,191,68,.20);
    color: #68593b;
}

.game-note p {
    margin-bottom: 10px;
}

.game-note p:last-child {
    margin-bottom: 0;
}

.game-note--big {
    padding: 16px 18px;
}

.game-note--muted {
    background: #f7f9fc;
    border: 1px solid rgba(0,0,0,.06);
    color: #6a7480;
}

.why-us-section,
.marketing-section {
    margin-top: 32px;
}

.why-us-card {
    background: linear-gradient(180deg, #fffdfa 0%, #fffefc 100%);
    border: 1px solid rgba(240,191,68,.35);
    border-radius: 28px;
    padding: 22px 20px;
    box-shadow: 0 16px 36px rgba(0,0,0,.06);
}

.marketing-card {
    text-align: center;
    padding: 18px 0 24px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.why-us-title {
    font-size: 20px;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 14px;
    line-height: 1.2;
    text-align: center;
}

.marketing-title {
    font-size: 18px;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 10px;
    line-height: 1.2;
    text-align: center;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.why-us-item {
    background: linear-gradient(180deg, #fffdf7 0%, #fff8eb 100%);
    border: 1px solid rgba(240,191,68,.20);
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
}

.why-us-number {
    font-size: 22px;
    font-weight: 800;
    color: #d19100;
    line-height: 1.1;
    margin-bottom: 5px;
}

.why-us-label {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}

.marketing-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.marketing-actions--single {
    justify-content: center;
}

.marketing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 240px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .2s ease;
    text-align: center;
}

.marketing-btn:hover {
    transform: translateY(-1px);
}

.marketing-btn--primary {
    background: #ffbf18;
    color: #1f2328 !important;
}

.marketing-btn--primary:hover {
    background: #f2b300;
    color: #1f2328 !important;
}

.marketing-actions--single .marketing-btn {
    min-width: 240px;
}

.record-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.record-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    gap: 14px;
}

.record-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.record-row span {
    color: #6f6f6f;
}

.record-row strong {
    color: #222;
    font-size: 18px;
}

@keyframes goldenPulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.035);
        filter: brightness(1.06);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@media (max-width: 1199px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .ticket-rush-board {
        height: 560px;
    }
}

@media (max-width: 767px) {
    .ticket-rush-title {
        font-size: 34px;
    }
    .ticket-rush-card-header {
        align-items: flex-start;
    }
    .preview-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ticket-rush-board {
        height: 520px;
    }
    .ticket-item {
        width: 154px;
        height: 60px;
    }
    .ticket-item.golden {
        width: 168px;
        height: 66px;
    }
    .ticket-stub {
        width: 30px;
    }
    .ticket-word {
        left: 38px;
        right: 30px;
        font-size: 14px;
    }
    .why-us-title {
        font-size: 18px;
    }
    .marketing-title {
        font-size: 16px;
    }
    .marketing-btn {
        min-width: 100%;
        min-height: 44px;
        font-size: 14px;
    }
    .marketing-actions--single .marketing-btn {
        min-width: 100%;
    }
    .milestone-banner__text {
        font-size: 17px;
    }
    .milestone-banner {
        padding: 10px 20px;
    }
}

@media (max-width: 575px) {
    .ticket-rush-hero {
        padding: 24px 14px;
    }
    .ticket-rush-board-wrap {
        padding: 12px;
    }
    .ticket-rush-board {
        height: 480px;
        border-radius: 18px;
    }
    .preview-grid,
    .stats-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .ticket-rush-actions {
        width: 100%;
    }
    .ticket-rush-actions .btn {
        min-width: 0;
        flex: 1 1 auto;
    }
    .board-overlay-message {
        width: calc(100% - 32px);
        font-size: 14px;
    }
    .ticket-item {
        width: 138px;
        height: 54px;
    }
    .ticket-item.golden {
        width: 152px;
        height: 60px;
    }
    .ticket-stub {
        width: 28px;
    }
    .ticket-word {
        left: 36px;
        right: 28px;
        font-size: 12px;
    }
    .ticket-points {
        right: 8px;
        top: 7px;
        font-size: 10px;
    }
    .why-us-card {
        padding: 18px 14px;
    }
    .marketing-card {
        padding: 16px 8px;
    }
    .why-us-title {
        font-size: 17px;
        text-align: left;
    }
    .marketing-title {
        font-size: 15px;
        text-align: left;
    }
    .marketing-btn {
        min-height: 42px;
        font-size: 14px;
        padding: 8px 12px;
    }
    .marketing-actions--single .marketing-btn {
        min-width: 100%;
    }
    .milestone-banner__text {
        font-size: 15px;
    }
    .confetti-particle {
        width: 6px;
        height: 6px;
    }
}