/* =====================================
   ARQUIVO STYLE.CSS - COMPLETO E CORRETO
   ===================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding: 0;
    margin: 0;
    background-color: #eae2e9;
    background-image: url('natal.png');
    background-size: 1311px 1311px;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== NEVE CAINDO ===== */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: fixed;
    top: -10%;
    z-index: 1;
    user-select: none;
    cursor: default;
    color: white;
    font-size: 1.5em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    to {
        transform: translateY(100vh) translateX(100px);
        opacity: 0;
    }
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 9s;
    animation-delay: 0.5s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 11s;
    animation-delay: 1.5s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 8.5s;
    animation-delay: 2.5s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 10.5s;
    animation-delay: 0.2s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 9.5s;
    animation-delay: 1.2s;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 11.5s;
    animation-delay: 2.2s;
}

.snowflake:nth-child(10) {
    left: 5%;
    animation-duration: 10s;
    animation-delay: 0.8s;
}

.snowflake:nth-child(11) {
    left: 15%;
    animation-duration: 12s;
    animation-delay: 1.8s;
}

.snowflake:nth-child(12) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: 0.3s;
}

.snowflake:nth-child(13) {
    left: 35%;
    animation-duration: 11s;
    animation-delay: 1.3s;
}

.snowflake:nth-child(14) {
    left: 45%;
    animation-duration: 10.5s;
    animation-delay: 2.3s;
}

.snowflake:nth-child(15) {
    left: 55%;
    animation-duration: 9.5s;
    animation-delay: 0.7s;
}

.snowflake:nth-child(16) {
    left: 65%;
    animation-duration: 12s;
    animation-delay: 1.7s;
}

.snowflake:nth-child(17) {
    left: 75%;
    animation-duration: 10s;
    animation-delay: 0.4s;
}

.snowflake:nth-child(18) {
    left: 85%;
    animation-duration: 11s;
    animation-delay: 1.4s;
}

.snowflake:nth-child(19) {
    left: 95%;
    animation-duration: 9.5s;
    animation-delay: 2.4s;
}

.snowflake:nth-child(20) {
    left: 12%;
    animation-duration: 10.5s;
    animation-delay: 0.9s;
}

/* ===== TELA DE BEM-VINDO ===== */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d5c0d 0%, #165c16 30%, #c41e3a 70%, #8b0000 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 1;
    transition: opacity 1s ease;
    overflow: hidden;
}

@keyframes gradientShift {

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

    50% {
        background-position: 100% 50%;
    }
}

.welcome-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.welcome-content {
    text-align: center;
    color: white;
    animation: welcomeFadeIn 1.5s ease;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    padding: 60px 50px;
    border-radius: 30px;
    border: 3px solid #c41e3a;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(196, 30, 58, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    max-width: 90%;
    width: 520px;
    position: relative;
}

@keyframes welcomeFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-logo {
    margin-bottom: 20px;
}

.logo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    animation: pulseGlow 3s infinite;
    position: relative;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }

    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.9);
    }
}

.logo-tree {
    font-size: 3.5em;
    animation: bounce 2s infinite;
}

