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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    overflow: hidden;
    //background-image: url('../img/gate_bg.webp');
    background-image: url('../img/bg_03.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
}

.logo {
    position: absolute;
    top: 40px;
    left: 50px;
    z-index: 100;
}

.logo img {
    height: 55px;
}

.gate-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.gate {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.6s ease;
    background: rgba(0, 0, 0, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 120px;
    position: relative;
}

.gate:last-child {
    border-right: none;
}

.gate:hover {
    flex: 1.5;
    background: rgba(0, 0, 0, 0.1);
}

.content {
    text-align: left;
    width: 100%;
    max-width: 450px;
    transition: transform 0.6s ease;
}

.gate:hover .content {
    transform: translateY(-10px);
}

.content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
}

.gate:hover .btn {
    background: white;
    color: #333;
    border-color: white;
    font-weight: 700;
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .logo {
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        height: 44px;
    }

    .gate-container {
        flex-direction: column;
    }

    .gate {
        flex: 1;
        align-items: center;
        justify-content: center;
        padding-bottom: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .gate:last-child {
        border-bottom: none;
    }

    .gate:hover {
        flex: 1;
        background: rgba(0, 0, 0, 0.1);
    }

    .content {
        text-align: center;
        max-width: 100%;
        padding: 0 24px;
    }

    .gate:hover .content {
        transform: none;
    }

    .content h2 {
        font-size: 2rem;
    }

    .content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
