/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #87CEEB 0%, #98FB98 50%, #F0E68C 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Controle de música para mobile */
.music-control-mobile {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#music-toggle-mobile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#music-toggle-mobile:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

#music-toggle-mobile.playing {
    background: linear-gradient(135deg, #32CD32, #228B22);
    animation: pulse 2s infinite;
}

#music-toggle-mobile.muted {
    background: linear-gradient(135deg, #FF6B6B, #FF4757);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


/* Container da apresentação */
.presentation-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, 
        #FFE4B5 0%,     /* Creme claro */
        #FFF8DC 25%,    /* Cornsilk */
        #F0E68C 50%,    /* Khaki */
        #FFD700 75%,    /* Dourado */
        #FF8C00 100%    /* Laranja escuro */
    );
    background-attachment: fixed;
}

/* Fundo sem vídeo - apenas gradiente solar */

/* Overlay inicial */
.start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.start-button {
    text-align: center;
    color: white;
    background: rgba(102, 153, 102, 0.9);
    padding: 50px;
    border-radius: 30px;
    border: 4px solid #FFD700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.start-button:hover {
    transform: scale(1.05);
    background: rgba(139, 69, 19, 1);
}

.start-icon {
    font-size: 100px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.start-text {
    font-family: 'Fredoka One', cursive;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.start-subtext {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    opacity: 0.9;
    font-style: italic;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    z-index: 10;
    cursor: pointer;
}

/* Último slide sem cursor pointer */
#slide-4 {
    cursor: default;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

/* Slide 1 - Convite Especial */
.safari-header {
    text-align: center;
    margin-bottom: 40px;
}

.special-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: #8B4513;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.safari-subtitle {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #D2691E;
    margin-bottom: 10px;
}

.child-name-big {
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    color: #FF6B35;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.age-banner-special {
    background: linear-gradient(45deg, #90EE90, #32CD32);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.animals-decoration {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
}

.animal-float {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.animal-float:nth-child(1) { animation-delay: 0s; }
.animal-float:nth-child(2) { animation-delay: 0.5s; }
.animal-float:nth-child(3) { animation-delay: 1s; }
.animal-float:nth-child(4) { animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Slide 2 - Mensagem */
.message-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.message-icon {
    font-size: 5rem;
    margin-bottom: 30px;
}

.message-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.message-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 30px;
    font-weight: 600;
}

.jungle-animals {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.jungle-animal {
    font-size: 3rem;
    animation: swing 2s ease-in-out infinite;
}

.jungle-animal:nth-child(1) { animation-delay: 0s; }
.jungle-animal:nth-child(2) { animation-delay: 0.3s; }
.jungle-animal:nth-child(3) { animation-delay: 0.6s; }
.jungle-animal:nth-child(4) { animation-delay: 0.9s; }

@keyframes swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Slide 3 - Safari Principal */
#slide-3 {
    background-color: #F5E6D3;
}

/* Elementos solares nas laterais */
.safari-animals-left, .safari-animals-right, 
.solar-elements-left, .solar-elements-right {
    position: absolute;
    top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
}

.safari-animals-left, .solar-elements-left {
    left: 10px;
}

.safari-animals-right, .solar-elements-right {
    right: 10px;
}

.animal-card, .solar-card {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.solar-card.sun {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.solar-card.star, .solar-card.sparkle {
    background: linear-gradient(135deg, #FFF700, #FFD700);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.solar-card.moon {
    background: linear-gradient(135deg, #E6E6FA, #9370DB);
    box-shadow: 0 4px 12px rgba(147, 112, 219, 0.4);
}

.animal-card.tiger {
    /*background: linear-gradient(135deg, #FF8C00, #FFB347);*/
    animation-delay: 0s;
}

.animal-card.elephant {
    /*background: linear-gradient(135deg, #A9A9A9, #C0C0C0);*/
    animation-delay: 1s;
}

.animal-card.monkey {
    /*background: linear-gradient(135deg, #8B4513, #CD853F);*/
    animation-delay: 0.5s;
}

.animal-card.zebra {
    /*background: linear-gradient(135deg, #000000, #696969);*/
    animation-delay: 1.5s;
}

.animal-emoji {
    font-size: 1.8rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes animalFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.main-safari-container {
    background-image: url('safari-background.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F5E6D3;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    max-width: 80vw;
    width: 100%;
    max-height: 80vh;
    text-align: center;
    margin: 10px auto;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
}

.main-solar-container {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 50%, #FFD700 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    border: 3px solid #FFD700;
    max-width: 80vw;
    width: 100%;
    max-height: 80vh;
    text-align: center;
    margin: 10px auto;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
}

.main-title {
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.safari-title, .solar-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #FF8C00;
    text-shadow: 3px 3px 6px rgba(255, 140, 0, 0.3);
    margin: 0;
    letter-spacing: 2px;
}

.child-name {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: #FF6B35;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.age-banner {
    background: linear-gradient(45deg, #90EE90, #32CD32);
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.age-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
}

.invitation-message {
    margin: 20px 0;
    position: relative;
    z-index: 10;
    font-family: 'Nunito', sans-serif;
}

.special-date, .invitation-text, .together-text {
    font-size: 1rem;
    color: #8B4513;
    margin: 5px 0;
    font-style: italic;
}

.special-date {
    font-weight: 600;
}

/* Foto */
.birthday-photo-section {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    position: relative;
    z-index: 10;
}

/* Animal do Leão */
.bottom-lion, .bottom-sun {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.lion-container, .sun-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lion-emoji, .sun-emoji {
    font-size: 3rem;
    animation: lionRoar 4s ease-in-out infinite;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
}

.sun-emoji {
    animation: sunGlow 4s ease-in-out infinite;
    filter: drop-shadow(3px 3px 6px rgba(255, 140, 0, 0.5));
}

@keyframes lionRoar {
    0%, 90%, 100% { transform: scale(1) rotate(0deg); }
    5%, 15% { transform: scale(1.1) rotate(-2deg); }
    10% { transform: scale(1.15) rotate(2deg); }
}

@keyframes sunGlow {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        filter: drop-shadow(3px 3px 6px rgba(255, 140, 0, 0.5));
    }
    25% { 
        transform: scale(1.1) rotate(90deg); 
        filter: drop-shadow(3px 3px 12px rgba(255, 215, 0, 0.8));
    }
    50% { 
        transform: scale(1.05) rotate(180deg); 
        filter: drop-shadow(3px 3px 8px rgba(255, 140, 0, 0.6));
    }
    75% { 
        transform: scale(1.1) rotate(270deg); 
        filter: drop-shadow(3px 3px 12px rgba(255, 215, 0, 0.8));
    }
}

.photo-frame-leafy {
    position: relative;
    width: 150px;
    height: 150px;
}

.leafy-border, .solar-border {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: 4px solid #FFF700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.leaf-decoration, .solar-decoration {
    position: absolute;
    font-size: 1.5rem;
    z-index: 2;
    animation: twinkle 2s ease-in-out infinite;
}

.leaf-top-left, .solar-top-left {
    top: 5px;
    left: 5px;
}

.leaf-top-right, .solar-top-right {
    top: 5px;
    right: 5px;
}

.leaf-bottom-left, .solar-bottom-left {
    bottom: 5px;
    left: 5px;
    transform: rotate(20deg);
}

.leaf-bottom-right, .solar-bottom-right {
    bottom: 5px;
    right: 5px;
}

@keyframes twinkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes leafFloat {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-5px) rotate(var(--rotation, 0deg)); }
}

.photo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #D2691E;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.photo-circle img {
    width: 80%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder local para quando não há foto */
.photo-circle.no-photo::before {
    content: "🌞\AAsafe\AEndrick";
    white-space: pre;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border-radius: 50%;
    color: white;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Slide 4 - Final */
.final-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    max-width: 80vw;
    width: 100%;
    max-height: 85vh;
    text-align: center;
    margin: 10px auto 60px auto; /* Margem inferior maior */
    overflow-y: auto;
    overflow-x: hidden;
}

.final-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #8B4513;
    margin-bottom: 20px;
}

.date-time-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.date-box, .time-box {
    background: #F5E6D3;
    padding: 12px 16px;
    border-radius: 15px;
    border: 3px solid #D2691E;
}

.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.day-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    font-weight: bold;
    color: #D2691E;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-display, .time-display {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4513;
}

.time-label {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: #8B4513;
    margin-right: 10px;
}

.location-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    background: #F5E6D3;
    padding: 15px;
    border-radius: 15px;
}

.location-icon {
    font-size: 2rem;
}

.location-label {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: #8B4513;
    margin-bottom: 5px;
}

.location-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: #8B4513;
    font-weight: bold;
    margin-bottom: 3px;
}

.location-description {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #D2691E;
    font-style: italic;
    margin-bottom: 5px;
}

.location-address {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: #8B4513;
    font-weight: 500;
    margin-bottom: 3px;
}

.location-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: #8B4513;
    line-height: 1.4;
}

.maps-button {
    background: #4285F4;
    border-radius: 12px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    flex-shrink: 0;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.maps-button:hover,
.maps-button:active {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.maps-icon {
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
}

/* Modal de opções de mapas */
.maps-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maps-modal.show {
    opacity: 1;
}

.maps-modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.maps-modal.show .maps-modal-content {
    transform: scale(1);
}

.maps-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #F5E6D3;
    padding-bottom: 15px;
}

.maps-modal-header h3 {
    font-family: 'Fredoka One', cursive;
    color: #8B4513;
    margin: 0;
    font-size: 1.3rem;
}

.maps-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #8B4513;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.maps-modal-close:hover {
    background: #F5E6D3;
}

.maps-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.maps-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: 2px solid #F5E6D3;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.maps-option:hover {
    background: #F5E6D3;
    border-color: #D2691E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.maps-option-icon {
    font-size: 1.5rem;
}

.maps-option-name {
    font-size: 1rem;
    font-weight: 600;
    color: #8B4513;
}

.confirmation-section {
    margin-top: 20px;
}

.confirm-banner {
    background: rgba(255, 215, 0, 0.9);
    padding: 12px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.confirm-icon {
    font-size: 1.5rem;
}

.confirm-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B4513;
    display: block;
    margin-bottom: 5px;
}

.confirm-date-display {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8B4513;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: default;
}

.guest-input, .guest-select {
    padding: 12px 15px;
    border: 2px solid #D2691E;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    background: white;
}

.confirm-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #8B4513;
    border: none;
    padding: 15px 30px;
    border-radius: 20px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.confirm-btn:hover {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
    transform: translateY(-2px);
}

.animals-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;          /* espaço entre os animais */
  margin-top: 15px;
}

.animal-float {
  display: inline-block;
}

.animal-float img {
  width: 70px;        /* tamanho pequeno */
  height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}
.animal-float:nth-child(2) img {
  width: 100px;
}

.animal-float:nth-child(3) img {
  width: 70px;
}

.animal-float2 {
  display: inline-block;
}

.animal-float2 img {
  width: 40px;        /* tamanho pequeno */
  height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.solar-float {
  font-size: 2rem;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.solar-element {
  font-size: 2.5rem;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  margin: 0 10px;
}

.solar-decoration {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.solar-elements {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.elephant .animal-float2 img,
.monkey .animal-float2 img {
  width: 70px !important;
}

.tiger .animal-float2 img,
.zebra .animal-float2 img {
  width: 50px !important;
}

.animal-float2:nth-child(1) img {
  width: 10px;
}

.animal-float2:nth-child(3) img {
  width: 70px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Setas de navegação */
.slide-arrow {
    position: fixed;
    right: 30px;
    top: 70%;
    transform: translateY(-50%);
    background: rgba(139, 69, 19, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    border: 3px solid #FFD700;
}

.slide-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(139, 69, 19, 1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.slide-arrow span {
    font-size: 1.8rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.down-arrow {
    top: 70% !important;
    bottom: auto;
    right: 30px;
    transform: translateY(-50%) !important;
    z-index: 1000;
    position: fixed !important;
}

.down-arrow:hover {
    transform: translateY(-50%) scale(1.1) !important;
}

/* Navegação */
.slide-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.nav-btn {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.restart-btn {
    background: linear-gradient(45deg, #32CD32, #90EE90);
}

/* Notificação */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    z-index: 2000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}


.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #32CD32;
    color: white;
}

.notification.error {
    background: #FF6B6B;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    /* Normalização para Android e iOS */
    * {
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    .main-safari-container {
        max-width: 95vw;
        max-height: 85vh;
        padding: 20px;
        margin: 5px auto;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    
    .safari-title {
        font-size: 2rem;
    }
    
    .child-name {
        font-size: 2.2rem;
    }
    
    .special-title {
        font-size: 2rem;
    }
    
    .child-name-big {
        font-size: 2.5rem;
    }
    
    .message-container {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .final-info {
        margin: 20px 20px 100px 20px; /* Margem inferior muito maior no mobile */
        padding: 30px 20px;
    }
    
    /* Adicionar espaço no final da página para mobile */
    body::after {
        content: '';
        display: block;
        height: 100px; /* Espaço extra no final */
    }
    
    .date-time-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .slide-nav {
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }
    
    .location-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        -webkit-box-align: center;
        -webkit-align-items: center;
    }
    
    /* Correções específicas para Android */
    .slide {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }
    
    .slide-content {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Botões mais touch-friendly no Android */
    .nav-btn, .confirm-btn, .maps-button {
        -webkit-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Inputs mais consistentes */
    input, select {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
        font-size: 16px; /* Evita zoom no Android */
    }
    
    .maps-button {
        width: 60px;
        height: 60px;
        margin: 0;
    }
    
    .maps-icon {
        font-size: 2rem;
    }
    
    .slide-arrow {
        width: 50px;
        height: 50px;
        right: 15px;
    }
    
    .slide-arrow span {
        font-size: 1.5rem;
    }
    
    .down-arrow {
        top: 70% !important;
        bottom: auto !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        z-index: 1001 !important;
        display: flex !important;
        position: fixed !important;
        transform: translateY(-50%) !important;
    }
    
    /* Correções específicas para diferentes navegadores Android */
    .slide-arrow {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    
    /* Animações mais suaves no Android */
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .slide.active {
        -webkit-animation: slideIn 0.5s ease-out;
        animation: slideIn 0.5s ease-out;
    }
    
    @-webkit-keyframes slideIn {
        from { opacity: 0; -webkit-transform: translateY(20px); }
        to { opacity: 1; -webkit-transform: translateY(0); }
    }
    
    @keyframes slideIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* Media query específica para Android Chrome */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) {
    .main-safari-container {
        padding: 15px;
        margin: 10px auto;
    }
    
    .safari-title, .child-name {
        text-rendering: optimizeLegibility;
        -webkit-font-feature-settings: "liga" 1;
        font-feature-settings: "liga" 1;
    }
}

/* CSS para o primeiro slide - welcome */
.welcome-container {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    z-index: 10;
    position: relative;
}

.welcome-title {
    margin-bottom: 30px;
}

.welcome-title .main-title {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.welcome-title .safari-title {
    font-size: 2rem;
    line-height: 1.2;
}

/* CSS para o slide 3 - layout organizado */
.main-solar-container .main-title {
    text-align: center;
    margin-bottom: 20px;
    z-index: 10;
    position: relative;
}

.main-solar-container .invitation-message {
    text-align: center;
    margin: 20px 0;
    padding: 0 20px;
}

.main-solar-container .birthday-photo-section {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.main-solar-container .bottom-sun {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.main-solar-container .solar-decoration {
    margin-top: 20px;
}

/* CSS limpo para slide 3 */
.slide3-container {
    background: linear-gradient(135deg, #FFF8DC, #FFE4B5, #FFD700);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.slide3-header {
    margin-bottom: 25px;
}

.slide3-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: #FF8C00;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.slide3-name {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide3-age {
    background: #FF8C00;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    font-size: 1.2rem;
}

.slide3-message {
    margin: 25px 0;
    font-size: 1.1rem;
    color: #8B4513;
    line-height: 1.4;
}

.slide3-photo {
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.slide3-icons-left, .slide3-icons-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slide3-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.slide3-icon:nth-child(1) {
    animation-delay: 0s;
}

.slide3-icon:nth-child(2) {
    animation-delay: 1.5s;
}

.slide3-photo-frame {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFACD, #FFF8DC, #F0E68C);
    border: 4px solid #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.slide3-photo-frame img {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
}

.slide3-decoration {
    font-size: 2rem;
    margin-top: 20px;
    letter-spacing: 15px;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .slide3-photo {
        gap: 15px;
    }
    
    .slide3-icon {
        font-size: 1.5rem;
    }
    
    .slide3-photo-frame {
        width: 100px;
        height: 100px;
    }
    
    .slide3-icons-left, .slide3-icons-right {
        gap: 10px;
    }
}
