﻿/* 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;
}

/* 1. 기본 스타일 및 색상 팔레트 (이미지 분석) */
:root {
    --bg-color: #050a1b; /* 깊은 밤하늘 */
    --gold-tower: #ffd700; /* 황금 타워 */
    --neon-red: #ff3c4a; /* 네온 사인 */
    --neon-pink: #ff69b4; /* 네온 연꽃 */
    --neon-blue: #00ffff; /* 'MACAU' 로고 */
    --tradition-color: #a0522d; /* 전통 기와 */
    --text-color: #f0f0f0;
    --accent-glow: 0 0 10px rgba(255, 255, 255, 0.7);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; /* 고급스럽고 현대적인 글꼴 */
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 2. 네온 효과 믹스인 (CSS로 구현) */
.neon-text-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
}

.neon-text-gold {
    color: var(--gold-tower);
    text-shadow: 0 0 10px var(--gold-tower), 0 0 20px var(--gold-tower);
}

.neon-box {
    border: 2px solid var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red), inset 0 0 10px var(--neon-red);
}

/* 3. 헤더 (고급 로고와 메뉴) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background-color: rgba(5, 10, 27, 0.8);
    backdrop-filter: blur(5px);
    z-index: 100;
}

.header-logo {
    font-size: 1.9em;
    font-weight: 800;
    cursor: pointer;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}
.header-nav li {
    margin: auto;
    font-size: 1em;
}
.header-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1em;
    transition: color 0.3s ease;
}

    .header-nav a:hover {
        color: var(--gold-tower);
    }

.header-nav span {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1em;
    transition: color 0.3s ease;
}

    .header-nav span:hover {
        color: var(--gold-tower);
    }

/* 4. 메인 히어로 섹션 (이미지 기반) */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url('/img/bk2.jpg'); /* 이미지 경로 수정 필요 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 패럴랙스 효과 */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 10, 27, 0.3), rgba(5, 10, 27, 0.8));
}

.hero-content {
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4em;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* 5. 콘텐츠 섹션 1 (전통 테마) */
.section-tradition {
    padding: 100px 50px;
    background-color: #10162a;
    position: relative;
}

    .section-tradition::before { /* 물 반사 효과 추상화 */
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 10px;
        background: repeating-linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.1) 10px, rgba(0,0,0,0) 10px, rgba(0,0,0,0) 20px);
    }

.section-traditionB {
    padding: 0;
    background-color: #10162a;
    position: relative;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(90deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.3) 10px, rgba(0,0,0,0) 10px, rgba(0,0,0,0) 20px);
}



.tradition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tradition-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    /* 실제 이미지 대신 이미지의 핵심 요소를 CSS로 표현 */
    background: linear-gradient(135deg, var(--tradition-color) 30%, transparent), url('sdjfklsdjf.png') no-repeat center right / cover;
    filter: grayscale(80%);
    border: 1px solid #444;
}

/* 6. 콘텐츠 섹션 2 (현대 테마) */
.section-entertainment {
    padding: 100px 50px;
    background-color: var(--bg-color);
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.entertainment-card {
    background-color: #10162a;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .entertainment-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(255, 60, 74, 0.2);
    }

/* 7. 푸터 (네온 MACAU 로고) */
footer {
    padding: 80px 50px;
    background-color: #0b1123;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-logo {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 5px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

    .footer-links a {
        color: #777;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--neon-blue);
        }

/* 8. 애니메이션 (네온 깜빡임) */
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    }

    20%, 24%, 55% {
        text-shadow: none;
    }
}

.flicker {
    animation: neon-flicker 3s infinite alternate;
}






/* 갤러리 섹션 전체 스타일 */
.section-gallery {
    position: relative;
    padding: 120px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 새로 주신 카지노 내부 이미지 적용 */
    background-image: url('/img/bk3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 스크롤 시 패럴랙스 효과 */
    overflow: hidden;
}

.section-galleryB {
    position: relative;
    padding: 120px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 새로 주신 카지노 내부 이미지 적용 */
    background-image: url('/img/bk4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 스크롤 시 패럴랙스 효과 */
    overflow: hidden;
}

/* 가독성을 위한 배경 오버레이 */
.gallery-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to bottom, rgba(5, 10, 27, 0.9) 0%, rgba(5, 10, 27, 0.4) 50%, rgba(5, 10, 27, 0.9) 100% );
    z-index: 1;
}

