﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* 26-2-15 미리 정의 된 p로 팝업 글씨가 보이지 않는 경우, 글자색 변경 */
td p {
    /*font-family: "Poppins", sans-serif !important;
    font-weight: 400;
    font-size: 0.875rem;
    color: #58585e;    
    letter-spacing: 0.015rem;
    margin-bottom: 10px;*/

    color: whitesmoke;
}




:root {
    --bg-color: #0a0a12;
    --primary: #00f2ff; /* 사이언 네온 */
    --secondary: #ff00c1; /* 핑크 네온 */
    --accent: #7000ff; /* 퍼플 */
    --text-color: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;    
}

/*추가*/
.bg-screen {
    position: fixed;
    width: 100%;
    /*height: 100%;*/
    height: 85%;
    background-image: url('/img/bk.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    filter: blur(4px);
    opacity: 0.2;
}



/* 배경 디자인: 리드미컬하게 움직이는 네온 원 */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*z-index: -1;*/
    overflow: hidden;
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: pulse 8s infinite alternate;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -150px;
    left: -150px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* 헤더 메뉴 */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

    .logo span {
        color: var(--primary);
        text-shadow: 0 0 10px var(--primary);
    }


.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

/*추가*/
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
nav li {
    margin: auto;
}


    .nav-menu a {
        text-decoration: none;
        color: #fff;
        /*font-weight: 500;*/
        transition: 0.3s;
        position: relative;
    }

        .nav-menu a:hover {
            color: var(--primary);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

    /*추가*/
    .nav-menu span {
        text-decoration: none;
        color: #fff;
        font-weight: 500;
        transition: 0.3s;
        position: relative;

        font-size:1.0rem;

    }

        .nav-menu span:hover {
            color: var(--primary);
        }

        .nav-menu span::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: 0.3s;
        }

        .nav-menu span:hover::after {
            width: 100%;
        }




/* 섹션 공통 */
section {
    padding: 100px 50px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* 첫 번째 섹션: 창의적 히어로 요소 */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    text-align: center;
}

.glitch-text {
    font-size: 5rem;
    font-family: 'Montserrat';
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /*margin-bottom: 20px;*/
}

.image-frame {
    position: relative;
    margin-top: 50px;
    padding: 15px;
    background: var(--glass);
    border-radius: 20px;
    transform: perspective(1000px) rotateX(10deg);
    transition: 0.5s;
}

    .image-frame:hover {
        transform: perspective(1000px) rotateX(0deg);
    }

    .image-frame img {
        width: 100%;
        max-width: 800px;
        border-radius: 10px;
        display: block;
    }

/* 두 번째 섹션: 갤러리 카드 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
        border-color: var(--primary);
    }

.card-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-img:hover img {
        
    filter: saturate(1.5);
}

.card-img:hover .scanline {
    background: none;
}

.card-info {
    padding: 20px;

    background-color:transparent;
    border-color:transparent;
}

    .card-info h3 {
        color: var(--primary);
        margin-bottom: 5px;

        font-size:1.2rem;
        text-align:center;
    }

/* 8종 버튼 스타일 */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-family: 'Rajdhani';
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    color: #fff;
    position: relative;
    background: #222;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transition: 0.3s;
    }

    .btn:hover::before {
        left: 0;
    }

.btn-login {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}

