* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

#welcome-screen .container,
#gallery-screen .container,
#invite-screen .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Telas */
.screen {
    display: none !important;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tela de Boas-vindas com Mosaico */
#welcome-screen {
    position: relative;
    overflow: hidden;
}

.background-mosaic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    z-index: 0;
}

.bg-photo {
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideInFromBottom 1s ease-out forwards;
    animation-delay: var(--delay);
    width: 100%;
    height: 100%;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bg-photo img,
.bg-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.7);
    transition: all 0.5s ease;
    display: block;
}

.bg-photo:hover img,
.bg-photo:hover video {
    filter: brightness(0.9);
    transform: scale(1.05);
}

.welcome-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(26, 26, 46, 0.85) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
    z-index: 2;
}

#welcome-screen .glitter-text {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #ffffff, #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite, popIn 0.8s ease-out 2s backwards;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#welcome-screen .subtitle {
    animation: fadeIn 1s ease-in 2.5s backwards;
}

#welcome-screen .btn-primary {
    animation: bounceIn 0.8s ease-out 3s backwards, pulse 2s ease-in-out 4s infinite;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ffd700 100%) !important;
    color: #000 !important;
    border: 4px solid #fff !important;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6),
                0 0 30px rgba(255, 140, 0, 0.4),
                inset 0 2px 0 rgba(255, 255, 255, 0.8),
                inset 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
    padding: 25px 70px !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    position: relative !important;
    overflow: hidden !important;
}

#welcome-screen .btn-primary::after {
    content: '→';
    position: absolute;
    right: 30px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

#welcome-screen .btn-primary:hover::after {
    transform: translateX(10px);
}

#welcome-screen .btn-primary:hover {
    transform: translateY(-5px) scale(1.08) !important;
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.8),
                0 0 50px rgba(255, 140, 0, 0.6),
                inset 0 2px 0 rgba(255, 255, 255, 1),
                inset 0 -2px 10px rgba(0, 0, 0, 0.2) !important;
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 50%, #ffed4e 100%) !important;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6),
                    0 0 30px rgba(255, 140, 0, 0.4),
                    inset 0 2px 0 rgba(255, 255, 255, 0.8),
                    inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.9),
                    0 0 50px rgba(255, 140, 0, 0.7),
                    inset 0 2px 0 rgba(255, 255, 255, 0.8),
                    inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeIn 1s ease-in 2.5s backwards;
    font-weight: 300;
    letter-spacing: 2px;
}

@keyframes glitter {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
                     0 0 40px rgba(255, 215, 0, 0.6);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 1),
                     0 0 60px rgba(255, 215, 0, 0.9),
                     0 0 80px rgba(255, 165, 0, 0.6);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Botões */
.btn-primary, .btn-secondary, .btn-success, .btn-danger {
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a2e;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.03);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}
.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    color: white;
}

/* Quiz */
#quiz-screen {
    position: relative !important;
    background: #0a0a0a !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#quiz-screen .container {
    position: relative !important;
    z-index: 1 !important;
    padding: 60px 40px !important;
    max-width: 1000px !important;
    width: 100% !important;
}

.progress-bar {
    width: 100% !important;
    height: 15px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%) !important;
    transition: width 0.3s ease !important;
    width: 0% !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6) !important;
}

#question-title {
    font-size: 2.5rem !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    font-weight: bold !important;
    color: #ffd700 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5) !important;
    letter-spacing: 2px !important;
}

#question-container {
    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    padding: 60px !important;
    border-radius: 25px !important;
    margin-bottom: 30px !important;
    position: relative !important;
    overflow: hidden !important;
    border: 3px solid rgba(255, 215, 0, 0.5) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(255, 215, 0, 0.2) !important;
}

.question {
    font-size: 2rem !important;
    margin-bottom: 40px !important;
    text-align: center !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    line-height: 1.4 !important;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option {
    padding: 30px 35px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 3px solid rgba(255, 215, 0, 0.4) !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    position: relative !important;
    overflow: hidden !important;
}

.option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #ffd700;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.option:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    transform: translateX(15px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.option:hover::before {
    transform: scaleY(1);
}

.option.selected {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: scale(1.02);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.4);
}

.option.correct {
    background: linear-gradient(135deg, #2d7a00 0%, #38ef7d 50%, #ffd700 100%);
    border: 3px solid #ffd700;
    animation: pulseCorrect 0.8s ease;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.9), 0 0 60px rgba(56, 239, 125, 0.6), inset 0 0 20px rgba(255, 215, 0, 0.3);
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    font-weight: bold;
}

