﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #a855f7;
    --primary-dark: #7e22ce;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f472b6;
    --danger: #ef4444;
    --bg-dark: #1e1b4b;
    --bg-darker: #0f0a1f;
    --bg-card: #312e81;
    --bg-card-light: #3730a3;
    --text-primary: #f5f3ff;
    --text-secondary: #e9d5ff;
    --text-muted: #d8b4fe;
    --border: #6b21a8;
    --shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1e1b4b 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.qr-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-in {
    animation: fadeIn 0.6s ease-out;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== HEADER ===== */
.qr-screen {
    width: 100%;
}

.qr-header {
    text-align: center;
    margin-bottom: 32px;
}

.qr-logo {
    margin-bottom: 20px;
}

.qr-logo-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.5);
}

.qr-logo-text {
    font-size: 48px;
}

.qr-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.qr-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.qr-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

/* ===== CARD ===== */
.qr-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.qr-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.qr-question {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 24px;
}

/* ===== FORMULÁRIO ===== */
.qr-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qr-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qr-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.qr-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    background: var(--bg-card-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.qr-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

.qr-input::placeholder {
    color: var(--text-muted);
}

/* ===== BOTÕES ===== */
.qr-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

.qr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

.qr-btn-primary:active {
    transform: translateY(0);
}

.qr-btn-prize {
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
    color: var(--text-primary);
    box-shadow: 
        0 4px 14px rgba(236, 72, 153, 0.4),
        0 0 40px rgba(236, 72, 153, 0.3);
    font-size: 20px;
    padding: 24px 40px;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    animation: btnGlowPulse 2s ease-in-out infinite;
}

.qr-btn-prize::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: btnShine 3s linear infinite;
}

@keyframes btnShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes btnGlowPulse {
    0%, 100% {
        box-shadow: 
            0 4px 14px rgba(236, 72, 153, 0.4),
            0 0 40px rgba(236, 72, 153, 0.3);
    }
    50% {
        box-shadow: 
            0 6px 20px rgba(236, 72, 153, 0.6),
            0 0 60px rgba(236, 72, 153, 0.5),
            0 0 80px rgba(239, 68, 68, 0.3);
    }
}

.qr-btn-prize:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 
        0 8px 28px rgba(236, 72, 153, 0.7),
        0 0 80px rgba(236, 72, 153, 0.5);
}

.qr-btn-back {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.qr-btn-back:hover {
    background: var(--bg-card-light);
    color: var(--primary);
}

/* ===== INFO BOX ===== */
.qr-info-box {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.info-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

/* ===== JACKPOT ===== */
.jackpot-area {
    margin-top: 40px;
    animation: fadeInScale 0.5s ease-out;
}

.jackpot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 32px 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: 24px;
    border: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 
        0 0 60px rgba(168, 85, 247, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(168, 85, 247, 0.1);
}

.jackpot-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 25%, 
        var(--warning) 50%, 
        var(--secondary) 75%, 
        var(--primary) 100%);
    border-radius: 24px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    background-size: 300% 100%;
}

.jackpot-column {
    width: 100px;
    height: 180px;
    background: rgba(15, 10, 31, 0.9);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(168, 85, 247, 0.5);
    box-shadow: 
        inset 0 0 30px rgba(168, 85, 247, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.5);
}

.jackpot-reel {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jackpot-symbol {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.symbol-emoji {
    font-size: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.symbol-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.jackpot-line {
    position: absolute;
    width: calc(100% - 32px);
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.8) 20%, rgba(168, 85, 247, 0.8) 80%, transparent 100%);
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 0 20px rgba(168, 85, 247, 1), 0 0 40px rgba(236, 72, 153, 0.5);
}

/* ===== SORTEIO - QUADRADOS DESLIZANTES ===== */
.sorteio-area {
    margin-top: 40px;
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sorteio-window {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: 24px;
    border: 4px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 0 60px rgba(168, 85, 247, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(168, 85, 247, 0.1);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 
            0 0 60px rgba(168, 85, 247, 0.6),
            0 10px 40px rgba(0, 0, 0, 0.5),
            inset 0 0 40px rgba(168, 85, 247, 0.1);
    }
    50% {
        box-shadow: 
            0 0 80px rgba(168, 85, 247, 0.8),
            0 10px 50px rgba(0, 0, 0, 0.6),
            inset 0 0 60px rgba(168, 85, 247, 0.2);
    }
}

.sorteio-window::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 25%, 
        var(--warning) 50%, 
        var(--secondary) 75%, 
        var(--primary) 100%);
    border-radius: 24px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    background-size: 300% 100%;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

.sorteio-pointer {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 64px;
    z-index: 10;
    line-height: 1;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 1));
    animation: pointerPulse 1s ease-in-out infinite;
}

@keyframes pointerPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        filter: drop-shadow(0 0 30px rgba(168, 85, 247, 1));
    }
    50% {
        transform: translateX(-50%) scale(1.15);
        filter: drop-shadow(0 0 40px rgba(168, 85, 247, 1)) drop-shadow(0 0 60px rgba(236, 72, 153, 0.8));
    }
}

.sorteio-track {
    display: flex;
    gap: 16px;
    padding: 30px 30px;
    height: 100%;
    align-items: center;
}

.sorteio-box {
    min-width: 180px;
    height: 140px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    flex-shrink: 0;
    border: 3px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.sorteio-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.box-prize {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.3) 0%, 
        rgba(5, 150, 105, 0.4) 50%,
        rgba(16, 185, 129, 0.3) 100%);
    border-color: var(--success);
    box-shadow: 
        0 8px 32px rgba(16, 185, 129, 0.5),
        inset 0 0 30px rgba(16, 185, 129, 0.2);
}

.box-prize::after {
    content: '★';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 24px;
    color: rgba(16, 185, 129, 0.6);
    animation: starRotate 2s linear infinite;
}

@keyframes starRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.box-try {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.3) 0%, 
        rgba(220, 38, 38, 0.4) 50%,
        rgba(239, 68, 68, 0.3) 100%);
    border-color: var(--danger);
    box-shadow: 
        0 8px 32px rgba(239, 68, 68, 0.5),
        inset 0 0 30px rgba(239, 68, 68, 0.2);
}

.box-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.box-text {
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* ===== POPUP RESULTADO ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.popup-container {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(30px);
    border-radius: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(168, 85, 247, 0.3),
        inset 0 0 60px rgba(168, 85, 247, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.4);
    animation: popupScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid var(--danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--danger);
}

.popup-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

.popup-content {
    padding: 20px 16px;
    text-align: center;
}

.resultado-icon {
    font-size: 60px;
    margin-bottom: 12px;
    animation: iconCelebrate 1s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.8));
}

@keyframes iconCelebrate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-10deg);
    }
    75% {
        transform: scale(1.2) rotate(10deg);
    }
}

.resultado-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titlePulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 40px rgba(16, 185, 129, 0.9), 0 0 60px rgba(16, 185, 129, 0.5);
    }
}

.resultado-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    font-weight: 700;
}

.surpresa-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.surpresa-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.surpresa-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.surpresa-text strong {
    color: var(--primary);
    display: block;
    margin-top: 8px;
    font-size: 15px;
}

/* ===== CHECKBOX ===== */
.qr-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.qr-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px;
    background: rgba(51, 65, 85, 0.3);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.qr-checkbox-label:hover {
    border-color: var(--primary);
    background: rgba(51, 65, 85, 0.5);
}

.qr-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--primary);
}

.qr-checkbox-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== RADIO BUTTONS ===== */
.qr-radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px 24px;
    background: rgba(51, 65, 85, 0.3);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex: 1;
}

.qr-radio-label:hover {
    border-color: var(--primary);
    background: rgba(51, 65, 85, 0.5);
    transform: translateY(-2px);
}

.qr-radio-label:has(.qr-radio:checked) {
    border-color: var(--primary);
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.qr-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.qr-radio-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== BLOQUEIO ===== */
.bloqueio-aviso {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    border: 2px solid var(--danger);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
}

.bloqueio-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

.bloqueio-aviso h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.bloqueio-aviso p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.bloqueio-aviso strong {
    color: var(--danger);
    font-size: 18px;
}

/* ===== GRUPO WHATSAPP ===== */
.grupo-whatsapp-box {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(18, 140, 126, 0.15) 100%);
    border: 2px solid #25d366;
    border-radius: 16px;
    padding: 12px;
    margin-top: 12px;
    text-align: center;
}

.grupo-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.grupo-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.qr-btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin: 0;
}

.qr-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.qr-btn-whatsapp:active {
    transform: translateY(0);
}

/* ===== CONTROLE DE MÚSICA ===== */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

.music-toggle:active {
    transform: scale(0.95);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 375px) {
    .qr-container {
        padding: 16px;
    }

    .qr-title {
        font-size: 28px;
    }

    .qr-card {
        padding: 24px 20px;
    }

    .qr-icon {
        font-size: 48px;
    }

    .qr-question {
        font-size: 20px;
    }

    .sorteio-box {
        min-width: 140px;
        height: 110px;
    }

    .box-icon {
        font-size: 32px;
    }

    .box-text {
        font-size: 14px;
    }

    .resultado-icon {
        font-size: 50px;
    }

    .resultado-title {
        font-size: 20px;
    }
}

@media (min-width: 481px) {
    .qr-container {
        padding: 32px 24px;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .qr-btn,
    .qr-btn-back {
        -webkit-tap-highlight-color: transparent;
    }

    .qr-btn:active {
        transform: scale(0.98);
    }
}