.btn-logout {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.btn-confirm {
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
}

.btn-cancel {
    background: #e74c3c;
    box-shadow: 0 0 10px #e74c3c;
}

.btn-play {
    background: var(--accent);
    font-size: 1.2rem;
    padding: 15px 40px;
}

.btn-shop {
    background: #f1c40f;
    color: #000;
}

.btn-settings {
    border: 1px solid #95a5a6;
    /*background: transparent;*/
    background-color: var(--bg-color);
}

.btn-profile {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

/* 팝업창 (모달) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #151520;
    /*padding: 40px;*/
    border-radius: 20px;
    /*width: 400px;*/
    text-align: center;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px var(--primary);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    font-size: 1.5rem;
    font-weight: 700;
    /*margin-bottom: 20px;*/
    color: var(--primary);

    text-align:center;
    display:inline;
}

.modal-footer {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* 푸터 */
.main-footer {
    padding: 50px;
    text-align: center;
    background: #05050a;
    border-top: 1px solid var(--glass);
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

    .footer-links a:hover {
        color: var(--primary);
    }









/* 페이지 전환 스타일 */
.page {
    display: none; /* 기본적으로 숨김 */
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    .page.active {
        display: block;
        opacity: 1;
        transform: scale(1);
    }

/* 첫 번째 섹션 커스텀 레이아웃 (1920x1080 배경 기준) */
.hero-section.custom-layout {
    position: relative;
    height: 100vh;
    background: url('/img/vip_bk1.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    animation: bk_gradientBG 10s infinite ease-in-out;
    filter: brightness(0.95) contrast(1.05);
}


.hero-section.custom-layout2 {
    position: relative;
    height: 100vh;
    background: url('/img/vip_bk2.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: bk_gradientBG 10s infinite ease-in-out;
    filter: brightness(0.95) contrast(1.1);
}
@keyframes bk_gradientBG {
    0% {
        filter: brightness(0.95) contrast(1.05);
    }

    15% {
        filter: brightness(1.05) contrast(1.125);
    }

    30% {
        filter: brightness(0.9) contrast(1.1);
    }

    45% {
        filter: brightness(1.1) contrast(1.15);
    }

    60% {
        filter: brightness(0.85) contrast(1.075);
    }

    75% {
        filter: brightness(1.08) contrast(1.1);
    }

    90% {
        filter: brightness(0.92) contrast(1.05);
    }

    100% {
        filter: brightness(0.95) contrast(1.05);
    }
}

.center-content {
    text-align: center;
    z-index: 5;
}

/* 이미지 카드 공통 스타일 및 배치 */
.image-card {
    position: absolute;
    width: 280px;
    background: var(--glass);
    padding: 20px;
    border-radius: 15px;
    border: 4px solid var(--primary);
    border-style: dashed;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(10px); /* 뒤쪽 배경 블러 처리 (핵심) */
    -webkit-backdrop-filter: blur(10px); /* 사파리 브라우저 호환 */
    /*border: 1px solid rgba(255, 255, 255, 0.2);*/ /* 얇은 테두리로 유리 질감 강조 */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

    .image-card img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .image-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 0 20px var(--primary);
        border: 1px solid var(--primary);
        
    }
 

/* 스케치 위치 반영 */
.card-tl {
    top: 10%;
    left: 20%;
}

.card-bl {
    bottom: 20%;
    left: 10%;
}

.card-tr {
    top: 10%;
    right: 20%;
}

.card-br {
    bottom: 20%;
    right: 10%;
}


/* 브라우저 폭이 980px 이하일 때 위치 변경 */
@media (max-width: 980px) {
    .card-tl {
        top: 6%;
        left: 5%;
        width: 240px;
    }

    .card-bl {
        bottom: 22%;
        left: 5%;
        width: 240px;
    }

    .card-tr {
        top: 6%;
        right: 5%;
        width: 240px;
    }

    .card-br {
        bottom: 22%;
        right: 5%;
        width: 240px;
    }
}

@media (min-width: 2000px) {
    .card-tl {
        width: 360px;
    }
    .card-bl {
        width: 360px;
    }
    .card-tr {
        width: 360px;
    }
    .card-br {
        width: 360px;
    }
}


/* 화면 전환 버튼 (화살표 이미지 대용) */
.transition-trigger {
    position: absolute;
    left:62%;
    bottom: 10%;
    cursor: pointer;
    text-align: center;
    animation: bounce 2s infinite;
    
    
}

    .transition-trigger span {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 2px;
        color: var(--secondary);
        text-shadow: 0 0 10px var(--secondary);
        background-color: var(--bg-color);
        border-radius: 10px;
        padding: 10px 15px;
    }

        .transition-trigger span:hover {
            color: var(--primary);
            text-shadow: 0 0 10px var(--primary);
        }

.arrow-icon {
    font-size: 50px;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
    transform: rotate(0deg); /* 스케치에 따라 방향 조절 */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 새로운 섹션(Page 2) 스타일 */
.new-content-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.glass-panel {
    background: var(--glass);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}




/* 이미지 스캔라인 효과 */
.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 3px;
    z-index: 3;
    pointer-events: none;
}

.image-card:hover img {
    filter: saturate(1.5);
}

.image-card:hover .scanline {
    background: none;    
}