.option.wrong {
    background: linear-gradient(135deg, #8b0000 0%, #ee0979 50%, #ff3300 100%);
    border: 3px solid #ff3300;
    animation: shakeWrong 0.6s ease;
    box-shadow: 0 0 40px rgba(255, 51, 0, 0.9), 0 0 60px rgba(238, 9, 121, 0.6), inset 0 0 15px rgba(255, 0, 0, 0.3);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

@keyframes pulseCorrect {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.08);
        filter: brightness(1.3) hue-rotate(10deg);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.5) hue-rotate(-10deg);
    }
    75% {
        transform: scale(1.08);
        filter: brightness(1.3) hue-rotate(10deg);
    }
    100% {
        transform: scale(1.03);
        filter: brightness(1.2);
    }
}

@keyframes shakeWrong {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    10% {
        transform: translateX(-15px) rotate(-2deg);
    }
    20% {
        transform: translateX(15px) rotate(2deg);
    }
    30% {
        transform: translateX(-15px) rotate(-2deg);
    }
    40% {
        transform: translateX(15px) rotate(2deg);
    }
    50% {
        transform: translateX(-10px) rotate(-1deg);
    }
    60% {
        transform: translateX(10px) rotate(1deg);
    }
    70% {
        transform: translateX(-5px) rotate(-0.5deg);
    }
    80% {
        transform: translateX(5px) rotate(0.5deg);
    }
    90% {
        transform: translateX(-2px) rotate(0deg);
    }
}

/* Confetti */
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0;
    animation: confettiFall 2s ease-out forwards;
    z-index: 100;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(500px) rotate(720deg);
        opacity: 0;
    }
}

/* Feedback Message */
.feedback-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    padding: 40px 80px;
    border-radius: 30px;
    animation: popFeedback 0.6s ease;
    z-index: 9999;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    min-width: 400px;
}

.feedback-message.correct {
    background: linear-gradient(135deg, #ffd700 0%, #38ef7d 50%, #ffed4e 100%);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.8), 0 0 80px rgba(56, 239, 125, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.3);
    border: 3px solid #ffd700;
    color: #000;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    animation: popFeedback 0.6s ease, glowPulse 1.5s ease-in-out infinite;
}

.feedback-message.wrong {
    background: linear-gradient(135deg, #ff0000 0%, #ee0979 50%, #ff3300 100%);
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.8), 0 0 80px rgba(238, 9, 121, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.4);
    border: 3px solid #ff3300;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    animation: popFeedback 0.6s ease, shakeFeedback 0.5s ease;
}

@keyframes popFeedback {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: translate(-50%, -50%) scale(1.3) rotate(10deg);
    }
    80% {
        transform: translate(-50%, -50%) scale(0.9) rotate(-5deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 25px rgba(255, 215, 0, 1));
    }
}

@keyframes shakeFeedback {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: translate(-50%, -50%) rotate(-3deg); }
    20%, 40%, 60%, 80% { transform: translate(-50%, -50%) rotate(3deg); }
}

.quiz-navigation {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.quiz-navigation button {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    border: 3px solid #ffd700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.quiz-navigation button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.quiz-navigation button:hover::before {
    width: 300px;
    height: 300px;
}

.quiz-navigation button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: #ffed4e;
}

.quiz-navigation button:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.4), inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.quiz-navigation button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: linear-gradient(135deg, #666 0%, #999 50%, #666 100%);
    border-color: #666;
    box-shadow: none;
}

.quiz-navigation button:disabled:hover {
    transform: none;
    box-shadow: none;
}

#next-btn {
    display: none;
}

/* Galeria de Fotos */
#gallery-screen .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

/* Convite Final */
#invite-screen {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

/* Mosaico de Fundo Dinâmico */
.invite-bg-mosaic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 5px;
    z-index: 0;
}

.invite-bg-photo {
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInPhoto 1.5s ease-out forwards, 
               pulsePhoto var(--duration, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 1.5s);
}

.invite-bg-photo img,
.invite-bg-photo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.6) saturate(1.2);
    transition: all 0.8s ease;
    animation: slowZoom var(--duration, 8s) ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
}

.invite-bg-photo:hover img,
.invite-bg-photo:hover video {
    filter: brightness(0.8) saturate(1.4);
    transform: scale(1.1);
}

