

/* 전체 */

body {

    margin: 0;

    background:
        linear-gradient(
            180deg,
            #dff4ff,
            #f6fbff
        );

    font-family: sans-serif;

    color: #1b2a41;

    padding-top: 80px;
}

/* 상단 navbar */
/* 네브바 */

.custom-navbar {

    background:
        rgba(10,20,40,0.7);

    backdrop-filter: blur(12px);

    border-bottom:
        1px solid rgba(255,255,255,0.08);

    transition: 0.3s;
}

/* 메인 */

.main-screen {

    width: 100%;
    min-height: calc(100vh - 56px);

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #d7f0ff,
            #eef8ff
        );
}

/* 별 */

.stars {

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(white 1px, transparent 1px);

    background-size: 50px 50px;

    opacity: 0.05;

    animation: moveStars 100s linear infinite;
}

@keyframes moveStars {

    from {

        transform: translateY(0);
    }

    to {

        transform: translateY(-1000px);
    }
}

/* 중앙 */

.content {

    position: relative;
    z-index: 10;

    text-align: center;

    padding-top: 40px;
}

/* 로고 */

.logo {

    font-size: 5rem;
    font-weight: 900;

    color: #0d6efd;

    letter-spacing: 6px;

    margin-bottom: 10px;

    text-shadow:
        0 0 20px rgba(13,110,253,0.15);
}

/* 부제목 */

.subtitle {

    color: #4d6b8a;

    font-size: 1.3rem;

    letter-spacing: 4px;

    margin-bottom: 10px;
}

/* 안내 */

.guide-text {

    color: #5c7a99;

    margin-bottom: 20px;
}

/* 지원 국가 */

.supported {

    color: rgba(255,255,255,0.9);

    font-size: 1rem;

    margin-bottom: 30px;
}

/* 지구 */

.globe-wrapper {

    position: relative;

    width: 650px;
    height: 650px;

    margin: auto;

    border-radius: 50%;

    overflow: hidden;

    isolation: isolate;

    border:
        4px solid rgba(255,255,255,0.7);

    background:
        radial-gradient(
            circle,
            #f8fcff,
            #b8e1ff
        );

    box-shadow:
        0 10px 40px rgba(13,110,253,0.15);

    animation:
        floatGlobe 6s ease-in-out infinite;
}

@keyframes floatGlobe {

    0% {

        transform: translateY(0px);
    }

    50% {

        transform: translateY(-10px);
    }

    100% {

        transform: translateY(0px);
    }
}

/* 지도 */

#world-map {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}

/* 지도 배경 제거 */

.jvm-container {

    background: transparent !important;
}

/* hover 국가명 */

#country-name {

    margin-top: 20px;

    color: white;

    font-size: 1.5rem;

    font-weight: bold;

    height: 40px;
}

/* 모바일 */

@media (max-width: 768px) {

    .logo {

        font-size: 4rem;
    }

    .globe-wrapper {

        width: 90vw;
        height: 90vw;
    }
}

/* 국기 마커 */

.flag-marker {

    position: absolute;

    z-index: 50;

    font-size: 2rem;

    text-decoration: none;

    transition: 0.3s;

    transform: translate(-50%, -50%);

    filter:
        drop-shadow(0 0 10px rgba(255,255,255,0.5));

    animation:
        floatFlag 3s ease-in-out infinite;
}

/* hover */

.flag-marker:hover {

    transform:
        translate(-50%, -50%)
        scale(1.3);

    filter:
        drop-shadow(0 0 20px rgba(0,212,255,0.9));
}

.flag-marker::after {

    content: attr(title);

    position: absolute;

    left: 50%;
    top: -35px;

    transform: translateX(-50%);

    background: rgba(0,0,0,0.8);

    color: white;

    padding: 4px 10px;

    border-radius: 20px;

    font-size: 0.8rem;

    opacity: 0;

    transition: 0.3s;

    white-space: nowrap;
}

.flag-marker:hover::after {

    opacity: 1;
}

/* 둥둥 */

@keyframes floatFlag {

    0% {

        transform: translateY(0px);
    }

    50% {

        transform: translateY(-6px);
    }

    100% {

        transform: translateY(0px);
    }
}

/* 준비중 */

.disabled {

    opacity: 0.4;

    cursor: not-allowed;
}

/* 위치 */

.korea {

    top: 39%;
    left: 76%;
}

.japan {

    top: 41%;
    left: 82%;
}

.usa {

    top: 36%;
    left: 21%;
}

.france {

    top: 31%;
    left: 48%;
}

.uk {

    top: 25%;
    left: 45%;
}

.thailand {

    top: 53%;
    left: 72%;
}

.canada {

    top: 20%;
    left: 20%;
}

.australia {

    top: 73%;
    left: 83%;
}

/* 국가 hero */

.country-hero {

    height: 320px;

    border-radius: 25px;

    overflow: hidden;

    margin-bottom: 40px;

    background-size: cover;
    background-position: center;

    position: relative;
}

.country-hero .overlay {

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            rgba(0,0,0,0.3),
            rgba(255,255,255,0.15)
        );

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    color: white;

    text-align: center;
}

.country-hero h1 {

    font-size: 4rem;

    font-weight: 900;

    margin-bottom: 10px;

    text-shadow:
        0 0 20px rgba(0,0,0,0.5);
}

.country-hero p {

    font-size: 1.2rem;

    opacity: 0.9;
}

/* 리뷰 카드 */

.review-card {

    background:
        rgba(255,255,255,0.85);

    color: #1b2a41;

    backdrop-filter: blur(10px);

    border-radius: 20px;

    overflow: hidden;

    transition: 0.3s;

    border:
        1px solid rgba(255,255,255,0.08);
}

.review-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.3);
}

/* 리뷰 이미지 */

.review-image {

    width: 100%;

    height: 220px;

    object-fit: cover;
}

/* 섹션 영역 */
/* 섹션 제목 */

.section-title {

    font-size: 2rem;

    font-weight: 800;

    margin-bottom: 30px;

    color: #0d6efd;
}

/* 여행 카드 */

.travel-card {

    background:
        rgba(255,255,255,0.85);

    border-radius: 25px;

    overflow: hidden;

    transition: 0.3s;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);

    height: 100%;
}

.travel-card:hover {

    transform:
        translateY(-10px);

    box-shadow:
        0 20px 40px rgba(13,110,253,0.15);
}

/* 이미지 */

.travel-image {

    width: 100%;

    height: 240px;

    object-fit: cover;
}

/* 카드 내용 */

.travel-body {

    padding: 20px;
}

.travel-body h5 {

    font-weight: 700;

    margin-bottom: 10px;
}

/* 메타 */

.meta {

    color: #6c757d;

    font-size: 0.95rem;
}

/* 상세페이지 detail.php */
/* 리뷰 슬라이더 */

.review-slide-image {

    width: 100%;

    height: 550px;

    object-fit: cover;

    border-radius: 20px;
}

/* 모바일 */

@media (max-width: 768px) {

    .review-slide-image {

        height: 300px;
    }
}
/* 상세 레이아웃 */

.detail-layout {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 40px;

    padding: 40px;
}

/* 왼쪽 */

.gallery-section {

    position: sticky;

    top: 90px;

    height: fit-content;
}

/* 메인 이미지 */

.main-image {

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    border-radius: 25px;

    background: #eee;

    display: block;

    overflow: hidden;

    transition: 0.4s;
}

.main-image:hover {

    transform: scale(1.01);
}

.thumbnail-wrap {

    position: relative;

    display: inline-block;
}

.thumbnail-badge {

    position: absolute;

    top: 5px;
    left: 5px;

    background: gold;
    color: #111;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: bold;

    z-index: 5;
}

/* 썸네일 */

.thumbnail-list {

    display: flex;

    gap: 10px;

    margin-top: 15px;

    overflow-x: auto;
}

.thumbnail-image {

    width: 110px;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: 15px;

    cursor: pointer;

    transition: 0.3s;

    flex-shrink: 0;
}

