* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
            height: 100%;
            overflow: hidden;
        }

        body {
            background: #1975d1;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
        }

        .game-container {
            text-align: center;
            width: 90%;
            max-width: 800px;
        }

        h1 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .wheel-container {
            position: relative;
            width: 100%;
            max-width: 650px;
            margin: 0 auto 2rem;
            aspect-ratio: 1/1;
        }

        .roullete {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: #3e4094;
            border: 8px solid #3e4094;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
            transform-origin: center;
        }





        /* Marcador da roleta */
        .wheel-marker {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background: red;
            clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
            z-index: 10;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }



        .roleta-container {
            position: relative;
            width: 400px;
            height: 400px;
        }

        .roleta {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 8px solid #333;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
        }

        .fatia {
            position: absolute;
            width: 50%;
            height: 50%;
            transform-origin: 100% 100%;
            clip-path: polygon(0 0, 100% 0, 100% 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 16px;
            color: #333;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
        }

        .fatia:nth-child(1) {
            background: #ffd026;
            transform: rotate(0deg);
        }

        .fatia:nth-child(2) {
            background: #3e4094;
            transform: rotate(45deg);
            color: white;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .fatia:nth-child(3) {
            background: #ffd026;
            transform: rotate(90deg);
        }

        .fatia:nth-child(4) {
            background: #3e4094;
            transform: rotate(135deg);
            color: white;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .fatia:nth-child(5) {
            background: #ffd026;
            transform: rotate(180deg);
        }

        .fatia:nth-child(6) {
            background: #3e4094;
            transform: rotate(225deg);
            color: white;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .fatia:nth-child(7) {
            background: #ffd026;
            transform: rotate(270deg);
        }

        .fatia:nth-child(8) {
            background: #3e4094;
            transform: rotate(315deg);
            color: white;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }



        .texto-fatia {
            position: absolute;
            top: 15%;
            left: 60%;
            transform: rotate(-30.5deg);
            font-size: 34px;
            font-weight: bold;
        }



        /* Modal de resultado */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 100;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            color: #333;
            animation: slideIn 0.5s;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        @keyframes slideIn {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
        }

        .modal-title {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: #6e48aa;
        }

        .modal-text {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
        }

        .close-btn {
            background: #6e48aa;
            color: white;
            border: none;
            padding: 10px 30px;
            font-size: 1rem;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .close-btn:hover {
            background: #5d3a99;
        }

        /* Responsividade */
        @media (max-width: 600px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .wheel-container {
                max-width: 300px;
            }
            
            .content {
                font-size: 16px;
                padding-top: 20px;
            }
        }



.logos-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: transparent;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1;
        }

        .logos-footer img {
            height: 40px;
            max-width: 120px;
            object-fit: contain;
            filter: grayscale(30%);
            transition: all 0.3s ease;
        }

        .logos-footer img:hover {
            filter: grayscale(0%);
            transform: scale(1.05);
        }

        .logos-left, .logos-right {
            display: flex;
            gap: 15px;
            align-items: center;
        }


        /* Responsividade */
        @media (max-width: 600px) {
            h1 {
                font-size: 1.8rem;
            }
            
            .wheel-container {
                max-width: 450px;
            }
            
            .content {
                font-size: 16px;
                padding-top: 20px;
            }

            .logos-footer {
                padding: 10px 15px;
            }
            
            .logos-footer img {
                height: 30px;
                max-width: 80px;
            }


            .logos-left, .logos-right {
                gap: 10px;
            }
            
            .logos-left > div, .logos-right > div {
                width: 50px !important;
                height: 30px !important;
                font-size: 8px !important;
            }
            
            /* Aumenta o padding-bottom do container principal para o footer não cobrir */
            .game-container {
                padding-bottom: 70px;
            }
        }

        .logos-footer a {
            display: inline-block;
            text-decoration: none;
        }







        .control-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-bottom: 30px;
        }

        .spin-btn, .config-btn {
            padding: 15px 30px;
            font-size: 1.2em;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .spin-btn {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
        }

        .config-btn {
            background: linear-gradient(45deg, rgb(252, 77, 77), rgb(246, 0, 0));
            color: white;
            box-shadow: 0 4px 15px rgba(116, 185, 255, 0.4);
        }

        .spin-btn:hover, .config-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .spin-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }










        .spin-btn-container {
            position: absolute;
            right: -140px;
            top: 50%;
            transform: translateY(-50%);
        }

        /* Estilo para o botão de configurações */
        .config-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 10px 15px;
            font-size: 1em;
            z-index: 10;
        }

        /* Remova o .control-buttons do CSS já que não será mais usado */
        .control-buttons {
            display: none;
        }

        /* Ajuste no wheel-container para posicionamento relativo */
        .wheel-container {
            position: relative;
            width: 100%;
            max-width: 550px;
            margin: 0 auto 2rem;
            aspect-ratio: 1/1;
        }





        @media (max-width: 768px) {
    .spin-btn-container {
        position: static;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 20px;
        text-align: center;
    }
    
    .spin-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .config-btn {
        top: 5px;
        right: 5px;
        padding: 8px 12px;
        font-size: 0.9em;
    }
}


















        .config-modal-content {
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
        }

        .config-title {
            font-size: 1.8em;
            margin-bottom: 20px;
            color: #333;
        }

        .prize-list {
            margin-bottom: 20px;
        }

        .prize-item {
            display: flex;
            align-items: center;
            padding: 10px;
            margin: 5px 0;
            background: #f8f9fa;
            border-radius: 8px;
            gap: 10px;
        }

        .prize-item input {
            flex: 1;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }

        .remove-prize {
            background: #ff6b6b;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
        }

        .remove-prize:hover {
            background: #ee5a24;
        }

        .add-prize-section {
            margin: 20px 0;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .add-prize-input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-bottom: 10px;
            font-size: 14px;
        }

        .add-prize-btn {
            background: #00b894;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            width: 100%;
        }

        .add-prize-btn:hover {
            background: #00a085;
        }

        .config-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
        }

        .save-config, .cancel-config {
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }

        .save-config {
            background: #00b894;
            color: white;
        }

        .cancel-config {
            background: #ddd;
            color: #333;
        }















