/home/futexcel/public_html/style.css
/* =============================================================================
   ROLETA DA SORTE - STYLESHEET
   Arquivo: style.css
   ============================================================================= */

/* =============
   IMPORTS & FONTS
   ============= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* =============
   RESET & BASE STYLES
   ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Proteção contra seleção */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
}

/* Permitir seleção apenas em inputs */
input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* =============
   LAYOUT COMPONENTS
   ============= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    padding: 40px 0;
    text-align: center;
}

.black-bg {
    background-color: #000;
    margin: 20px 0;
    padding: 30px;
    border-radius: 15px;
}

.white-bg {
    background-color: #f5f5f5;
    color: #333;
    margin: 20px 0;
    padding: 30px;
    border-radius: 15px;
}

/* =============
   TYPOGRAPHY
   ============= */
h1, h2 {
    margin-bottom: 20px;
}

h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* =============
   ROLETA COMPONENTS
   ============= */
.roleta-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 20px auto;
}

#roleta {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 3s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.pointer {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%) rotate(180deg);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 30px solid red;
}

/* =============
   BUTTONS
   ============= */
.btn-girar {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-girar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-girar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.copy-btn {
    background-color: #f39c12;
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: #e67e22;
    transform: translateY(-1px);
}

.whatsapp-btn {
    display: block;
    background-color: #25D366;
    color: white;
    text-align: center;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* =============
   POPUP MODAL
   ============= */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    color: #333;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.popup h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.popup p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.popup .btn {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.popup .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* =============
   COUNTDOWN TIMER
   ============= */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.countdown-item {
    background: rgba(245, 245, 245, 0.1);
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-size: 32px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.countdown-label {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* =============
   PRIZE LIST
   ============= */
.prize-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.prize-list p {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.prize-list p:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding-left: 10px;
}

/* =============
   SHARE SECTION
   ============= */
.share-section {
    background: #fff8e1;
    color: #333;
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-section h2 {
    color: #d35400;
    margin-bottom: 20px;
}

.share-section a {
    color: #2980b9;
    text-decoration: none;
}

.share-section a:hover {
    text-decoration: underline;
}

.share-input {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.share-input p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

.share-input input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 14px;
    background: #f9f9f9;
}

.share-input input:focus {
    outline: none;
    border-color: #3498db;
    background: white;
}

/* =============
   INSTRUCTIONS
   ============= */
.instructions {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.instructions ul {
    padding-left: 20px;
}

.instructions li {
    margin: 10px 0;
    line-height: 1.6;
    position: relative;
}

.instructions li::marker {
    color: #f39c12;
}

/* =============
   FOOTER
   ============= */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    opacity: 0.8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer p {
    margin-bottom: 10px;
}

/* =============
   ANIMATIONS
   ============= */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, -30%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animação para o botão girar quando habilitado */
.btn-girar:not(:disabled) {
    animation: pulse 2s infinite;
}

/* =============
   RESPONSIVE DESIGN
   ============= */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .black-bg, .white-bg {
        padding: 20px;
        margin: 15px 0;
    }
    
    .roleta-container {
        width: 250px;
        height: 250px;
    }
    
    .btn-girar {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .popup-content {
        width: 95%;
        padding: 20px;
    }
    
    .share-section {
        margin: 20px auto;
        padding: 20px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .roleta-container {
        width: 200px;
        height: 200px;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 45px;
        padding: 8px;
    }
    
    .countdown-number {
        font-size: 20px;
    }
    
    .instructions ul {
        padding-left: 15px;
    }
    
    .prize-list {
        font-size: 14px;
    }
}

/* =============
   UTILITY CLASSES
   ============= */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* =============
   PRINT STYLES
   ============= */
@media print {
    .popup,
    .share-section,
    .btn-girar {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .black-bg {
        background: white !important;
        border: 1px solid #ccc;
        color: black !important;
    }
}