@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(400%);
    }
}

@keyframes glitch-1 {
    0%, 89%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translate(0, 0);
        opacity: 0;
    }
    90% {
        clip-path: inset(20% 0 60% 0);
        transform: translate(-3px, 0);
        opacity: 1;
    }
    92% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(3px, 0);
        opacity: 1;
    }
    94% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(-2px, 0);
        opacity: 1;
    }
    96% {
        clip-path: inset(10% 0 80% 0);
        transform: translate(2px, 0);
        opacity: 1;
    }
    98% {
        clip-path: inset(70% 0 5% 0);
        transform: translate(-1px, 0);
        opacity: 1;
    }
}

@keyframes glitch-2 {
    0%, 89%, 100% {
        clip-path: inset(100% 0 0 0);
        transform: translate(0, 0);
        opacity: 0;
    }
    90% {
        clip-path: inset(60% 0 20% 0);
        transform: translate(3px, 0);
        opacity: 0.8;
    }
    92% {
        clip-path: inset(10% 0 70% 0);
        transform: translate(-3px, 0);
        opacity: 0.6;
    }
    94% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, 0);
        opacity: 0.9;
    }
    96% {
        clip-path: inset(30% 0 50% 0);
        transform: translate(-2px, 0);
        opacity: 0.7;
    }
    98% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(1px, 0);
        opacity: 0.5;
    }
}

@keyframes borderPulse {
    0%, 100% {
        border-color: #FF4052;
        box-shadow: 0 0 8px rgba(255, 64, 82, 0.3), inset 0 0 8px rgba(255, 64, 82, 0.05);
    }
    50% {
        border-color: #ff6b7a;
        box-shadow: 0 0 20px rgba(255, 64, 82, 0.6), inset 0 0 16px rgba(255, 64, 82, 0.1);
    }
}

@keyframes tickerSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cornerFlash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes timerPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rgbShift {
    0% {
        text-shadow: -1px 0 rgba(255, 64, 82, 0.7), 1px 0 rgba(255, 140, 66, 0.5);
    }
    33% {
        text-shadow: 1px 0 rgba(255, 64, 82, 0.7), -1px 0 rgba(255, 140, 66, 0.5);
    }
    66% {
        text-shadow: 0 1px rgba(255, 64, 82, 0.5), 0 -1px rgba(255, 140, 66, 0.4);
    }
    100% {
        text-shadow: -1px 0 rgba(255, 64, 82, 0.7), 1px 0 rgba(255, 140, 66, 0.5);
    }
}

.promo {
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: stretch;
    background-color: #ff00241c;
}

.promo-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/promo-bg.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.promo-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
}

.promo-scanline {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.promo-scanline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 64, 82, 0.025) 50%, transparent 100%);
    animation: scanline 4s linear infinite;
}

.promo-skin1 {
    position: absolute;
    inset: 0;
    background-image: url('/images/skin1.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: levitate 5s ease-in-out infinite;
}

.promo-skin2 {
    position: absolute;
    inset: 0;
    background-image: url('/images/skin2.webp');
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.promo-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.promo-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    z-index: 3;
    animation: cornerFlash 2s ease-in-out infinite;
}

.promo-corner::before,
.promo-corner::after {
    content: '';
    position: absolute;
    background: #FF4052;
}

.promo-corner::before {
    width: 100%;
    height: 2px;
    top: 0;
    left: 0;
}

.promo-corner::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 0;
}

.promo-corner.tl {
    top: 12px;
    left: 12px;
}

.promo-corner.tr {
    top: 12px;
    right: 12px;
    transform: scaleX(-1);
}

.promo-corner.bl {
    bottom: 12px;
    left: 12px;
    transform: scaleY(-1);
}

.promo-corner.br {
    bottom: 12px;
    right: 12px;
    transform: scale(-1);
}


.promo-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 26px;
    background: rgba(255, 64, 82, 0.88);
    z-index: 5;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.promo-ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: tickerSlide 20s linear infinite;
}

.promo-ticker-inner span {
    font-family: 'SFPro', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    padding: 0 28px;
    opacity: 0.95;
}

