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

body {
    font-family: 'Noto Sans KR', system-ui, sans-serif;
}

body, nav, section, footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://picsum.photos/id/1015/2000/1200');
    background-size: cover;
    background-position: center;
}

.section-title {
    font-family: 'Playfair Display', sans-serif;
}

.hair-line {
    height: 3px;
    background: linear-gradient(to right, #d4af37, #f5e8c7, #d4af37);
}

.lotto-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lotto-modal.hidden {
    display: none;
}

.lotto-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.lotto-modal-panel {
    position: relative;
    width: 100%;
    max-width: 42rem;
    max-height: 90vh;
    background: #09090b;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: modal-in 0.25s ease;
}

.lotto-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #27272a;
    flex-shrink: 0;
}

.lotto-modal-iframe {
    width: 100%;
    height: 70vh;
    min-height: 480px;
    border: 0;
    background: #09090b;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

body.modal-open {
    overflow: hidden;
}