* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #0a0a0a;
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(30, 0, 139, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(11, 184, 20, 0.15) 0%, transparent 50%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                linear-gradient(45deg, transparent 48%, rgba(139, 0, 0, 0.1) 50%, transparent 52%),
                linear-gradient(-45deg, transparent 48%, rgba(139, 0, 0, 0.1) 50%, transparent 52%);
            background-size: 100px 100px;
            opacity: 0.3;
            pointer-events: none;
        }

        .container {
            max-width: 1200px;
            width: 100%;
            position: relative;
            z-index: 1;
        }

        h1 {
            color: #ff4444;
            text-align: center;
            margin-bottom: 10px;
            font-size: 3em;
            text-shadow: 0 0 20px rgba(255, 68, 68, 0.5), 0 0 40px rgba(255, 68, 68, 0.3);
            letter-spacing: 3px;
        }

        .subtitle {
            color: #ffe600;
            text-align: center;
            margin-bottom: 30px;
            font-size: 1.2em;
            text-transform: uppercase;
            letter-spacing: 2px;
            opacity: 0.8;
        }

        .contador {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 30px;
            box-shadow: 
                0 10px 30px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.1);
            border: 1px solid #333;
        }

        .contador h2 {
            color: #ffe600;
            margin-bottom: 10px;
            font-size: 1.5em;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .valor {
            font-size: 3em;
            color: #ff4444;
            font-weight: bold;
            text-shadow: 0 0 20px rgba(255, 68, 68, 0.6);
        }

        .nomes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .nome-item {
            background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.5);
            transition: all 0.3s;
            border: 1px solid #333;
            color: #fff;
            font-weight: 500;
        }

        .nome-item:hover {
            transform: translateY(-5px);
            border-color: #ffe600;
            box-shadow: 0 8px 25px rgba(255, 230, 0, 0.3);
        }

        .nome-item.sorteado {
            opacity: 0.4;
            background: linear-gradient(145deg, #0a0a0a, #050505);
            border-color: #1a1a1a;
        }

        .btn-sortear {
            background: linear-gradient(145deg, #8b0000, #6b0000);
            color: white;
            border: 2px solid #ff4444;
            padding: 20px 50px;
            font-size: 1.5em;
            border-radius: 50px;
            cursor: pointer;
            box-shadow: 
                0 10px 30px rgba(139, 0, 0, 0.5),
                0 0 20px rgba(255, 68, 68, 0.3);
            transition: all 0.3s;
            display: block;
            margin: 0 auto;
            font-weight: bold;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .btn-sortear:hover {
            background: linear-gradient(145deg, #a00000, #8b0000);
            transform: scale(1.05);
            box-shadow: 
                0 15px 40px rgba(139, 0, 0, 0.7),
                0 0 30px rgba(255, 68, 68, 0.5);
        }

        .btn-sortear:disabled {
            background: #333;
            cursor: not-allowed;
            transform: scale(1);
            border-color: #555;
            box-shadow: none;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.884);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal.active {
            display: flex;
            animation: fadeIn 0.3s;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .card-sorteado {
            background: linear-gradient(145deg, #4d4d4d, #9c9c9c);
            padding: 50px;
            border-radius: 20px;
            text-align: center;
            position: relative;
            animation: scaleIn 0.6s ease-out;
            box-shadow: 
                0 20px 60px rgba(0,0,0,0.8),
                0 0 50px rgba(255, 68, 68, 0.3),
                inset 0 1px 0 rgba(255,255,255,0.1);
            max-width: 500px;
            border: 2px solid #e95d00;
        }

        @keyframes scaleIn {
            0% {
                transform: scale(0) rotate(-180deg);
                opacity: 0;
            }
            50% {
                transform: scale(1.1) rotate(10deg);
            }
            100% {
                transform: scale(1) rotate(0);
                opacity: 1;
            }
        }

        .card-sorteado h2 {
            color: #ff9100;
            font-size: 2.5em;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 3px;
            text-shadow: 0 0 20px rgba(29, 2, 73, 0.6);
        }

        .foto-sorteado {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 20px auto;
            object-fit: cover;
            border: 4px solid #8a8a8aa9;
            box-shadow: 
                0 10px 30px rgba(0,0,0,0.7),
                0 0 40px rgba(0, 110, 255, 0.5);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 10px 50px rgba(0,0,0,0.7), 0 0 60px rgba(68, 0, 255, 0.5);
                transform: scale(1);
            }
            50% {
                box-shadow: 0 10px 50px rgba(0,0,0,0.9), 0 0 60px rgba(255, 0, 0, 0.8);
                transform: scale(1.05);
            }
        }

        .nome-sorteado {
            font-size: 2.5em;
            color: #fff;
            font-weight: bold;
            margin: 20px 0;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }

        .premio {
            font-size: 2em;
            color: #f4f800;
            font-weight: bold;
            margin: 20px 0;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 20px rgba(184, 134, 11, 0.6);
        }

        .btn-fechar {
            background: linear-gradient(145deg, #b8860b, #9a6009);
            color: #000;
            border: 2px solid #d4a017;
            padding: 15px 35px;
            font-size: 1.2em;
            border-radius: 50px;
            cursor: pointer;
            margin-top: 20px;
            transition: all 0.3s;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn-fechar:hover {
            background: linear-gradient(145deg, #d4a017, #b8860b);
            box-shadow: 0 5px 20px rgba(184, 134, 11, 0.5);
        }

        .bottle {
            position: fixed;
            font-size: 40px;
            animation: fall 4s linear;
            pointer-events: none;
            z-index: 999;
        }

        @keyframes fall {
            to {
                transform: translateY(100vh) rotate(720deg);
                opacity: 0;
            }
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 2em;
            }
            
            .card-sorteado {
                padding: 30px;
                margin: 20px;
            }
            
            .foto-sorteado {
                width: 180px;
                height: 180px;
            }
        }