@keyframes fadeInPhoto {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

@keyframes pulsePhoto {
    0%, 100% {
        filter: brightness(0.5) saturate(1);
    }
    50% {
        filter: brightness(0.7) saturate(1.3);
    }
}

/* Overlay dourado elegante */
.invite-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, 
            rgba(0, 0, 0, 0.7) 0%, 
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 0, 0, 0.5) 70%,
            rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* Partículas douradas */
.golden-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.golden-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
    opacity: 0;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

#invite-screen .container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

#invite-screen .glitter-text {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: popIn 0.8s ease-out, glowText 2s ease-in-out infinite;
}

@keyframes glowText {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.9));
    }
}

.invite-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 60px;
    margin-top: 20px;
    max-width: 700px;
    width: 100%;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.4);
    animation: slideUpCard 0.8s ease-out 0.3s backwards;
}

@keyframes slideUpCard {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invite-card h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.invite-details {
    font-size: 1.2rem;
    line-height: 2;
    color: #fff;
}

.invite-details p {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.invite-details strong {
    color: #ffd700;
}

.invite-message {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    padding: 25px;
    border-radius: 20px;
    margin: 30px 0;
    font-style: italic;
    border-left: 4px solid #ffd700;
    color: #ddd;
    line-height: 1.8;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    padding: 20px 25px;
    border-radius: 20px;
    min-width: 90px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.countdown-value {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.countdown-label {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsvp-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(56, 239, 125, 0.4);
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(56, 239, 125, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

.btn-danger:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 106, 0, 0.6);
}

/* Fogos de Artifício */
.fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: explode 1s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y));
        opacity: 0;
    }
}

.animate-pop {
    animation: pop 0.5s ease-out;
}

@keyframes pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 50px 60px;
    border-radius: 30px;
    text-align: center;
    max-width: 550px;
    animation: popModal 0.4s ease-out;
    border: 3px solid #ffd700;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9),
                0 0 60px rgba(255, 215, 0, 0.3);
}

@keyframes popModal {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotate(3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.modal-content h2 {
    margin-bottom: 25px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content p {
    margin-bottom: 35px;
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.6;
}

/* Responsividade - Tablets e celulares grandes */
@media (max-width: 992px) {
    #welcome-screen .glitter-text {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    #welcome-screen .btn-primary {
        padding: 18px 45px !important;
        font-size: 1.2rem !important;
    }
}

/* Responsividade - Celulares */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    #welcome-screen .glitter-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .glitter-text {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    #welcome-screen .btn-primary {
        padding: 15px 35px !important;
        font-size: 1rem !important;
        letter-spacing: 2px !important;
    }
    
    #welcome-screen .btn-primary::after {
        font-size: 1.2rem;
        right: 15px;
    }
    
    .invite-card {
        padding: 25px 18px;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-item {
        padding: 12px 15px;
        min-width: 70px;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .mosaic-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* Botões responsivo */
    .btn-primary, .btn-secondary, .btn-success, .btn-danger {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    /* Quiz responsivo */
    #quiz-screen .container {
        padding: 20px 15px !important;
    }
    
    #question-container {
        padding: 25px 18px !important;
    }
    
    .question {
        font-size: 1.2rem !important;
        margin-bottom: 25px;
    }
    
    .option {
        padding: 15px 18px !important;
        font-size: 0.95rem !important;
    }
    
    #question-title {
        font-size: 1.4rem !important;
        margin-bottom: 20px;
    }
    
    .quiz-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .quiz-navigation button {
        width: 100%;
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    /* Feedback responsivo */
    .feedback-message {
        font-size: 1.4rem;
        padding: 20px 30px;
        min-width: auto;
        width: 90%;
        max-width: 350px;
    }
    
    /* Modal responsivo */
    .modal-content {
        margin: 15px;
        padding: 25px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content p {
        font-size: 1rem;
    }
    
    /* Background mosaic */
    .background-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

/* Responsividade - Celulares pequenos */
@media (max-width: 480px) {
    #welcome-screen .glitter-text {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .glitter-text {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    #welcome-screen .btn-primary {
        padding: 12px 25px !important;
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }
    
    #welcome-screen .btn-primary::after {
        display: none;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-item {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .question {
        font-size: 1.1rem !important;
    }
    
    .option {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
    }
    
    #question-title {
        font-size: 1.2rem !important;
    }
    
    .btn-primary, .btn-secondary, .btn-success, .btn-danger {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}