.gallery-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

    .gallery-header p {
        color: var(--gold-tower);
        letter-spacing: 1px;
        opacity: 0.9;
    }

/* 갤러리 그리드 레이아웃 */
.gallery-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

/* 개별 카드 디자인: 유리 질감(Glassmorphism) */
.gallery-card {
    /*height: 300px;*/
    max-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    /*padding: 30px;*/
    padding: 20px;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background-size: cover;
}

    .gallery-card:hover {
        transform: translateY(-15px);
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--gold-tower);
        box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
        background-size: cover;
    }
        .gallery-card:hover img {
            filter: grayscale(0);
        }

.card-inner img {
    filter:grayscale(0.2);
}

.card-category {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 700;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.gallery-card h3 {
    margin: 10px 0;
    margin-bottom: 0px;
    /*font-size: 1.3em;*/
    font-size: 1.2em;
    color: #fff;
    text-align: center;
}

.gallery-card p {
    font-size: 0.9em;
    color: #ccc;
    line-height: 1.5;
}








/* 버튼 공통 스타일 */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    /*margin: 10px;*/
}

/* 1. 네온 블루 (로그인) */
.btn-neon-blue {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

    .btn-neon-blue:hover {
        background: var(--neon-blue);
        color: #000;
        box-shadow: 0 0 25px var(--neon-blue);
    }

/* 2. 네온 레드 (로그아웃) */
.btn-neon-red {
    background: var(--neon-red);
    color: white;
    box-shadow: 0 0 15px rgba(255, 60, 74, 0.5);
}

    .btn-neon-red:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px var(--neon-red);
        color: white;
    }

/* 3. 황금빛 쉬머 (확인) */
.btn-gold-shimmer {
    background: linear-gradient(45deg, #ffd700, #b8860b);
    color: #332100;
    border: 1px solid #fff;
}

    .btn-gold-shimmer:hover {
        filter: brightness(1.2);
    }

/* 4. 유리 질감 취소 버튼 */
.btn-glass-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .btn-glass-cancel:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }

/* 5. 펄스 골드 (강조) */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.btn-pulse-gold {
    background: #000;
    color: var(--gold-tower);
    border: 1px solid var(--gold-tower);
    animation: pulse-gold 2s infinite;
}
.btn-pulse-gold:hover {    
    color: var(--gold-tower);    
}

/* 6. 네온 아웃라인 */
.btn-neon-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

    .btn-neon-outline:hover {
        border-color: var(--neon-blue);
        color: var(--neon-blue);
    }

/* 7. 전통 레드 (Copilot_20260428_215305.jpg의 기와집 느낌) */
.btn-tradition-red {
    background: #8b0000;
    color: #ffd700;
    border-bottom: 3px solid #4a0000;
}
    .btn-tradition-red:hover {
        color: #ffd700;        
    }

/* 8. 핫핑크 네온 */
.btn-neon-pink {
    background: var(--neon-pink);
    color: white;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}








.macau-footer {
    background: transparent;

    background-color: #030712;
    padding: 60px 20px 20px;
    position: relative;
    color: #888;
}

.footer-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-tower), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h2 {
    margin: 0;
    letter-spacing: 5px;
}

.footer-brand p {
    font-size: 0.9em;
    margin-top: 10px;
    color: var(--gold-tower);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    color: #fff;
    font-size: 0.9em;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.link-group a {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.85em;
    transition: 0.3s;
}

    .link-group a:hover {
        color: var(--neon-blue);
    }

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8em;
}








.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* 필요할 때 flex로 변경 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/*.popup-content {*/
.modal-content {
    background: rgba(20, 25, 45, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold-tower);
    border-radius: 20px;
    /*width: 90%;
    max-width: 450px;
    padding: 40px;*/
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
    text-align: center;
}

.popup-header h2 {
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.popup-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    color: white;
    outline: none;
}

    .popup-input:focus {
        border-color: var(--neon-blue);
        box-shadow: 0 0 10px var(--neon-blue);
    }

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}








