﻿/* Web_KhamPha.css – TRANG KHÁM PHÁ ĐẸP NHẤT THẾ GIỚI 2025 */
.khampha-hero {
    padding: 140px 20px 100px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f8fafc 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

    .khampha-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/background/stars-night.png') center/cover no-repeat;
        opacity: 0.3;
        z-index: 0;
    }

.khampha-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.khampha-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(120deg, #F28C38, #40C4FF, #F28C38, #00ff88);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 8s ease infinite;
}

.subtitle {
    font-size: 2.8rem;
    color: #fbbf24;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
}

.khampha-desc {
    font-size: 1.6rem;
    color: #e2e8f0;
    margin: 30px auto;
    max-width: 700px;
    font-weight: 300;
    opacity: 0.9;
}

/* TÒA NHÀ CHÍNH */
.khampha-scene {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 5vh;
    perspective: 1200px;
}

.building-container {
    position: relative;
    z-index: 5;
}

.main-building {
    width: 420px;
    height: auto;
    filter: drop-shadow(0 30px 80px rgba(0,0,0,0.8));
    animation: buildingGlow 6s infinite alternate;
    border-radius: 20px;
}

@keyframes buildingGlow {
    0% {
        filter: drop-shadow(0 30px 80px rgba(242,140,56,0.4));
    }

    100% {
        filter: drop-shadow(0 40px 100px rgba(242,140,56,0.7));
    }
}

/* BONG BÓNG NỔI – SIÊU ĐẸP */
.bubble {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatBubble 8s infinite ease-in-out;
    z-index: 10;
}

    .bubble:hover {
        transform: translateY(-30px) scale(1.2) !important;
        background: rgba(242, 140, 56, 0.25);
        border-color: #F28C38;
        box-shadow: 0 30px 80px rgba(242, 140, 56, 0.7);
        z-index: 100;
    }

    .bubble i {
        font-size: 2.8rem;
        margin-bottom: 8px;
        color: #F28C38;
        filter: drop-shadow(0 0 20px currentColor);
    }

.bubble-inner {
    pointer-events: none;
}

/* VỊ TRÍ BONG BÓNG – ĐẸP NHƯ TRANH 3D */
.bubble-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 20%;
    right: 12%;
    animation-delay: 0.5s;
}

.bubble-3 {
    top: 45%;
    left: 8%;
    animation-delay: 1s;
}

.bubble-4 {
    top: 50%;
    right: 8%;
    animation-delay: 1.5s;
}

.bubble-5 {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.bubble-6 {
    bottom: 25%;
    right: 18%;
    animation-delay: 2.5s;
}

.bubble-7 {
    top: 70%;
    left: 20%;
    animation-delay: 3s;
}

.bubble-8 {
    top: 65%;
    right: 22%;
    animation-delay: 3.5s;
}

/* Hiệu ứng bay nhẹ */
@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-10px) translateX(-15px);
    }

    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .khampha-title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 2.2rem;
    }
}

.main-building {
    width: 340px;
}

.bubble {
    width: 110px;
    height: 110px;
    font-size: 0.9rem;
}

    .bubble i {
        font-size: 2.2rem;
    }

}

@media (max-width: 576px) {
    .khampha-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    .main-building {
        width: 280px;
    }

    .bubble {
        width: 90px;
        height: 90px;
        font-size: 0.8rem;
    }

        .bubble i {
            font-size: 1.8rem;
        }
}



/* TÒA NHÀ CHÍNH – SIÊU KHỦNG, HOÀNH TRÁNG NHƯ PHIM 2025 */
.khampha-scene {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center; /* Căn giữa dọc */
    padding: 0;
    perspective: 1500px;
    overflow: hidden;
}

.building-container {
    position: relative;
    z-index: 5;
    animation: buildingFloat 12s infinite ease-in-out;
}

.main-building {
    width: 900px !important; /* TO KHỦNG – 900px */
    max-width: 90vw !important; /* Không vượt màn hình */
    height: auto;
    filter: drop-shadow(0 40px 120px rgba(0,0,0,0.9));
    border-radius: 30px;
    transition: all 0.6s ease;
}

/* Hiệu ứng tòa nhà nhẹ nhàng bay */
@keyframes buildingFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0);
    }

    50% {
        transform: translateY(-20px) rotateX(2deg);
    }
}

/* BONG BÓNG – ĐƯỢC ĐIỀU CHỈNH VỊ TRÍ ĐỂ BAO QUANH TÒA NHÀ TO */
.bubble {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 3px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatBubble 10s infinite ease-in-out;
    z-index: 10;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

    .bubble:hover {
        transform: translateY(-40px) scale(1.3) !important;
        background: rgba(242, 140, 56, 0.3);
        border-color: #F28C38;
        box-shadow: 0 40px 100px rgba(242, 140, 56, 0.8);
        z-index: 200;
    }

    .bubble i {
        font-size: 3.5rem;
        margin-bottom: 12px;
        color: #F28C38;
        filter: drop-shadow(0 0 25px currentColor);
    }

/* VỊ TRÍ BONG BÓNG MỚI – BAO QUANH TÒA NHÀ TO */
.bubble-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.bubble-2 {
    top: 8%;
    right: 6%;
    animation-delay: 0.8s;
}

.bubble-3 {
    top: 25%;
    left: 2%;
    animation-delay: 1.6s;
}

.bubble-4 {
    top: 28%;
    right: 3%;
    animation-delay: 2.4s;
}

.bubble-5 {
    bottom: 18%;
    left: 6%;
    animation-delay: 3.2s;
}

.bubble-6 {
    bottom: 15%;
    right: 8%;
    animation-delay: 4s;
}

.bubble-7 {
    top: 55%;
    left: 1%;
    animation-delay: 4.8s;
}

.bubble-8 {
    top: 58%;
    right: 2%;
    animation-delay: 5.6s;
}

/* Hiệu ứng bay rộng hơn */
@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
    }

    50% {
        transform: translateY(-15px) translateX(-25px) rotate(-3deg);
    }

    75% {
        transform: translateY(-35px) translateX(15px) rotate(8deg);
    }
}

/* ĐÈ LÊN RESPONSIVE CŨ – ƯU TIÊN MÀN HÌNH LỚN */
@media (min-width: 1400px) {
    .main-building {
        width: 1100px !important;
    }

    .bubble {
        width: 180px;
        height: 180px;
    }

        .bubble i {
            font-size: 4rem;
        }
}

@media (max-width: 1200px) {
    .main-building {
        width: 750px !important;
    }

    .bubble {
        width: 140px;
        height: 140px;
    }

        .bubble i {
            font-size: 3rem;
        }
}

@media (max-width: 992px) {
    .main-building {
        width: 600px !important;
    }

    .bubble {
        width: 120px;
        height: 120px;
    }

        .bubble i {
            font-size: 2.6rem;
        }

    .khampha-title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .khampha-scene {
        height: 90vh;
        min-height: 700px;
        align-items: flex-end;
        padding-bottom: 10vh;
    }

    .main-building {
        width: 500px !important;
    }

    .bubble {
        width: 100px;
        height: 100px;
        font-size: 0.9rem;
    }

        .bubble i {
            font-size: 2.2rem;
        }
}

@media (max-width: 576px) {
    .main-building {
        width: 90vw !important;
        max-width: 420px;
    }

    .bubble {
        width: 85px;
        height: 85px;
    }

        .bubble i {
            font-size: 1.9rem;
        }

    .khampha-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }
}
/* BONG BÓNG CAO CẤP – ĐẲNG CẤP HOÀNG GIA 2025 – KHÔNG CHÓI, CHỈ CÓ SỰ TINH TẾ */
.bubble {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 10px 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(242, 140, 56, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    animation: floatBubble 10s infinite ease-in-out;
}

    /* Hiệu ứng viền kim cương phát sáng nhẹ */
    .bubble::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #F28C38, #40C4FF, #F28C38, #00ff88, #F28C38);
        border-radius: 50%;
        z-index: -1;
        opacity: 0;
        filter: blur(15px);
        transition: opacity 0.8s ease;
    }

    .bubble:hover::before {
        opacity: 0.4;
    }

    /* Icon cao cấp – gradient + phát sáng nhẹ */
    .bubble i {
        font-size: 3.6rem;
        margin-bottom: 12px;
        background: linear-gradient(135deg, #F28C38, #fbbf24, #40C4FF);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        filter: drop-shadow(0 0 20px rgba(242, 140, 56, 0.6));
        transition: all 0.8s ease;
    }

    /* Chữ sang trọng – vàng ánh kim */
    .bubble span {
        background: linear-gradient(to bottom, #ffffff, #e2e8f0);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-size: 0.95rem;
    }

    /* Hover – đẳng cấp hoàng gia */
    .bubble:hover {
        transform: translateY(-50px) scale(1.35) !important;
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(242, 140, 56, 0.4), inset 0 15px 30px rgba(255, 255, 255, 0.15);
        z-index: 300;
    }

        /* Hiệu ứng ánh sáng lấp lánh nhẹ khi hover */
        .bubble:hover i {
            filter: drop-shadow(0 0 35px rgba(242, 140, 56, 0.9));
            transform: scale(1.1);
        }

        .bubble:hover span {
            background: linear-gradient(to bottom, #F28C38, #fbbf24);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

/* Giữ nguyên hiệu ứng nội dung không bị click */
.bubble-inner {
    pointer-events: none;
    z-index: 2;
}

/* Hiệu ứng nhẹ khi load trang – từng bong bóng hiện dần */
@keyframes bubbleAppear {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bubble {
    opacity: 0;
    animation: bubbleAppear 1.2s ease-out forwards, floatBubble 10s infinite ease-in-out;
}

.bubble-1 {
    animation-delay: 0.3s;
}

.bubble-2 {
    animation-delay: 0.6s;
}

.bubble-3 {
    animation-delay: 0.9s;
}

.bubble-4 {
    animation-delay: 1.2s;
}

.bubble-5 {
    animation-delay: 1.5s;
}

.bubble-6 {
    animation-delay: 1.8s;
}

.bubble-7 {
    animation-delay: 2.1s;
}

.bubble-8 {
    animation-delay: 2.4s;
}