.logo-image {
    width: 85%;
    height: 85%;
    object-fit: contain;
    animation: bounce 2s infinite;
    display: block;
    margin: auto;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.welcome-title {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 3.8em;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #fff 0%, #ffd1dc 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s linear infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.welcome-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    opacity: 0.8;
    color: #ffd1dc;
}

/* BOTÃO ENTRAR PREMIUM */
.enter-btn {
    position: relative;
    background: linear-gradient(135deg, #c41e3a, #8b0000, #c41e3a);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 18px 55px;
    font-size: 1.3em;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 10px 30px rgba(196, 30, 58, 0.5),
        0 0 40px rgba(196, 30, 58, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow:
            0 10px 30px rgba(196, 30, 58, 0.5),
            0 0 40px rgba(196, 30, 58, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 15px 40px rgba(196, 30, 58, 0.7),
            0 0 60px rgba(196, 30, 58, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.enter-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #0d5c0d, #165c16, #0d5c0d);
    background-position: 100% 100%;
    box-shadow:
        0 20px 50px rgba(13, 92, 13, 0.8),
        0 0 80px rgba(22, 92, 22, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: none;
}

.enter-btn:active {
    transform: translateY(1px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    animation: shimmer 4s ease-in-out infinite;
    transform: skewX(-20deg);
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Partículas decorativas */
.welcome-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.welcome-particles span {
    position: absolute;
    font-size: 2em;
    opacity: 0.6;
    animation: floatParticles 15s linear infinite;
    animation-delay: calc(var(--i) * -2s);
}

.welcome-particles span:nth-child(1) {
    left: 10%;
}

.welcome-particles span:nth-child(2) {
    left: 25%;
}

.welcome-particles span:nth-child(3) {
    left: 50%;
}

.welcome-particles span:nth-child(4) {
    left: 65%;
}

.welcome-particles span:nth-child(5) {
    left: 80%;
}

.welcome-particles span:nth-child(6) {
    left: 90%;
}

@keyframes floatParticles {
    0% {
        top: 110%;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        top: -10%;
        transform: translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-content {
    position: relative;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.main-content.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== CABEÇALHO ===== */
.header {
    padding: 15px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
}

.header h1 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.2em;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.8), 3px 3px 8px rgba(0, 0, 0, 0.6);
    margin: 0;
    padding: 0 10px;
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.6));
}

.header-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.header-btn {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border: 3px solid white;
    border-radius: 25px;
    padding: 12px 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.6), 0 0 20px rgba(255, 105, 180, 0.3);
}

box-shadow: 0 8px 20px rgba(255, 105, 180, 0.8),
0 0 30px rgba(255, 105, 180, 0.5);
}

/* BOTÃO SOCIAL (TWITTER) - Idêntico aos outros */
.social-btn {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border: 3px solid white;
    border-radius: 25px;
    padding: 12px 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.6), 0 0 20px rgba(255, 105, 180, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-btn:hover {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.8), 0 0 30px rgba(255, 105, 180, 0.5);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== GRID LAYOUT ===== */
.calendar-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    box-sizing: border-box;
}

.day-box {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    animation: float 4s ease-in-out infinite;
    perspective: 1000px;
    cursor: pointer;
}

.door {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.door-front,
.door-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px dashed #ff69b4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {

    0%,
    100% {
        border-color: #ff69b4;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 105, 180, 0.2);
    }

    50% {
        border-color: #ff1493;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 105, 180, 0.5);
    }
}

.door-front {
    /* Cores VIBRANTES roxo/rosa - não cinza! */
    background: linear-gradient(135deg, #d896d8, #c864c8);
    color: #fff;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 3em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    opacity: 1 !important;
}

.door-front:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #e8a8e8, #d878d8);
    box-shadow: 0 8px 15px rgba(255, 105, 180, 0.4);
}

.day-number {
    display: block;
}

.door-back {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    transform: rotateY(180deg);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    padding: 10px;
    overflow: hidden;
}

.door-back iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Removido: CSS de transparência que fazia quadrados ficarem cinza
   Agora quadrados mantêm cores normais (roxo/rosa) sempre */

.day-box.locked .door-front {
    cursor: not-allowed;
    opacity: 0.7;
    /* Levemente transparente para indicar bloqueio, mas mantém cores vibrantes */
}

.day-box.locked .door-front:hover {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* QUADRADO ABERTO - Fica transparente para revelar arte de fundo */
.day-box.open .door-front {
    opacity: 0.1 !important;
    /* Quase invisível para mostrar o fundo */
    background: rgba(255, 255, 255, 0.1) !important;
    /* Leve brilho apenas */
    box-shadow: none !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
}

/* DIA 25 ESPECIAL */
.day-25 .door-front {
    background: linear-gradient(135deg, rgb(255, 105, 180), rgb(220, 20, 60));
    font-size: 3.5em;
}

.day-25 .door-front:hover {
    background: linear-gradient(135deg, rgb(255, 125, 200), rgb(240, 40, 80));
    transform: scale(1.1);
}

/* ===== MENSAGEM FINAL ===== */
.final-message {
    text-align: center;
    padding: 30px 20px;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2em;
    color: #ff69b4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== MODAIS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 20px;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid #ff69b4;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #ff69b4;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close:hover {
    color: #ff1493;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.modal-body h2 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2em;
    color: #ff69b4;
    margin-top: 0;
}

.modal-body p {
    margin: 15px 0;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

.settings-group {
    margin: 20px 0;
    text-align: left;
}

.settings-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.volume-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff69b4;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff69b4;
    cursor: pointer;
    border: none;
}

.btn-secondary {
    background-color: #ff69b4;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ff1493;
    transform: scale(1.05);
}

/* ===== ANIMAÇÕES ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    }

    50% {
        transform: translateY(-15px) rotateX(0deg) rotateY(0deg);
    }

    75% {
        transform: translateY(-8px) rotateX(-2deg) rotateY(2deg);
    }
}

.day-box:nth-child(1) {
    animation-delay: 0s;
}

.day-box:nth-child(2) {
    animation-delay: 0.1s;
}

.day-box:nth-child(3) {
    animation-delay: 0.2s;
}

.day-box:nth-child(4) {
    animation-delay: 0.3s;
}

.day-box:nth-child(5) {
    animation-delay: 0.4s;
}

.day-box:nth-child(6) {
    animation-delay: 0.1s;
}

.day-box:nth-child(7) {
    animation-delay: 0.2s;
}

.day-box:nth-child(8) {
    animation-delay: 0.3s;
}

.day-box:nth-child(9) {
    animation-delay: 0.4s;
}

.day-box:nth-child(10) {
    animation-delay: 0s;
}

.day-box:nth-child(11) {
    animation-delay: 0.1s;
}

.day-box:nth-child(12) {
    animation-delay: 0.2s;
}

.day-box:nth-child(13) {
    animation-delay: 0.3s;
}

.day-box:nth-child(14) {
    animation-delay: 0.4s;
}

.day-box:nth-child(15) {
    animation-delay: 0s;
}

.day-box:nth-child(16) {
    animation-delay: 0.1s;
}

.day-box:nth-child(17) {
    animation-delay: 0.2s;
}

.day-box:nth-child(18) {
    animation-delay: 0.3s;
}

.day-box:nth-child(19) {
    animation-delay: 0.4s;
}

.day-box:nth-child(20) {
    animation-delay: 0s;
}

.day-box:nth-child(21) {
    animation-delay: 0.1s;
}

.day-box:nth-child(22) {
    animation-delay: 0.2s;
}

.day-box:nth-child(23) {
    animation-delay: 0.3s;
}

.day-box:nth-child(24) {
    animation-delay: 0.4s;
}

.day-box:nth-child(25) {
    animation-delay: 0.2s;
}


.day-box.locked {
    animation: none;
    transform: none;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .calendar-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .calendar-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .header {
        flex-direction: column;
        gap: 15px;
    }

    .header h1 {
        font-size: 2em;
    }

    .welcome-title {
        font-size: 2em;
    }

    .modal {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .calendar-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .header h1 {
        font-size: 1.5em;
    }

    .door-front {
        font-size: 2em;
    }

    .welcome-title {
        font-size: 1.5em;
    }

    .logo-circle {
        width: 120px;
        height: 120px;
    }

    .logo-tree {
        font-size: 2.5em;
    }
}

/* ===== VÍDEO DE FUNDO ===== */
.background-video {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -10;
}

/* ===== ADMIN PANEL ===== */
.admin-modal .modal-content {
    max-width: 700px;
}

.admin-section {
    margin: 20px 0;
}

#adminPassword {
    width: 100%;
    padding: 10px;
    border: 2px solid #ff69b4;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 10px;
}

.video-config-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background: #f9f9f9;
}

.video-config-item {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 5px;
    border: 1px solid #eee;
}

.video-config-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff69b4;
}

.video-config-item input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
}

.video-config-item input:focus {
    outline: none;
    border-color: #ff69b4;
}

#adminLogout {
    background-color: #999;
    margin-left: 10px;
}

#adminLogout:hover {
    background-color: #666;
}

/* ===== MODAL DE VÍDEO ===== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid #ff69b4;
    animation: modalSlideIn 0.4s ease;
    overflow: hidden;
    z-index: 2001;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff69b4;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 2em;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2002;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.4);
}

.video-modal-close:hover {
    background: #ff1493;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 105, 180, 0.6);
}

.video-modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
}

.video-modal-header h2 {
    margin: 0;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-modal-body {
    padding: 20px;
    background: white;
}

.video-modal-body iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsivo para o modal de vídeo */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .video-modal-header h2 {
        font-size: 1.5em;
    }

    .video-modal-body iframe {
        height: 300px;
    }

    .video-modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .video-modal-body iframe {
        height: 200px;
    }

    .video-modal-header {
        padding: 20px 15px;
    }

    .video-modal-body {
        padding: 15px;
    }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1em;
    border: 2px solid white;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.toast.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

/* ===== INDICADOR DE VÍDEO ===== */
.video-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.play-icon {
    font-size: 3em;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

.video-indicator p {
    font-size: 0.9em;
    color: #333;
    margin: 0;
    font-weight: bold;
}