@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Orbitron:wght@400;700;900&display=swap');

        .winner-jackpot-wrap {
            background: linear-gradient(135deg, #1a4d3a 0%, #0d2818 100%);
            border-radius: 20px;
            padding: 25px;
            box-shadow:
                0 15px 40px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            width: 100%;
            max-width: 1200px;
            margin: 20px auto;
            border: 2px solid #2a5a44;
            position: relative;
            overflow: hidden;
        }

        .winner-jackpot-wrap::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }

        .jackpot-header {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
        }

        .jackpot-title {
            background: linear-gradient(45deg, #FFD700, #FFA500, #FF6B35);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            font-family: 'Orbitron', monospace;
            font-size: clamp(2rem, 5vw, 4rem);
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin: 0 0 15px 0;
            text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
            animation: gradientShift 3s ease-in-out infinite alternate;
        }

        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            100% {
                background-position: 100% 50%;
            }
        }

        .roll-num {
            background: linear-gradient(145deg, #0a1f15, #1a3a28);
            border-radius: 15px;
            padding: 20px;
            box-shadow:
                inset 0 4px 15px rgba(0, 0, 0, 0.4),
                0 8px 25px rgba(0, 0, 0, 0.3);
            border: 2px solid #2a5a44;
            margin-bottom: 30px;
            position: relative;
        }

        .roll-num::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #FFD700, transparent, #FFD700);
            border-radius: 17px;
            z-index: -1;
            opacity: 0.3;
        }

        .jackpot-num__list {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
            font-family: 'Orbitron', monospace;
            font-weight: 700;
            font-size: clamp(2.5rem, 6vw, 4rem);
        }

        .jackpot-num__item {
            background: linear-gradient(145deg, #1e4a36, #0f2a1c);
            border: 2px solid #3a6b54;
            border-radius: 12px;
            width: 140px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            box-shadow:
                0 6px 20px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .jackpot-num__item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% {
                left: -100%;
            }

            100% {
                left: 100%;
            }
        }

        .scroll-num {
            list-style: none;
            margin: 0;
            padding: 0;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            height: 100%;
        }

        .scroll-num li {
            color: #FFD700;
            text-shadow:
                0 0 10px rgba(255, 215, 0, 0.8),
                0 2px 4px rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: inherit;
            line-height: 1;

        }

        .point {
            color: #FFD700;
            font-size: clamp(3.5rem, 8vw, 6rem);
            font-weight: 700;
            text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            height: 170px;
            /* добавь эту строку */
        }

        .winner-wrapper {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 25px;
            margin-top: 25px;
        }

        .biggest-wrap {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 15px;
        }

        .biggest-item {
            background: linear-gradient(145deg, #1e4a36, #0f2a1c);
            border: 2px solid #3a6b54;
            border-radius: 15px;
            padding: 20px;
            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 15px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .biggest-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
            border-color: #FFD700;
        }

        .biggest-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .biggest-item:hover::before {
            left: 100%;
        }

        .biggest-left {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .rank-img {
            width: 50px;
            height: 50px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin-bottom: 10px;
        }

        .rank-1 {
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23FFD700" d="M50 10l12 24 26 4-19 18 4 26-23-12-23 12 4-26-19-18 26-4z"/><circle fill="%23FFA500" cx="50" cy="50" r="15"/><text x="50" y="57" text-anchor="middle" fill="white" font-size="20" font-weight="bold">1</text></svg>');
        }

        .rank-2 {
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23C0C0C0" d="M50 10l12 24 26 4-19 18 4 26-23-12-23 12 4-26-19-18 26-4z"/><circle fill="%23A0A0A0" cx="50" cy="50" r="15"/><text x="50" y="57" text-anchor="middle" fill="white" font-size="20" font-weight="bold">2</text></svg>');
        }

        .rank-3 {
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23CD7F32" d="M50 10l12 24 26 4-19 18 4 26-23-12-23 12 4-26-19-18 26-4z"/><circle fill="%23B87333" cx="50" cy="50" r="15"/><text x="50" y="57" text-anchor="middle" fill="white" font-size="20" font-weight="bold">3</text></svg>');
        }

        .custom-name {
            color: #B8B8B8;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .win-amount {
            color: #FFD700;
            font-size: 1.4rem;
            font-weight: 700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        .symbol {
            color: #FFD700;
        }

        .biggest-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .game-img {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            border: 2px solid #3a6b54;
        }

        .game-name {
            color: #E0E0E0;
            font-size: 0.85rem;
            text-align: center;
        }

        .play-btn {
            background: linear-gradient(45deg, #FFD700, #FFA500);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            position: relative;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .play-btn:hover {
            transform: scale(1.1);
        }

        .play-btn::before {
            content: '▶';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #1a4d3a;
            font-size: 12px;
            font-weight: bold;
        }

        .winner-list {
            background: linear-gradient(145deg, #1e4a36, #0f2a1c);
            border: 2px solid #3a6b54;
            border-radius: 15px;
            overflow: hidden;
        }

        .winner-title {
            background: linear-gradient(45deg, #FFD700, #FFA500);
            color: #1a4d3a;
            font-weight: 700;
            padding: 15px 20px;
            display: grid;
            grid-template-columns: 80px 1fr 120px;
            gap: 10px;
        }

        .scroll-wrap {
            height: 206px;
            overflow: hidden;
            position: relative;
        }

        .win-item {
            padding: 12px 20px;
            display: grid;
            grid-template-columns: 80px 1fr 120px;
            gap: 10px;
            align-items: center;
            border-bottom: 1px solid #2a5a44;
            transition: background-color 0.3s ease;
        }

        .win-item:hover {
            background-color: rgba(255, 215, 0, 0.05);
        }

        .rank {
            color: #FFD700;
            font-weight: 700;
            font-size: 1.1rem;
        }

        .win-name {
            color: #B8B8B8;
            font-size: 0.9rem;
        }

        .win-price {
            color: #FFD700;
            font-weight: 700;
            text-align: right;
            font-size: 1rem;
        }

        .scroll-animation {
            animation: scrollUp 15s linear infinite;
        }

        @keyframes scrollUp {
            0% {
                transform: translateY(0);
            }

            100% {
                transform: translateY(-50%);
            }
        }

        .scroll-wrap:hover .scroll-animation {
            animation-play-state: paused;
        }

        @media (max-width: 1024px) {
            .winner-wrapper {
                grid-template-columns: 1fr;
            }

            .biggest-wrap {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .winner-jackpot-wrap {
                padding: 15px !important;
                margin: 10px !important;
            }

            .jackpot-num__item {
                width: 45px !important;
                height: 60px !important;
            }

            .jackpot-num__list {
                gap: 2px !important;
                font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
            }

            .point {
                font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
                height: 60px;
            }

            .biggest-item {
                flex-direction: column !important;
                text-align: center !important;
                padding: 15px !important;
            }
        }

        @media (max-width: 320px) {
            .jackpot-num__item {
                width: 35px !important;
                height: 50px !important;
            }

            .jackpot-num__list {
                gap: 1px !important;
                font-size: clamp(1.2rem, 3vw, 2rem) !important;
            }

            .point {
                font-size: clamp(1.2rem, 3vw, 2rem) !important;
                height: 50px !important;
            }
        }

        @media (max-width: 768px) {
            .scroll-num li {
                height: 60px !important;
                line-height: 60px !important;
                line-height: 60px !important;
            }
        }

        @media (max-width: 320px) {
            .scroll-num li {
                height: 50px !important;
                line-height: 50px !important;
                line-height: 50px !important;
            }
        }