 .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 26, 26, 0.85);
            backdrop-filter: blur(8px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }

        .popup-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .popup-overlay.show .widget-container {
            transform: rotate(-1deg) scale(1);
            opacity: 1;
        }

        .widget-container {
            background: url('widgetbg.png') center/cover, 
                        linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
            background-blend-mode: overlay;
            border: 4px solid #1a1a1a;
            border-radius: 24px;
            padding: 3rem 2rem;
            max-width: 500px;
            width: 100%;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 0 4px #FF8C00,
                0 0 0 8px #1a1a1a,
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transform: rotate(-1deg) scale(0.8);
            transition: all 0.4s ease;
            opacity: 0;
        }

        .widget-container:hover {
            transform: rotate(0deg) scale(1.02);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.4),
                0 0 0 4px #FF8C00,
                0 0 0 8px #1a1a1a,
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        /* Close Button */
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 35px;
            height: 35px;
            background: #FF3900;
            border: 3px solid #1a1a1a;
            border-radius: 50%;
            color: #ffffff;
            font-size: 1.2rem;
            font-weight: 900;
            cursor: pointer;
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            line-height: 1;
        }

        .close-btn:hover {
            background: #1a1a1a;
            color: #FF3900;
            transform: scale(1.1) rotate(90deg);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .widget-container::before {
            content: '';
            position: absolute;
            top: -15px;
            right: -15px;
            width: 30px;
            height: 30px;
            background: #FCFF72;
            border-radius: 50%;
            border: 3px solid #1a1a1a;
            z-index: 3;
            animation: pulse-glow 3s ease-in-out infinite;
        }

        .widget-container::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: -12px;
            width: 24px;
            height: 24px;
            background: #009DD4;
            transform: rotate(45deg);
            border: 3px solid #1a1a1a;
            z-index: 3;
        }

        @keyframes pulse-glow {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(252, 255, 114, 0.4);
            }
            50% {
                opacity: 0.8;
                transform: scale(1.1);
                box-shadow: 0 0 0 8px rgba(252, 255, 114, 0.1);
            }
        }

        .widget-header {
            margin-bottom: 2rem;
            position: relative;
        }

        .widget-title {
            font-size: 2rem;
            font-weight: 900;
            color: #ffffff;
            margin-bottom: 0.5rem;
            text-shadow: 
                2px 2px 0px rgba(255, 140, 0, 0.3),
                0 0 20px rgba(255, 140, 0, 0.2);
            line-height: 1.1;
            position: relative;
        }

        .widget-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #FF8C00, #FCFF72);
            border-radius: 2px;
        }

        .widget-subtitle {
            font-size: 1rem;
            color: #cccccc;
            font-weight: 500;
            margin-top: 1rem;
        }

        .countdown-container {
            margin: 2.5rem 0;
            position: relative;
        }

        .countdown-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.8rem;
            margin-bottom: 1rem;
        }

        .countdown-item {
            background: linear-gradient(135deg, #FF8C00 0%, #FF6600 100%);
            border: 3px solid #1a1a1a;
            border-radius: 16px;
            padding: 1rem 0.5rem;
            position: relative;
            box-shadow: 
                0 6px 12px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            transform: translateY(0);
            transition: all 0.3s ease;
        }

        .countdown-item:hover {
            transform: translateY(-3px);
            box-shadow: 
                0 8px 16px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .countdown-item::before {
            content: '';
            position: absolute;
            top: -6px;
            right: -6px;
            width: 12px;
            height: 12px;
            background: #FCFF72;
            border-radius: 50%;
            border: 2px solid #1a1a1a;
        }

        .countdown-item:nth-child(2)::before {
            background: #009DD4;
        }

        .countdown-item:nth-child(3)::before {
            background: #FCFF72;
            transform: rotate(45deg);
            border-radius: 2px;
        }

        .countdown-item:nth-child(4)::before {
            background: #009DD4;
        }

        .countdown-number {
            font-size: 1.8rem;
            font-weight: 900;
            color: #1a1a1a;
            display: block;
            text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
            margin-bottom: 0.2rem;
        }

        .countdown-label {
            font-size: 0.7rem;
            font-weight: 700;
            color: #1a1a1a;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .countdown-separator {
            font-size: 1.2rem;
            color: #FF8C00;
            font-weight: 900;
            margin: 0.5rem 0;
            text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
        }

        .widget-text {
            color: #cccccc;
            font-size: 1rem;
            line-height: 1.5;
            margin-bottom: 2rem;
            font-weight: 500;
        }

        .widget-button {
            background: linear-gradient(135deg, #FF8C00 0%, #FFB000 100%);
            color: #1a1a1a;
            border: 4px solid #1a1a1a;
            border-radius: 50px;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 6px 12px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .widget-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.5s;
        }

        .widget-button:hover::before {
            left: 100%;
        }

        .widget-button:hover {
            background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
            color: #FF8C00;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 
                0 10px 20px rgba(0, 0, 0, 0.4),
                0 0 0 2px #FF8C00,
                inset 0 1px 0 rgba(255, 140, 0, 0.2);
        }

        .widget-button:active {
            transform: translateY(-1px) scale(1.02);
        }

        .widget-decorations {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: 1;
        }

        .widget-decorations::before {
            content: '';
            position: absolute;
            top: 20%;
            left: -5%;
            width: 20px;
            height: 20px;
            background: rgba(252, 255, 114, 0.3);
            border-radius: 50%;
            animation: float-left 4s ease-in-out infinite;
        }

        .widget-decorations::after {
            content: '';
            position: absolute;
            bottom: 25%;
            right: -3%;
            width: 16px;
            height: 16px;
            background: rgba(0, 157, 212, 0.3);
            transform: rotate(45deg);
            animation: float-right 5s ease-in-out infinite;
        }

        @keyframes float-left {
            0%, 100% {
                transform: translateY(0px) translateX(0px);
                opacity: 0.3;
            }
            50% {
                transform: translateY(-10px) translateX(5px);
                opacity: 0.6;
            }
        }

        @keyframes float-right {
            0%, 100% {
                transform: rotate(45deg) translateY(0px);
                opacity: 0.3;
            }
            50% {
                transform: rotate(45deg) translateY(-8px);
                opacity: 0.5;
            }
        }

        .urgent-indicator {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #FF3900;
            color: #ffffff;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            border: 2px solid #1a1a1a;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            animation: urgent-pulse 2s ease-in-out infinite;
            z-index: 4;
        }

        @keyframes urgent-pulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.8;
                transform: scale(1.05);
            }
        }

        /* Адаптивность */
        @media (max-width: 480px) {
            .popup-overlay {
                padding: 10px;
            }

            .widget-container {
                padding: 2rem 1.5rem;
                transform: rotate(0deg) scale(0.9);
            }

            .popup-overlay.show .widget-container {
                transform: rotate(0deg) scale(1);
            }

            .widget-title {
                font-size: 1.6rem;
            }

            .countdown-grid {
                gap: 0.5rem;
            }

            .countdown-item {
                padding: 0.8rem 0.3rem;
            }

            .countdown-number {
                font-size: 1.4rem;
            }

            .countdown-label {
                font-size: 0.6rem;
            }

            .widget-button {
                padding: 0.9rem 2rem;
                font-size: 1rem;
            }

            .close-btn {
                width: 30px;
                height: 30px;
                font-size: 1rem;
                top: 10px;
                right: 10px;
            }
        }