* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-size: cover;
}

body, html {
    margin: 0;
    padding: 0;
    overflow: auto;
}

.background-layer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.bg1, .bg2 {
    opacity: 0;
}

.bg1.active,
.bg2.active {
    opacity: 1;
}

.clock {
    margin: 50px 0 30px 0;
    font-size: 16px;
    color: #333;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255, 255, 255, 0.58);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 300px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.2s ease;
    align-items: center;
}


.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.highlight {
    font-size: 16px;
    font-weight: bold;
    color: #2e7d32;
    margin: 20px 0;
}

.btn {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    margin-top: 20px;
    transition: background-color 0.3s;
}

/* 하얀빛 효과용 ::before */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transform: skewX(-20deg);
    transition: none;
}

/* hover 시 애니메이션 트리거 */
.btn:hover::before {
    animation: shine 0.8s ease-out;
}

@keyframes shine {
    0% {
    left: -75%;
    }
    100% {
    left: 125%;
    }
}

.btn-green {
    background-color: #2e7d32;
}

.btn-blue {
    background-color: #1565c0;
}

.logo {
    width: 60px;
    margin: 15px auto;
}
.title-white {
    color: #fff;
}
