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

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 200px 20px;
    min-height: 100vh;
    position: relative;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100vh;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.bg-overlay.active {
    opacity: 1;
    visibility: visible;
}

.logo-container {
    margin-bottom: 50px;
    text-align: center;
    z-index: 10;
}

.logo-img {
    max-width: 500px;
    height: auto;
}


.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.content-section h2 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #000000;
    display: inline-block; 
    border-bottom: 2px solid currentColor; 
    padding-bottom: 3px; 
}

.item-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hover-item {
    display: inline-block;
    text-decoration: none;
    color: black;
    font-size: 30px;
    font-weight: 300;
    padding: 2px 0;
    position: relative;
}

.hover-item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom center;
}

.hover-item:hover::after {
    transform: scaleX(1);
}

.sns-icons { position: fixed; bottom: 45px; left: 50%; transform: translateX(-50%); font-size: 30px; z-index: 101; }
.sns-icons a { color: black; text-decoration: none; transition: opacity 0.3s; }
.sns-icons a:hover { opacity: 0.5; }


body.all-white .content-section h2,
body.all-white .hover-item {
    color: #ffffff;
}

body.all-white .sns-icons a { color: white !important; }

body.lower-opacity .bg-overlay.active {
    opacity: 0.7 !important;
}


.logo-bg-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px; 
    height: 100vh;
    background-image: url('images/senrecordslogo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

body:has(.logo-container:hover) {
    background-color: #0000bd;
}

body:has(.logo-container:hover) .logo-bg-overlay {
    opacity: 1;
    visibility: visible;
}

.logo-container,
.main-content {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    
    body {
        padding: 80px 20px 80px 20px;
    }

    .logo-bg-overlay,
    body:has(.logo-container:hover) .logo-bg-overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* ⭐ [수정] 모바일에서는 로고 영역에 터치/호버해도 파란 배경색으로 변하지 않음 */
    body:has(.logo-container:hover) {
        background-color: #ffffff !important;
    }

    .bg-overlay {
        width: 100%;
    }

    .logo-img {
        max-width: 70%; 
        height: auto;
    }

    .main-content {
        gap: 16px;
    }

    .content-section h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .item-list {
        gap: 4px;
    }

    .hover-item {
        font-size: 22px;
        padding: 4px 0;
        display: block;
    }

    .sns-icons {
        bottom: 20px;
        font-size: 26px;
    }

    .hover-item::after {
        display: none !important;
    }
    .hover-item.is-active::after {
        transform: scaleX(0) !important;
    }
}