/* Hero 기반 위치 설정 */
.hero {
    position: relative;
    overflow: hidden;
}

/* 1. 인트로 컨테이너: 전체를 한 번에 사라지게 하기 위한 설정 */
.intro-sequence {
    position: absolute;
    top: 50%;
    left: 50%;
    /*transform: translate(-50%, -50%);*/
    transform: translate(-45%, -40%);
    width: 90%;
    height: 90%;
    pointer-events: none;
    z-index: 10;
    display: none;
    opacity: 1;
    transition: opacity 1s ease; /* 끝날 때 부드럽게 사라짐 */
}

    .intro-sequence.active {
        display: block;
    }

    .intro-sequence.fade-out {
        opacity: 0;
    }
/* 종료 직전 효과 */

/* 2. 각 슬라이드: 계단식 배치 및 유지 */
.intro-slide {
    position: absolute;
    width: 35%;
    height: 35%; /* Hero의 약 1/3 크기 */
    opacity: 0;
    /*overflow: hidden;
            border: 2px solid rgba(255,215,0,0.3);
            box-shadow: 0 10px 30px rgba(0,0,0,0.8);
            background: #000;*/
}

/* 위치 조정 (image_b5eb98.png 계단식 레이아웃) */
.slide-1 {
    top: 5%;
    left: 5%;
    z-index: 11;
}
/* 빨간색 위치 */
.slide-2 {
    top: 15%;
    left: 20%;
    z-index: 12;
}
/* 노란색 위치 */
.slide-3 {
    top: 25%;
    left: 35%;
    z-index: 13;
}
/* 초록색 위치 */
.slide-4 {
    top: 35%;
    left: 50%;
    z-index: 14;
}
/* 파란색 위치 */

/* 3. 애니메이션 업데이트: '사라짐' 단계 제거 */
@keyframes slideInStack {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    10%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    /* 끝까지 유지 */
}

@keyframes colorRestoreStack {
    0%, 70% {
        filter: grayscale(100%);
    }

    90%, 100% {
        filter: grayscale(0%);
    }
    /* 끝까지 컬러 유지 */
}
/* 파란색 구역 */

/* 배경 레이어 (그레이스케일) */
.bg-layer {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    /*clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);*/
    /*clip-path: polygon(100% 0%, 100% 90%, 0% 100%, 0% 10%);*/
    /*transform: rotate(-2deg);*/
    transform: skewX(-10deg);
    border: 2px solid rgba(255,215,0,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.content-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.obj-image {
    /*width: 40%;*/
    width: 90%;
    min-width: 220px;
    opacity: 0;
    /*transform: translateX(-20px);*/
    transform: translateX(-500px);
    margin-left: -15%;
}

    .obj-image img {
        width: 100%;
    }

.short-text {
    width: 50%;
    /*text-align: right;*/
    text-align: left;
    opacity: 0;
    transform: translateX(20px);
    color: #fff;
}

/* 4. 애니메이션 적용 (forwards 설정으로 상태 유지) */
.active .intro-slide {
    animation: slideInStack 4s forwards;
}

.active .obj-image {
    animation: objIn 4s forwards;
}

.active .short-text {
    animation: textIn 4s forwards;
}

.active .bg-layer {
    animation: colorRestoreStack 4s forwards;
}

/* 각 슬라이드 등장 지연 시간 */
.slide-2, .slide-2 * {
    animation-delay: 4s !important;
}

.slide-3, .slide-3 * {
    animation-delay: 8s !important;
}

.slide-4, .slide-4 * {
    animation-delay: 12s !important;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    10%, 90% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

@keyframes objIn {
    20% {
        opacity: 0;
    }

    40%, 100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes textIn {
    40% {
        opacity: 0;
    }

    60%, 100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes colorFull {
    70% {
        filter: grayscale(100%);
    }

    90%, 100% {
        filter: grayscale(0%);
    }
}








.float-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.8;
    animation: floatAround 10s linear infinite;
}

.float-itemB {
    position: absolute;
    font-size: 2rem;
    opacity: 0.8;
    animation: floatAround 10s linear infinite;
}
@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(5px, -5px) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}
