/* =========================================
   HỆ THỐNG BIẾN MÀU (CYBERPUNK THEME)
========================================= */
:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-pink: #ff00cc;
    --neon-orange: #ff9d00;
    --bg-dark: #05050a;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* =========================================
   1. NỀN ĐỘNG CYBERPUNK
========================================= */
.cyber-decor { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    pointer-events: none; z-index: -1; overflow: hidden; 
    background: radial-gradient(circle at 50% 50%, rgba(15,15,20,1) 0%, rgba(5,5,10,1) 100%);
}
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%); animation: floatY 15s infinite alternate ease-in-out; }
.orb-2 { bottom: -10%; right: -10%; width: 45vw; height: 45vw; background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%); animation: floatX 18s infinite alternate ease-in-out; }
.tech-symbol { position: absolute; color: #fff; font-weight: bold; opacity: 0.08; }
.sym-1 { top: 15%; left: 5%; animation: floatY 12s infinite alternate linear; }
.sym-2 { bottom: 20%; left: 10%; animation: floatX 15s infinite alternate linear; }
.sym-3 { top: 30%; right: 10%; animation: floatY 14s infinite alternate-reverse linear; }
.sym-4 { bottom: 15%; right: 15%; animation: floatX 20s infinite alternate-reverse linear; }
@keyframes floatY { 0% { transform: translateY(0); } 100% { transform: translateY(-100px); } }
@keyframes floatX { 0% { transform: translateX(0); } 100% { transform: translateX(100px); } }

/* =========================================
   2. THANH ĐIỀU HƯỚNG (NAV MENU)
========================================= */
nav {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(15px);
    padding: 10px 25px; border-radius: 50px; border: 1px solid rgba(0, 243, 255, 0.3);
    display: flex; gap: 15px; z-index: 1000;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 243, 255, 0.1);
}
nav a { color: var(--text-main); text-decoration: none; font-weight: 600; padding: 10px 20px; border-radius: 30px; transition: 0.3s; letter-spacing: 1px; }
nav a:hover, nav a.active { background: var(--neon-blue); color: #000; box-shadow: 0 0 20px var(--neon-blue); }

/* =========================================
   3. KHUNG BÀI VIẾT (GLASS CONTAINER)
========================================= */
.glass-container {
    background: rgba(15, 15, 20, 0.65); backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-top: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 20px; padding: 40px; margin: 120px auto 40px;
    width: 90%; max-width: 1100px; box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative; z-index: 10;
}
.highlight { color: var(--neon-blue); text-shadow: 0 0 10px rgba(0, 243, 255, 0.4); }
h1.glitch { font-size: 3.5rem; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 10px; text-shadow: 3px 3px var(--neon-blue), -3px -3px var(--neon-purple); }

/* =========================================
   4. KHO LƯU TRỮ DỰ ÁN (BẢN GỐC HOÀN HẢO)
========================================= */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.project-card {
    background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; overflow: hidden; transition: 0.4s ease;
    display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-10px); border-color: var(--neon-blue); box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2); }
.card-image { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: 0.4s; filter: grayscale(50%) contrast(120%); }
.project-card:hover .card-image { filter: grayscale(0%) contrast(100%); }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { color: var(--neon-blue); font-size: 1.4rem; margin-bottom: 15px; }
.card-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.btn-view { display: inline-block; padding: 10px 20px; background: transparent; color: var(--neon-blue); border: 1px solid var(--neon-blue); border-radius: 5px; text-decoration: none; font-weight: bold; text-align: center; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;}
.btn-view:hover { background: var(--neon-blue); color: #000; box-shadow: 0 0 15px var(--neon-blue); }

/* =========================================
   5. NÚT QUAY LẠI TRONG BÀI VIẾT (BẢN GỐC)
========================================= */
.btn-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn-back:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue);
}

/* =========================================
   6. CHÂN TRANG (FOOTER)
========================================= */
footer { background: rgba(0, 0, 0, 0.9); border-top: 1px solid rgba(0, 243, 255, 0.2); padding: 40px 20px; text-align: center; margin-top: 50px; position: relative; z-index: 10; }
.footer-title { color: var(--neon-blue); margin-bottom: 20px; font-size: 1.5rem; letter-spacing: 2px; text-transform: uppercase; }
.contact-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; max-width: 800px; margin: 0 auto; }
.contact-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 1.05rem; }
.contact-icon { width: 24px; height: 24px; color: var(--neon-purple); }