/*
Theme Name: SouthKorea
Author: GranpAI
Description: High-performance theme featuring Bento Grid, Cyber Neon & Dark Aesthetics.
Version: 1.1
*/

:root {
    --bg: #080a0e;
    --bg2: #0d1017;
    --bg3: #111520;
    --surface: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --border2: rgba(255,255,255,0.14);
    --text: #e8eaf0;
    --text2: #8a8fa8;
    --text3: #555a70;
    --neon: #00c8ff; /* Thay thế K-Blue cũ bằng Neon Blue rực rỡ hơn */
    --neon-pink: #ff5fa0;
    --gold: #c8a96e;
    --gold2: #f0d080;
    --card-bg: #111520;
}

@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- NAVIGATION (Cập nhật Glassmorphism) --- */
nav {
    position: fixed; top: 0; width: 100%; padding: 25px 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(8,10,14,0.8), transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 2px; }
.nav-logo span { color: var(--neon); margin-left: 5px; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
    color: var(--text2); text-decoration: none; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--neon); }

/* --- HERO SECTION (Cập nhật Hiệu ứng Neon & Scanlines) --- */
.hero {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    position: relative; text-align: center; overflow: hidden;
}

.scanlines {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
}

.hero-eyebrow {
    font-family: 'Noto Serif KR', serif; color: var(--gold);
    letter-spacing: 8px; text-transform: uppercase; margin-bottom: 20px;
    z-index: 2;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.9; z-index: 2;
}

.hero-title .accent {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}

.hero-title .neon-text {
    color: var(--neon);
    -webkit-text-stroke: 0;
    text-shadow: 0 0 30px rgba(0,200,255,0.5);
}

/* --- BENTO GRID SYSTEM (Cập nhật Snake Glow) --- */
section { padding: 100px 8%; position: relative; }

.section-label { color: var(--neon); font-family: 'Bebas Neue', sans-serif; letter-spacing: 3px; margin-bottom: 10px; }
.section-title { font-size: 3rem; font-family: 'Noto Serif KR', serif; margin-bottom: 50px; }

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.bento-card {
    background: var(--card-bg);
    border-radius: 4px; /* Chuyển sang bo góc nhẹ kiểu Luxury */
    position: relative; overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1), border-color 0.3s;
}

/* Snake Glow Border cho Card nổi bật */
.bento-card.featured::before {
    content: ''; position: absolute; inset: 0; z-index: 10;
    background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
                conic-gradient(from var(--angle, 0deg), transparent 0%, var(--neon) 20%, transparent 40%) border-box;
    border: 1px solid transparent; animation: rotateBorder 3s linear infinite;
    pointer-events: none;
}

@keyframes rotateBorder { to { --angle: 360deg; } }

.bento-card:hover { transform: translateY(-8px); border-color: var(--border2); }

.card-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1); }
.bento-card:hover .card-img { opacity: 0.6; transform: scale(1.05); }

/* --- AFFILIATE / HOTEL CARDS --- */
.hotel-card {
    background: var(--bg2); padding: 24px; border: 1px solid var(--border);
    position: relative; transition: 0.3s;
}

.hotel-price { color: var(--gold2); font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; }

.btn-affiliate {
    display: block; width: 100%; padding: 15px; background: var(--neon);
    color: var(--bg); text-align: center; text-decoration: none;
    font-weight: 700; text-transform: uppercase; font-size: 0.8rem;
    transition: 0.3s; margin-top: 20px;
}

.btn-affiliate:hover { background: #fff; box-shadow: 0 0 25px rgba(0,200,255,0.4); }

/* --- CUSTOM CURSOR --- */
.cursor {
    width: 8px; height: 8px; background: var(--neon); border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9999;
    mix-blend-mode: screen; transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 40px; height: 40px; border: 1px solid rgba(0,200,255,0.4);
    border-radius: 50%; position: fixed; pointer-events: none;
    z-index: 9998; transform: translate(-50%, -50%);
}

/* --- FOOTER --- */
footer { padding: 80px 8% 40px; border-top: 1px solid var(--border); background: var(--bg); }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: var(--text); }
.footer-logo span { color: var(--neon); }

/* Twinkle Stars */
#stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }