body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #87CEEB 0%, #E0F6FF 25%, #FFE4B5 50%, #7aacdb 75%, #1100ff 100%);
    background-size: 400% 400%;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    min-height: 100vh;
    color: #444; 
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden; /* Previne rolagem horizontal */
    animation: gradientShift 15s ease-in-out infinite;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px, 180px 180px;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.container {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 20px 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 30px rgba(255, 107, 53, 0.1);
    text-align: center;
    max-width: 600px; 
    width: 100%;
    transform: scale(0.98);
    opacity: 0;
    animation: fadeInScale 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    margin-top: 20px;
    margin-bottom: 20px;
    box-sizing: border-box; /* Garante que padding não cause overflow */
    border: 2px solid rgba(255, 107, 53, 0.1);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3593ff, #15138b, #d4d4d0, #050a4e);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

header {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: nowrap;
}

.photos {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.header-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

h1 {
    color: #135b8b;
    margin: 0;
    font-size: 2.8em;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.2);
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.2);
    }
    100% {
        text-shadow: 2px 2px 8px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    }
}

h2 {
    color: #125683;
    margin: 5px 0 10px 0;
    font-size: 1.6em;
    font-weight: 700;
}

h3 {
    color: #0f507a;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.1em;
    color: #666;
    max-width: 450px;
    margin: 0;
    text-align: left;
}

section {
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

section:first-of-type {
    border-top: none;
    padding-top: 0;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #FFB347 0%, #FFD700 50%, #FFA500 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    border: 3px solid #FF6B35;
    margin: 20px 0;
    flex-wrap: wrap; /* Permite quebra de linha em telas pequenas */
}

#countdown div {
    font-size: 1.2em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    min-width: 60px; /* Largura mínima para evitar compressão */
}

#countdown span {
    display: block;
    font-size: 2.8em; /* Reduzido de 3.5em para 2.8em para caber em uma linha no desktop */
    font-weight: 900;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #8B4513, #A0522D);
    padding: 10px 15px;
    border-radius: 15px;
    margin: 5px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

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

.options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 500px) {
    .options {
        grid-template-columns: 1fr 1fr;
    }
}

.option {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eef;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.option h3 { margin-top: 0; }
.option a { color: #04502a; font-weight: 700; text-decoration: none; }
.option a:hover { text-decoration: underline; }

.pix-key-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

#pix-key {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: 900;
    color: #2c3e50;
    font-size: 18px;
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    display: inline-block;
    min-width: 200px;
    text-align: center;
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    transition: all 0.3s ease;
    word-break: break-all; /* Quebra números longos */
}

.selectable-pix-key:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-color: #8B4513;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2);
}

.selectable-pix-key:active {
    transform: scale(0.98);
}

.pix-hint {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.85em;
    font-style: italic;
}

#copy-pix-key {
    padding: 12px 20px;
    background: linear-gradient(45deg, #131f8b, #2d85a0);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(19, 37, 139, 0.3);
    position: relative;
    overflow: hidden;
}

#copy-pix-key:hover { 
    background: linear-gradient(45deg, #4f2da0, #971497);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 19, 139, 0.4);
}

#copy-pix-key:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(92, 156, 237, 0.3);
}

.instruction {
    margin-top: 25px;
    font-weight: 700;
    color: #135b8b;
}

.prize-list {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}
.prize-item {
    flex-basis: 150px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}
.prize-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #FF6B35;
}
.prize-item img {
    width: 150px;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 8px;
}
.prize-item h3 {
    margin: 0 0 5px 0;
    color: #135b8b;
    font-size: 1.1em;
    font-weight: 700;
}
.prize-item h2 {
    margin: 0;
    color: #FF6B35;
    font-size: 1.4em;
    font-weight: 900;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.prize-item p {
    font-size: 0.9em;
    color: #777;
    margin: 0;
}

#form-section h2 {
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #555;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea {
    resize: vertical;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #61b3cc;
    box-shadow: 0 0 8px rgba(19, 37, 139, 0.3);
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #135b8b, #13738b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Nunito', sans-serif;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(2, 0, 20, 0.3);
    background: linear-gradient(45deg, #080125, #FF6B35);
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

#success-message {
    margin-top: 20px;
    padding: 30px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 12px;
    animation: fadeIn 0.5s ease-in-out;
}

#success-message h2 {
    color: #1b5e20;
    margin: 0 0 10px;
    font-size: 1.8em;
}

#success-message p {
    margin: 5px 0 15px;
    color: #2e7d32;
    font-size: 1.1em;
}

#raffle-number-box {
    background: white;
    border: 2px dashed #81c784;
    padding: 15px;
    border-radius: 10px;
    margin: 10px auto;
    max-width: 200px;
}

#raffle-number {
    font-size: 3em;
    font-weight: 900;
    color: #1b5e20;
}

#participate-again {
    background: #4caf50;
    margin-top: 15px;
}
#participate-again:hover {
    background: #43a047;
}

#participants-section {
    background-color: #e6f3ff;
    padding: 20px;
    border-radius: 12px;
    margin-top: 30px;
    border: 2px solid #135b8b;
}
#participants-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
}
#participants-list li {
    padding: 8px 12px;
    border-bottom: 1px solid #eef;
}
#participants-list li:last-child {
    border-bottom: none;
}
#participants-list li::before {
    content: '❤️';
    margin-right: 10px;
}

#participants-list li strong {
    color: #135b8b;
    font-weight: 700;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

footer p {
    margin: 0 0 15px;
    font-weight: 700;
    color: #777;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-links a img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s;
}
.social-links a:hover img {
    transform: scale(1.1);
}

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

/* Efeitos visuais */
.floating-element {
    position: fixed;
    pointer-events: none;
    z-index: 999;
    animation: floatUp 5s linear forwards;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.floating-element.interactive {
    pointer-events: auto;
    cursor: pointer;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.floating-element.interactive:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.5));
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Efeitos de explosão */
.explosion-confetti {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 1000;
    pointer-events: none;
    transition: all 1s ease-out;
}

/* Efeito de sujeira na tela */
.screen-mess {
    position: fixed;
    z-index: 999;
    pointer-events: none;
    transition: all 2s ease-out;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Popup de pontos */
.points-popup {
    position: fixed;
    color: #FF6B35;
    font-weight: bold;
    font-size: 24px;
    z-index: 1001;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: all 1.5s ease-out;
}

/* Confete do botão PIX */
.copy-confetti {
    position: fixed;
    z-index: 1002;
    pointer-events: none;
    transition: all 1s ease-out;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
}

/* Confete periódico */
.periodic-confetti {
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    z-index: 998;
    pointer-events: none;
    transition: all 3s ease-out;
    opacity: 0.8;
}

.crawling-baby {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Estilo para números da sorte na lista */
.numero-sorte {
    background: linear-gradient(45deg, #39779b, #2f258b);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: 10px;
    font-weight: bold;
}

/* Melhorar animação de confete */
@keyframes confetti-fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Efeito de brilho nos botões */
button {
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

/* ========================================
   ESTILOS PARA A RIFA
   ======================================== */

#raffle-section {
    margin-bottom: 40px;
}

#raffle-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.raffle-number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #87CEEB, #E0F6FF);
    border: 2px solid #135b8b;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    color: #135b8b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.raffle-number:hover {
    background: linear-gradient(135deg, #FFB347, #FFD700);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    border-color: #FF6B35;
}

.raffle-number:active {
    transform: scale(0.95);
}

.raffle-number.sold {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    cursor: help;
    opacity: 0.8;
    border-color: #FF4757;
}

.raffle-number.sold:hover {
    background: linear-gradient(135deg, #FF5252, #FF7676);
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(255, 71, 87, 0.4);
}

.raffle-number.sold::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.8em;
    color: white;
    background: #4CAF50;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.raffle-number.selected {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-color: #4CAF50;
    animation: pulse 1s infinite;
}

/* Tooltip para números ocupados */
.raffle-number.sold::before {
    content: attr(data-owner);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    margin-bottom: 5px;
}

/* Tooltip arrow */
.raffle-number.sold .tooltip-arrow {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    margin-bottom: -5px;
}

.raffle-number.sold:hover::before {
    opacity: 1;
    visibility: visible;
}

.raffle-number.sold:hover .tooltip-arrow {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   ESTILOS PARA MODAIS
   ======================================== */

.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #000;
}

.modal h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #135b8b;
    text-align: center;
}

.modal p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

#selected-number {
    color: #FF6B35;
    font-size: 1.2em;
}

/* ========================================
   RESPONSIVIDADE PARA A RIFA
   ======================================== */

@media (max-width: 768px) {
    #raffle-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 6px;
        padding: 15px;
    }
    
    .raffle-number {
        font-size: 1em;
    }
    
    .raffle-number.sold::before {
        font-size: 0.7em;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    #raffle-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 4px;
        padding: 10px;
    }
    
    .raffle-number {
        font-size: 0.9em;
    }
    
    .raffle-number.sold::before {
        font-size: 0.6em;
        padding: 4px 8px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 10px;
    }
}

@media (max-width: 360px) {
    #raffle-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
    }
    
    .raffle-number {
        font-size: 0.8em;
    }
    
    .raffle-number.sold::before {
        font-size: 0.5em;
        padding: 3px 6px;
    }
}

/* ========================================
   PREVENIR ZOOM EM INPUTS NO IOS
   ======================================== */

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="text"],
    input[type="tel"],
    textarea {
        font-size: 16px; /* Previne zoom no iOS */
    }
}

/* ========================================
   RESPONSIVIDADE PARA DISPOSITIVOS MÓVEIS
   ======================================== */

/* Tablets e celulares grandes */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 15px 20px 30px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    header {
        gap: 15px;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .header-content {
        align-items: flex-start;
        flex: 1;
    }
    
    .header-photo {
        width: 80px;
        height: 80px;
    }
    
    h1 {
        font-size: 2.2em;
    }
    
    h2 {
        font-size: 1.4em;
        margin: 5px 0 8px 0;
    }
    
    h3 {
        font-size: 1.2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    /* Contagem regressiva responsiva */
    #countdown {
        padding: 20px 15px;
        gap: 10px;
    }
    
    #countdown div {
        font-size: 1em;
        min-width: 50px;
    }
    
    #countdown span {
        font-size: 2.8em;
        padding: 8px 12px;
    }
    
    .photos {
        gap: 15px;
    }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px 15px 25px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    header {
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .header-content {
        align-items: flex-start;
        flex: 1;
    }
    
    .header-photo {
        width: 60px;
        height: 60px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    h2 {
        font-size: 1.1em;
        margin: 5px 0 8px 0;
    }
    
    h3 {
        font-size: 1em;
    }
    
    .subtitle {
        font-size: 0.85em;
    }
    
    /* Contagem regressiva para celulares pequenos */
    #countdown {
        padding: 15px 10px;
        gap: 4px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    #countdown div {
        font-size: 0.7em;
        min-width: 30px;
        text-align: center;
    }
    
    #countdown span {
        font-size: 1.8em;
        padding: 3px 6px;
        margin: 2px 0;
    }
    
    .photos {
        gap: 10px;
    }
    
    /* Ajustes para PIX key */
    #pix-key {
        font-size: 16px;
        padding: 12px 15px;
        min-width: 180px;
    }
    
    /* Ajustes para botões */
    button {
        font-size: 1rem;
        padding: 12px;
    }
    
    /* Ajustes para formulário */
    input[type="text"],
    input[type="tel"],
    textarea {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    /* Ajustes para prêmios */
    .prize-item {
        flex-basis: 100px;
    }
    
    .prize-item img {
        width: 50px;
        height: 50px;
    }
    
    .prize-item h4 {
        font-size: 0.9em;
    }
    
    .prize-item p {
        font-size: 0.8em;
    }
}

/* Celulares muito pequenos */
@media (max-width: 360px) {
    .container {
        padding: 10px 10px 20px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    h2 {
        font-size: 1.1em;
    }
    
    h3 {
        font-size: 1em;
    }
    
    /* Contagem regressiva para telas muito pequenas */
    #countdown {
        padding: 12px 8px;
        gap: 3px;
        flex-direction: row;
    }
    
    #countdown div {
        font-size: 0.6em;
        min-width: 25px;
    }
    
    #countdown span {
        font-size: 1.5em;
        padding: 2px 4px;
    }
    
    .header-photo {
        width: 60px;
        height: 60px;
    }
    
    #pix-key {
        font-size: 14px;
        padding: 10px 12px;
        min-width: 160px;
    }
    
    button {
        font-size: 0.9rem;
        padding: 10px;
    }
}

/* Orientação paisagem em celulares */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    #countdown {
        flex-direction: row;
        gap: 10px;
    }
    
    #countdown span {
        font-size: 2.5em;
    }
    
    .header-photo {
        width: 60px;
        height: 60px;
    }
    
    .photos {
        gap: 10px;
    }
}