/* ═══════════════════════════════════════════════════════════════
   SON KAZANÇLAR — Dark Neon Cyberpunk Edition
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── SECTION ─── */
.son-kazanclar-section {
    width: 100%;
    margin: 0 0 14px 0;
    position: relative;
}

/* ─── OUTER SHELL ─── */
.son-kazanclar-wrapper {
    display: flex;
    align-items: stretch;
    height: 96px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: #030608;
    border-top: 1px solid rgba(0, 176, 255, 0.15);
    border-bottom: 1px solid rgba(0, 176, 255, 0.15);
    box-shadow:
        0 0 40px rgba(0, 176, 255, 0.04) inset,
        0 4px 30px rgba(0, 0, 0, 0.7);
}

/* Scanline texture overlay */
.son-kazanclar-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.18) 2px,
        rgba(0, 0, 0, 0.18) 4px
    );
    pointer-events: none;
    z-index: 5;
}

/* Ambient neon glow backdrop */
.son-kazanclar-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 300px 80px at 180px 50%, rgba(0, 176, 255, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 200px 60px at 85% 50%, rgba(0,200,255,0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ─── LEFT LABEL ─── */
.son-kazanclar-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 18px;
    min-width: 118px;
    flex-shrink: 0;
    position: relative;
    z-index: 6;
    background: linear-gradient(180deg, #00b0ff 0%, #008ac8 45%, #00638f 100%);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    overflow: hidden;
}

/* Shine sweep */
.son-kazanclar-label::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -80%;
    width: 50%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.28), transparent);
    animation: label-shine 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes label-shine {
    0%   { left: -80%; }
    40%  { left: 140%; }
    100% { left: 140%; }
}

/* Scanlines on label too */
.son-kazanclar-label::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.10) 3px,
        rgba(0,0,0,0.10) 6px
    );
    pointer-events: none;
    z-index: 2;
}

.skl-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    padding: 2px 7px 2px 5px;
    z-index: 3;
    position: relative;
}

.skl-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: live-blink 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes live-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px #fff; }
    50%       { opacity: 0.3; box-shadow: none; }
}

.skl-live-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

.skl-icon {
    z-index: 3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

.skl-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: rgba(0, 14, 20, 0.85);
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
    z-index: 3;
    position: relative;
}

/* ─── TRACK AREA ─── */
.son-kazanclar-track-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding-left: 16px;
}

/* Fade masks */
.son-kazanclar-track-wrapper::before,
.son-kazanclar-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 70px;
    z-index: 10;
    pointer-events: none;
}

.son-kazanclar-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #030608 0%, transparent 100%);
}

.son-kazanclar-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #030608 0%, transparent 100%);
}

.son-kazanclar-track {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    width: max-content;
    animation: marquee-scroll 65s linear infinite;
    will-change: transform;
}

.son-kazanclar-track:hover {
    animation-play-state: paused;
}

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

/* ─── WIN CARD ─── */
.win-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    min-width: 238px;
    height: 70px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid rgba(0, 176, 255, 0.18);
    background: linear-gradient(135deg, rgba(0, 176, 255, 0.04) 0%, rgba(0,0,0,0.3) 100%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* Neon corner accent top-left */
.win-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 22px; height: 22px;
    border-top: 2px solid rgba(0, 176, 255, 0.55);
    border-left: 2px solid rgba(0, 176, 255, 0.55);
    border-radius: 2px 0 0 0;
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.2s;
}

/* Neon corner accent bottom-right */
.win-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 22px; height: 22px;
    border-bottom: 2px solid rgba(0, 176, 255, 0.55);
    border-right: 2px solid rgba(0, 176, 255, 0.55);
    border-radius: 0 0 2px 0;
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.2s;
}

.win-card:hover {
    border-color: rgba(0, 176, 255, 0.6);
    background: linear-gradient(135deg, rgba(0, 176, 255, 0.09) 0%, rgba(0,0,0,0.25) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 0 12px rgba(0, 176, 255, 0.25),
        0 0 30px rgba(0, 176, 255, 0.1),
        0 4px 20px rgba(0,0,0,0.5);
}

.win-card:hover::before,
.win-card:hover::after {
    border-color: rgba(0, 176, 255, 0.9);
}

/* ── BIG WIN variant ── */
.win-card.win-card--big {
    border-color: rgba(255, 200, 0, 0.35);
    background: linear-gradient(135deg, rgba(255,180,0,0.07) 0%, rgba(0,0,0,0.3) 100%);
    box-shadow: 0 0 18px rgba(255,180,0,0.12) inset;
    animation: big-card-pulse 2.5s ease-in-out infinite;
}

@keyframes big-card-pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,180,0,0.1) inset; }
    50%       { box-shadow: 0 0 22px rgba(255,180,0,0.22) inset, 0 0 8px rgba(255,180,0,0.15); }
}

.win-card.win-card--big::before,
.win-card.win-card--big::after {
    border-color: rgba(255,200,0,0.7);
}

