* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFE4D6 100%);
    color: #4B5563;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 247, 237, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: slideDown 0.8s ease-out;
    box-shadow: 0 2px 20px rgba(161, 98, 7, 0.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 8px rgba(161, 98, 7, 0.15);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(161, 98, 7, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.8);
    
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4B5563;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #A16207;
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: #A16207;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Album Header */
.album-header {
    padding: 3rem 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #A16207;
    color: #FFF7ED;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-button:hover {
    background: #2563EB;
    transform: translateX(-5px);
}

.album-title {
    font-size: 3rem;
    color: #A16207;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.album-subtitle {
    font-size: 1.2rem;
    color: #4B5563;
    opacity: 0.8;
}

/* Media Section */
.media-section {
    padding: 2rem 3rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Media Items */
.media-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    animation: mediaFadeIn 0.6s ease-out forwards;
}

@keyframes mediaFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-item:nth-child(1) { animation-delay: 0.1s; }
.media-item:nth-child(2) { animation-delay: 0.15s; }
.media-item:nth-child(3) { animation-delay: 0.2s; }
.media-item:nth-child(4) { animation-delay: 0.25s; }
.media-item:nth-child(5) { animation-delay: 0.3s; }
.media-item:nth-child(6) { animation-delay: 0.35s; }
.media-item:nth-child(7) { animation-delay: 0.4s; }
.media-item:nth-child(8) { animation-delay: 0.45s; }

.media-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.media-thumbnail {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFE4D6 0%, #FFF7ED 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #A16207;
}

.media-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0);
    transition: background 0.4s ease;
    z-index: 1;
}

.media-item:hover .media-thumbnail::before {
    background: rgba(59, 130, 246, 0.15);
}

.media-thumbnail img,
.media-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.media-item:hover .media-thumbnail img,
.media-item:hover .media-thumbnail video {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Video indicator */
.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(161, 98, 7, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.media-item:hover .video-indicator {
    background: rgba(37, 99, 235, 0.95);
    transform: translate(-50%, -50%) scale(1.15);
}

.video-indicator::before {
    content: '▶';
    color: #FFF7ED;
    font-size: 1.3rem;
    margin-left: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .album-header {
        padding: 2rem 1rem 1rem;
    }

    .album-title {
        font-size: 2rem;
    }

    .media-section {
        padding: 2rem 1rem 3rem;
    }

    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile Responsive cho Album Pages */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    nav {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .album-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .album-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .album-subtitle {
        font-size: 1rem;
    }

    .media-section {
        padding: 1.5rem 1rem 3rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .media-thumbnail {
        height: 280px;
    }
    
    .video-indicator {
        width: 50px;
        height: 50px;
    }
    
    .video-indicator::before {
        font-size: 1.1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .album-title {
        font-size: 1.8rem;
    }
    
    .media-thumbnail {
        height: 250px;
    }
    
    .media-grid {
        gap: 1rem;
    }
    
    nav {
        padding: 0.8rem 1rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
    
    .album-title {
        font-size: 2.5rem;
    }
}