.promo-ticker-dot {
    color: rgba(255, 255, 255, 0.45);
    padding: 0 4px !important;
}


.prm-container {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1281px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem 0;
    gap: 2rem;
}


.promo-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: fadeSlideUp 0.6s ease both;
}

.promo-title {
    font-family: 'SFPro', sans-serif;
    font-weight: 900;
    font-size: 48px;
    line-height: 0.92;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
}

.promo-title::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: #FF4052;
    animation: glitch-1 10s infinite;
    pointer-events: none;
}

.promo-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: #FF1493;
    animation: glitch-2 10s infinite;
    animation-delay: 0.08s;
    pointer-events: none;
}

.promo-subtitle {
    font-family: 'SFPro', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
    animation: fadeSlideUp 0.6s 0.15s ease both;
}

.promo-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    animation: fadeSlideUp 0.6s 0.3s ease both;
}

.promo .code {
    position: relative;
    background: rgba(8, 8, 12, 0.78);
    border: 1.5px dashed #FF4052;
    border-radius: 10px;
    padding: 14px 20px;
    backdrop-filter: blur(10px);
    animation: borderPulse 2.5s ease-in-out infinite;
    min-width: 220px;
}

.promo .code::before,
.promo .code::after {
    content: '◆';
    position: absolute;
    font-size: 8px;
    color: #FF4052;
    line-height: 1;
}

.promo .code::before {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.promo .code::after {
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.code-label {
    font-family: 'SFPro', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF4052;
    margin-bottom: 4px;
}

.code-value {
    font-family: 'SFPro', sans-serif;
    font-weight: 900;
    font-size: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    animation: rgbShift 5s ease-in-out infinite;
    margin-bottom: 12px;
}

.btn-apply {
    width: 100%;
    height: 34px;
    background: #FF4052;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'SFPro', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    transition: background 0.2s, transform 0.15s;
    position: relative;
    overflow: hidden;
}

.btn-apply::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.btn-apply:hover {
    background: #e5303f;
    transform: translateY(-1px);
}

.btn-apply:hover::after {
    transform: translateX(100%);
}

.btn-apply:active {
    transform: translateY(0);
}

.promo-timer {
    background: rgba(8, 8, 12, 0.78);
    border: 1px solid rgba(255, 64, 82, 0.3);
    border-radius: 8px;
    padding: 8px 14px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
}

.timer-label {
    font-family: 'SFPro', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

.timer-digits {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-family: 'RobotoMono', sans-serif !important;
}

.timer-digits span {
    font-family: 'RobotoMono', sans-serif !important;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.timer-num {
    font-family: 'SFPro', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #FF4052;
    line-height: 1;
    min-width: 32px;
    text-align: center;
    background: rgba(255, 64, 82, 0.08);
    border: 1px solid rgba(255, 64, 82, 0.2);
    border-radius: 4px;
    padding: 2px 4px;
}

.timer-sep {
    font-family: 'SFPro', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: rgba(255, 64, 82, 0.5);
    margin-bottom: 8px;
}

.timer-caption {
    font-family: 'SFPro', sans-serif;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 900px) {
    .promo {
        height: auto;
        min-height: 220px;
    }

    .prm-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
        gap: 1rem;
    }

    .promo-title {
        font-size: 34px;
        line-height: 0.95;
    }

    .promo-right {
        width: 100%;
        flex-direction: row;
        align-items: stretch;
        gap: 8px;
    }

    .promo .code {
        min-width: unset;
        flex: 1;
        padding: 10px 14px;
    }

    .code-value {
        font-size: 22px;
    }

    .promo-timer {
        flex: 1;
    }
}

@media (max-width: 560px) {
    .promo-title {
        font-size: 26px;
    }

    .promo-subtitle {
        font-size: 11px;
    }

    .promo-right {
        flex-direction: column;
    }

    .timer-num {
        font-size: 17px;
        min-width: 26px;
    }

    .promo-corner {
        display: none;
    }
}

@media (max-width: 380px) {
    .prm-container {
        padding: 1rem
    }

    .promo-title {
        font-size: 22px;
    }

    .code-value {
        font-size: 18px;
    }
}