.win-card.win-card--big:hover {
    border-color: rgba(255,200,0,0.75);
    box-shadow:
        0 0 16px rgba(255,200,0,0.35),
        0 0 40px rgba(255,180,0,0.15),
        0 4px 20px rgba(0,0,0,0.5);
}

/* ─── THUMBNAIL ─── */
.win-card-gif {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0, 176, 255, 0.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.7), 0 0 6px rgba(0, 176, 255, 0.1);
}

.win-card--big .win-card-gif {
    border-color: rgba(255,200,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.7), 0 0 8px rgba(255,180,0,0.2);
}

/* ─── CARD CONTENT ─── */
.win-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 2;
}

.win-card-game {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.win-card-player {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(0, 176, 255, 0.45);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.win-card-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 2px;
}

.win-card-multiplier {
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #00b0ff;
    background: rgba(0, 176, 255, 0.1);
    padding: 1px 6px;
    border-radius: 2px;
    border: 1px solid rgba(0, 176, 255, 0.3);
    letter-spacing: 0.5px;
    line-height: 1.5;
    text-shadow: 0 0 6px rgba(0, 176, 255, 0.6);
}

.win-card--big .win-card-multiplier {
    color: #ffd700;
    background: rgba(255,215,0,0.1);
    border-color: rgba(255,215,0,0.35);
    text-shadow: 0 0 6px rgba(255,200,0,0.7);
}

.win-card-amount {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #00b0ff;
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow:
        0 0 8px rgba(0, 176, 255, 0.8),
        0 0 20px rgba(0, 176, 255, 0.4);
}

.win-card-amount--big {
    color: #ffd700;
    text-shadow:
        0 0 8px rgba(255,215,0,0.9),
        0 0 22px rgba(255,180,0,0.5),
        0 0 40px rgba(255,120,0,0.2);
    animation: gold-flicker 3s ease-in-out infinite;
}

@keyframes gold-flicker {
    0%, 90%, 100% { opacity: 1; }
    92%            { opacity: 0.85; }
    95%            { opacity: 1; }
    97%            { opacity: 0.9; }
}

/* ─── PLAY BUTTON ─── */
.win-card-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(0, 176, 255, 0.5);
    border-radius: 3px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #00b0ff;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 8px rgba(0, 176, 255, 0.15) inset;
}

.win-card-play-btn:hover {
    background: rgba(0, 176, 255, 0.15);
    border-color: #00b0ff;
    box-shadow: 0 0 14px rgba(0, 176, 255, 0.4), 0 0 6px rgba(0, 176, 255, 0.3) inset;
    transform: scale(1.08);
}

.win-card-play-btn svg {
    width: 13px;
    height: 13px;
    fill: #00b0ff;
    margin-left: 1px;
    filter: drop-shadow(0 0 3px rgba(0, 176, 255, 0.8));
}

.win-card--big .win-card-play-btn {
    border-color: rgba(255,215,0,0.5);
    color: #ffd700;
    box-shadow: 0 0 8px rgba(255,200,0,0.12) inset;
}

.win-card--big .win-card-play-btn:hover {
    background: rgba(255,215,0,0.12);
    border-color: #ffd700;
    box-shadow: 0 0 14px rgba(255,200,0,0.4), 0 0 6px rgba(255,200,0,0.25) inset;
}

.win-card--big .win-card-play-btn svg {
    fill: #ffd700;
    filter: drop-shadow(0 0 3px rgba(255,200,0,0.9));
}

/* ─── BIG WIN LIGHTNING BADGE ─── */
.win-badge-bolt {
    position: absolute;
    top: 5px;
    right: 42px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bolt-zap 1.8s ease-in-out infinite;
}

.win-badge-bolt svg {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 0 5px rgba(255,220,0,1)) drop-shadow(0 0 10px rgba(255,120,0,0.6));
}

@keyframes bolt-zap {
    0%, 85%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    88%            { transform: scale(1.3) rotate(-8deg); opacity: 0.8; }
    91%            { transform: scale(0.9) rotate(5deg); opacity: 1; }
    94%            { transform: scale(1.2) rotate(-3deg); opacity: 0.9; }
}

/* ─── SEPARATOR ─── */
.win-separator {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, transparent, rgba(0, 176, 255, 0.2), transparent);
    flex-shrink: 0;
    align-self: center;
}

/* ─── MOBILE ─── */
@media (max-width: 600px) {
    .son-kazanclar-wrapper {
        height: 78px;
    }

    .son-kazanclar-label {
        min-width: 90px;
        padding: 0 14px;
        clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    }

    .skl-text { font-size: 8.5px; }
    .skl-icon svg { width: 20px; height: 20px; }

    .win-card {
        min-width: 200px;
        height: 60px;
        padding: 7px 10px 7px 7px;
    }

    .win-card-gif { width: 44px; height: 44px; }
    .win-card-game { font-size: 11px; }
    .win-card-amount { font-size: 13px; }
    .win-card-play-btn { width: 27px; height: 27px; }
}
