@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
    overflow: hidden;
}

[x-cloak] {
    display: none !important;
}

.page {
    width: 100%;
    height: 100dvh;
}

video.mirror {
    transform: scaleX(-1);
}

.countdown-number {
    font-size: 8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 40px rgba(244, 63, 94, 0.6), 0 0 80px rgba(244, 63, 94, 0.3);
    animation: countdownPulse 1s ease-out;
}

@keyframes countdownPulse {
    0% { transform: scale(1.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes flashEffect {
    0% { opacity: 0.9; }
    100% { opacity: 0; }
}

.flash-overlay {
    animation: flashEffect 0.4s ease-out forwards;
}

.color-option {
    cursor: pointer;
    flex-shrink: 0;
}

.color-option:active {
    transform: scale(0.92);
}

.btn-primary {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e11d48, #be123c);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.viewfinder-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewfinder-frame {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.25);
    position: absolute;
}

.edit-page-bg {
    background: linear-gradient(135deg, #fff5f6 0%, #ffeef1 30%, #fff0f3 60%, #fef2f4 100%);
    position: relative;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.color-picker-custom {
    position: relative;
    flex-shrink: 0;
}

.color-picker-custom input[type="color"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
    .countdown-number {
        font-size: 5rem;
    }
}
