* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 50%, #0d47a1 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.birthday-photo {
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.ricardo-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    user-select: none;
}

.ricardo-photo:hover {
    transform: scale(1.05);
}

.ricardo-photo.moving {
    animation: none;
    z-index: 1000;
}

.birthday-photo.game-mode {
    position: fixed;
    animation: none;
    margin: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.birthday-photo.game-mode .ricardo-photo {
    border: 5px solid #1e88e5;
    box-shadow: 0 0 20px rgba(30, 136, 229, 0.6);
}

.birthday-photo.game-mode .ricardo-photo:hover {
    transform: scale(1.1) rotate(360deg);
    border-color: #42a5f5;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.age-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.date-info {
    font-size: 1.3rem;
    background: rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.date-info i {
    margin-right: 10px;
}

/* Decorative Elements */
.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.balloon {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.balloon-1 {
    background: #64b5f6;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.balloon-2 {
    background: #90caf9;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.balloon-3 {
    background: #bbdefb;
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

/* Sections */
.section-content {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e88e5, #42a5f5);
    margin: 15px auto;
    border-radius: 2px;
}

/* Party Details */
.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.detail-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #1e88e5;
}

.detail-card i {
    font-size: 2.5rem;
    color: #1e88e5;
    margin-bottom: 15px;
}

.detail-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.detail-card p {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #666;
}

.detail-card small {
    color: #888;
    font-style: italic;
}

.price-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.price-details h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.price-details p {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #666;
    line-height: 1.4;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: #1e88e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #42a5f5;
}

.map-link i {
    font-size: 0.9rem;
    margin-left: 5px;
}

/* Video Section */
.video-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.video-section h3 {
    color: #333;
}

.video-section p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: white;
}

.video-placeholder {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

.placeholder-content h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.placeholder-content p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.placeholder-content small {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.video-player video:focus {
    outline: 3px solid #1e88e5;
    outline-offset: 2px;
}

/* RSVP Section */
.rsvp-section {
    background: linear-gradient(135deg, #1976d2 0%, #1e88e5 100%);
    color: white;
}

.rsvp-section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.rsvp-button {
    display: block;
    margin: 0 auto;
    background: white;
    color: #1565c0;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-family: 'Courier Prime', 'Courier New', Courier, monospace;
}

.rsvp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #e3f2fd;
}

.rsvp-button i {
    margin-right: 10px;
}

/* Google Form Modal */
.form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.form-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.form-modal-overlay.active .form-modal-content {
    transform: scale(1);
}

.form-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.form-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.form-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.form-close-btn:hover {
    color: #1e88e5;
}

.form-container {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.form-placeholder {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, #1976d2 0%, #1e88e5 100%);
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-placeholder .placeholder-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

.form-placeholder .placeholder-content h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-placeholder .placeholder-content p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.form-placeholder .placeholder-content small {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

#google-form-iframe {
    border: none;
    background: white;
}


/* FAQ Section */
.faq-container {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #666;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px;
}

.footer p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.social-links i {
    font-size: 1.5rem;
    color: #1e88e5;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .age-title {
        font-size: 1.5rem;
    }
    
    .date-info {
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    .section-content {
        padding: 40px 20px;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .ricardo-photo {
        width: 120px;
        height: 120px;
    }
    
    .balloon {
        width: 40px;
        height: 55px;
    }
    
    .video-placeholder {
        padding: 60px 20px;
    }
    
    .placeholder-content i {
        font-size: 3rem;
    }
    
    .placeholder-content h4 {
        font-size: 1.5rem;
    }
    
    .form-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .form-modal-header {
        padding: 15px 20px;
    }
    
    .form-container {
        height: 500px;
    }
    
    .form-placeholder {
        padding: 40px 20px;
    }
    
    .form-placeholder .placeholder-content i {
        font-size: 3rem;
    }
    
    .form-placeholder .placeholder-content h4 {
        font-size: 1.5rem;
    }
    
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .age-title {
        font-size: 1.2rem;
    }
    
    .section-content {
        padding: 30px 15px;
    }
    
    h3 {
        font-size: 1.8rem;
    }
}