/* Reset & Cài đặt chung */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
}

.navbar a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.navbar a.active, .navbar a:hover {
    color: #fff;
}

.navbar a.active {
    background: #1a1a1a;
    padding: 4px 12px;
    border-radius: 6px;
}

/* Header */
.header h1 {
    font-size: 32px;
    margin-bottom: 5px;
}

.header p {
    color: #888;
    margin-bottom: 40px;
}

/* Photo Stack */
.photo-section {
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.photo-stack {
    display: flex;
    gap: 15px;
}

.card {
    width: 160px;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.p1 { transform: rotate(-8deg) translateY(10px); }
.p2 { transform: rotate(-2deg); }
.p3 { transform: rotate(5deg) translateY(-5px); }
.info-card {
    background: #111;
    border: 1px solid #222;
    padding: 20px;
    font-size: 11px;
    color: #666;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: rotate(10deg) translateY(15px);
}

.card:hover {
    transform: rotate(0) scale(1.1);
    z-index: 10;
}

/* Layout Grid */
.grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    margin-top: 80px;
}

.section-title {
    font-size: 18px;
    color: #888;
    font-weight: 500;
}

/* Timeline */
.timeline-container {
    border-left: 1px solid #222;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.dot {
    position: absolute;
    left: -38.5px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 4px solid #000;
}

.dot.blue { background: #3b82f6; }
.dot.yellow { background: #eab308; }

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date { color: #555; font-size: 13px; }
.role { font-style: italic; color: #888; font-size: 14px; }
ul { margin-top: 8px; color: #666; font-size: 14px; padding-left: 15px; }

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    background: #111;
}

.tag.blue { color: #3b82f6; border: 1px solid #1e3a8a; }
.tag.green { color: #22c55e; border: 1px solid #14532d; }


.glass-card {
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
iframe[src*="spotify"] {
    box-shadow: 0 0 0 transparent;
}

.glass-card:hover iframe[src*="spotify"] {
    box-shadow: 0 0 30px rgba(29,185,84,0.15);
}