.thumbnail-image:hover {

    transform: scale(1.05);

    opacity: 0.8;
}

/* detail media */

.media-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}

.detail-media {

    width: 100%;

    border-radius: 20px;

    object-fit: cover;

    background: black;

    max-height: 500px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);
}

/* 오른쪽 */

.info-section {

    background: white;

    padding: 35px;

    border-radius: 30px;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.08);
}

/* 제목 */

.detail-title {

    font-size: 2.5rem;

    font-weight: 800;

    margin-bottom: 20px;
}

/* 메타 */

.detail-meta {

    color: #6c757d;

    margin-bottom: 10px;
}

.detail-location,
.detail-date {

    margin-bottom: 10px;

    font-size: 1.05rem;
}

/* 본문 */

.detail-content {

    margin-top: 30px;

    line-height: 1.9;

    font-size: 1.05rem;
}

/* 댓글 */

.comment-box {

    padding: 20px;

    border-radius: 20px;

    background: #f8f9fa;

    margin-bottom: 20px;
}

.comment-top {

    display: flex;

    justify-content: space-between;

    margin-bottom: 10px;
}

/* 모바일 */

@media (max-width: 992px) {

    .detail-layout {

        grid-template-columns: 1fr;
    }

    .gallery-section {

        position: static;
    }

    .main-image {

        height: 400px;
    }
}

/* list.php 카드 */
.review-card h5 {

    font-weight: 700;

    margin-bottom: 12px;
}

.review-card p {

    color: #5c6b7a;

    margin-bottom: 8px;
}

.review-card .btn {

    border-radius: 12px;

    padding: 8px 18px;

    font-weight: 600;
}

/* 메인 작성 버튼 */

.write-btn {

    display: inline-block;

    padding: 14px 28px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #5ab2ff
        );

    color: white;

    text-decoration: none;

    font-weight: 700;

    margin-bottom: 35px;

    transition: 0.3s;

    box-shadow:
        0 10px 25px rgba(13,110,253,0.25);
}

.write-btn:hover {

    transform:
        translateY(-3px);

    color: white;

    box-shadow:
        0 15px 35px rgba(13,110,253,0.35);
}

/* header.php */
/* 메뉴 */

.menu-wrapper {

    position: relative;
}

/* 버튼 */

.menu-toggle {

    border: none;

    background: rgba(255,255,255,0.15);

    color: white;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    font-size: 1.3rem;

    cursor: pointer;

    transition: 0.3s;
}

.menu-toggle:hover {

    background: rgba(255,255,255,0.25);

    transform: scale(1.05);
}

/* 드롭다운 */

.menu-dropdown {

    position: absolute;

    right: 0;
    top: 60px;

    width: 220px;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(20px);

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);

    display: none;

    flex-direction: column;

    z-index: 9999;
}

/* 활성화 */

.menu-dropdown.show {

    display: flex;

    animation: fadeMenu 0.25s ease;
}

@keyframes fadeMenu {

    from {

        opacity: 0;
        transform: translateY(-10px);
    }

    to {

        opacity: 1;
        transform: translateY(0);
    }
}

/* 링크 */

.menu-dropdown a {

    padding: 15px 20px;

    text-decoration: none;

    color: #1b2a41;

    font-weight: 600;

    transition: 0.2s;
}

.menu-dropdown a:hover {

    background: #f2f8ff;
}
/* 네브바 유저명 */

.nav-username {

    color: white;

    font-weight: 600;

    font-size: 0.95rem;

    white-space: nowrap;

    text-shadow:
        0 0 10px rgba(255,255,255,0.15);
}

/* list.php 인기페이지 */
/* 인기 슬라이더 */

.popular-slide {

    position: relative;

    height: 420px;

    border-radius: 30px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.12);
}

.popular-slide-image {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.popular-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.7),
            rgba(0,0,0,0.15)
        );

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 40px;

    color: white;
}

.popular-overlay h2 {

    font-size: 2.4rem;

    font-weight: 800;

    margin-bottom: 10px;
}

.popular-overlay p {

    font-size: 1.1rem;

    opacity: 0.9;
}

/* 인기 리뷰 슬라이더 */

.popularSwiper {

    padding-bottom: 10px;
}

.popular-card {

    position: relative;

    height: 320px;

    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.1);

    transition: 0.3s;
}

.popular-card:hover {

    transform:
        translateY(-8px);
}

.popular-card-image {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.popular-card-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.75),
            rgba(0,0,0,0.15)
        );

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 25px;

    color: white;
}

.popular-card-overlay h3 {

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 10px;
}

.popular-card-overlay p {

    margin: 0;

    opacity: 0.9;
}

/* 검색 영역 */

.search-section {

    display: flex;

    justify-content: center;
}

.search-box {

    width: 100%;

    max-width: 900px;

    background:
        rgba(255,255,255,0.75);

    backdrop-filter: blur(16px);

    border-radius: 30px;

    padding: 35px;

    box-shadow:
        0 15px 40px rgba(13,110,253,0.08);

    border:
        1px solid rgba(13,110,253,0.12);
}

.search-input::placeholder {

    color: #8aa0b8;
}

.search-box form {

    width: 100%;
}

.search-input-wrap {

    display: flex;

    align-items: center;
    
    width: 100%;
}

/* 제목 */

.search-title {

    font-size: 1.5rem;

    font-weight: 800;

    margin-bottom: 20px;

    color: #0d6efd;
}

/* input 묶음 */

.search-input-wrap {

    display: flex;

    gap: 15px;
}

/* input */

.search-input {

    flex: 1;

    border: none;

    outline: none;

    border-radius: 18px;

    padding: 18px 22px;

    font-size: 1rem;

    background: white;

    height: 58px;

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,0.05);
}

/* 버튼 */

.search-btn {

    border: none;

    background: #0d6efd;

    color: white;

    padding: 0 30px;

    border-radius: 18px;

    font-weight: 700;

    transition: 0.3s;

    height: 58px;
}

.search-btn:hover {

    background: #0b5ed7;

    transform: translateY(-2px);
}

/* 모바일 */

@media (max-width: 768px) {

    .search-input-wrap {

        flex-direction: column;
    }

    .search-btn {

        height: 55px;
    }
}

/* users/profile.php css */
/* 프로필 */

.profile-header {

    display: flex;

    gap: 40px;

    align-items: center;

    background: white;

    padding: 40px;

    border-radius: 30px;

    margin-bottom: 50px;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.06);
}

/* 프로필 이미지 */

.profile-avatar {

    width: 140px;

    height: 140px;

    border-radius: 50%;

    object-fit: cover;

    border:
        5px solid #eef6ff;
}

/* 오른쪽 */

.profile-right h1 {

    font-size: 2.3rem;

    font-weight: 800;

    margin-bottom: 15px;
}

/* 소개 */

.profile-bio {

    color: #6c757d;

    line-height: 1.7;

    margin-bottom: 20px;
}

/* 통계 */

.profile-stats {

    display: flex;

    gap: 20px;
}

.stat-box {

    background: #f4f9ff;

    padding: 20px 30px;

    border-radius: 20px;

    text-align: center;
}

.stat-box strong {

    display: block;

    font-size: 1.5rem;

    color: #0d6efd;
}

.stat-box span {

    color: #6c757d;
}

/* 모바일 */

@media (max-width: 768px) {

    .profile-header {

        flex-direction: column;

        text-align: center;
    }
}

css
/* 프로필 수정 */

.profile-edit-card {

    max-width: 700px;

    margin: auto;

    background: white;

    padding: 40px;

    border-radius: 30px;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.06);
}

.profile-edit-btn {

    border-radius: 15px;

    padding: 10px 20px;

    margin-bottom: 25px;
}

/* media preview */

.media-preview {

    position: relative;

    overflow: hidden;
}

/* 비디오 배지 */

.video-badge {

    position: absolute;

    top: 15px;
    right: 15px;

    background: rgba(0,0,0,0.7);

    color: white;

    padding: 6px 12px;

    border-radius: 30px;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 1px;

    backdrop-filter: blur(10px);
}

.review-edit-media {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}