/*
 * Custom stylesheet extracted from the original HTML and enhanced for better
 * user experience. Separating styles into an external file makes the
 * markup easier to read and maintain. Additional classes have been
 * introduced to support a persistent navigation bar and improved
 * responsiveness. Feel free to further adjust colors or spacing to suit
 * your aesthetic preferences.
 */

/* --- CẤU HÌNH MÀU SẮC & BIẾN --- */
:root {
    /* Primary colours for the love theme. You can tweak these variables to
     * quickly update the palette across the entire site. We kept the
     * signature pink, but softened the dark shade for better contrast. */
    --primary: #E84C88;
    --primary-dark: #c94878;
    --bg: #fff0f3;
    --text: #4a4a4a;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --gray-icon: #f8f9fa;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23E84C88"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 10 10, auto;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.navbar .logo {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.2rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary);
}

/* --- MOBILE NAVIGATION --- */
/* Burger icon visible on small screens */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-left: auto;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    margin: 4px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 200px;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: right 0.3s ease;
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links li {
        margin: 0;
    }
}

/* --- TIMELINE SECTION --- */
.timeline {
    background: #fffdfd;
    padding: 80px 20px;
}
.timeline-container {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
    padding-left: 30px;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-date {
    position: absolute;
    left: -10px;
    top: 0;
    font-weight: bold;
    color: var(--primary);
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.timeline-note {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
}
.timeline-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
}
.timeline-content h3 {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--primary);
}
.timeline-content p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: background 0.3s;
}
.scroll-top:hover {
    background: var(--primary-dark);
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

/* --- WELCOME OVERLAY --- */
#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff0f3;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

#welcome-overlay > * {
    position: relative;
    z-index: 10002;
}

.welcome-btn {
    margin-top: 30px;
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(232, 76, 136, 0.5);
    transition: background 0.3s ease;
}

.welcome-btn:hover {
    background: var(--primary-dark);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 20px;
    position: relative;
    background-image: url('https://placehold.co/1920x1080/E84C88/ffffff?text=Love+Story');
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

.hero h1 {
    font-family: 'Pinyon Script', cursive;
    font-size: 8rem;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px var(--primary), 0 0 50px var(--primary);
    margin-bottom: 30px;
    line-height: 1.1;
    cursor: pointer;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px var(--primary), 0 0 50px var(--primary);
    }
    100% {
        text-shadow: 0 0 25px rgba(255, 255, 255, 1), 0 0 40px var(--primary), 0 0 60px var(--primary), 0 0 80px rgba(255, 255, 255, 0.7);
    }
}

/* Countdown counter styling */
.love-counter {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 50px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 40px;
    margin: 0 auto;
    width: max-content;
    max-width: 95vw;
    position: relative;
    overflow: hidden;
}

.love-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.time-item {
    text-align: center;
    position: relative;
    width: 80px;
}

.time-item:first-child {
    width: 100px;
}

.time-item strong {
    display: block;
    font-size: 4.5rem;
    color: var(--primary);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 0px #fff;
    line-height: 1.1;
}

.time-item span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--white);
    font-weight: 600;
    margin-top: 5px;
    display: block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-family: 'Montserrat', sans-serif;
}

/* Hero call-to-action button */
.hero-btn {
    margin-top: 40px;
    padding: 15px 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-btn:hover {
    background: var(--primary-dark);
}

/* --- ALBUM SECTION --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    min-height: 60vh;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Pinyon Script', cursive;
    font-size: 4.5rem;
    color: var(--primary);
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

/* Controls above album grid */
.album-controls {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.album-controls input {
    padding: 10px 15px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    width: 100%;
    max-width: 300px;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.album-controls input:focus {
    border-color: var(--primary-dark);
}

.album-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: 0.4s;
    position: relative;

    /* 3D tilt effect on hover for a fun interaction */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.album-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(232, 76, 136, 0.25);
}

.album-cover-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.album-card:hover .album-cover {
    transform: scale(1.1);
}

.album-info {
    padding: 20px;
    text-align: center;
}

.album-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.album-date {
    color: #999;
    font-size: 0.9rem;
}

/* Delete button for album */
.delete-alb-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: red;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: 0.3s;
}

.album-card:hover .delete-alb-btn {
    opacity: 1;
}

.delete-alb-btn:hover {
    background: red;
    color: white;
    transform: scale(1.1);
}

/* Photo grid */
.photo-grid {
    column-count: 3;
    column-gap: 20px;
}

/* Skeleton card for album loading */
.skeleton-card {
    background: #f2f2f2;
    border-radius: 20px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.skeleton-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    animation: skeleton-loading 1.2s infinite;
}

@keyframes skeleton-loading {
    0% { left: -150px; }
    100% { left: 100%; }
}

/* Music toggle button */
.music-toggle {
    position: fixed;
    bottom: 160px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 998;
    transition: 0.3s;
}

.music-toggle.on {
    background: var(--primary);
    color: white;
}

.music-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.5);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Lightbox improvements */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 5000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox .lb-content {
    position: relative;
    width: 100%;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 0 15px;
    opacity: 0.8;
    transition: 0.3s;
}

.lb-nav:hover {
    opacity: 1;
}

.lb-nav.prev {
    left: 10px;
}

.lb-nav.next {
    right: 10px;
}

.lb-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2;
}

.lb-counter {
    position: absolute;
    bottom: 10px;
    right: 20px;
    color: white;
    font-size: 1rem;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 20px;
}

/* --- STORY MODE --- */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    color: #fff;
}

.story-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 80vh;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.story-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
}

.story-slide h2 {
    font-family: 'Pinyon Script', cursive;
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary);
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.story-slide p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
}

.story-slide.active {
    opacity: 1;
}

.story-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    padding: 10px;
    transition: 0.3s;
}
.story-nav:hover {
    color: var(--primary);
}
.story-nav.prev {
    left: 20px;
}
.story-nav.next {
    right: 20px;
}

/* additional button spacing for story button */
.story-btn {
    margin-left: 10px;
}

.photo-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    break-inside: avoid;
    position: relative;
}

.photo-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.photo-item img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

/* Video styling */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Overlay on video for play */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    transition: 0.3s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.1);
}

.play-btn-overlay {
    width: 60px;
    height: 60px;
    background: rgba(232, 76, 136, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 0 20px rgba(232, 76, 136, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(232, 76, 136, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(232, 76, 136, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(232, 76, 136, 0);
    }
}

/* Modal & footer */
.letter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.letter-box {
    width: 90%;
    max-width: 500px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Font chữ thư */
.letter-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    text-align: left;
    white-space: pre-wrap;
}

/* Fairy dust & heart rain effects */
.fairy-dust {
    position: fixed;
    pointer-events: none;
    font-size: 20px;
    z-index: 10001;
    animation: fly 1s forwards;
    opacity: 0;
    text-shadow: 0 0 5px #fff;
}

@keyframes fly {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0);
        opacity: 0;
    }
}

.heart-rain {
    position: fixed;
    color: var(--primary);
    animation: fall linear forwards;
    z-index: 10001;
    pointer-events: none;
    opacity: 0.4;
}

@keyframes fall {
    to {
        transform: translateY(105vh) rotate(360deg);
    }
}

/* Confetti animation for the preloader */
.confetti-piece {
    position: fixed;
    top: -20px;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    opacity: 0.9;
    z-index: 9999;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translate3d(0,0,0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 110vh, 360deg);
        opacity: 0;
    }
}

.toast-notification {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    z-index: 10001;
    transition: opacity 0.3s, top 0.3s;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid white;
    text-align: center;
    max-width: 90%;
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    top: 25px;
}

footer {
    background: white;
    padding: 60px 0 40px;
    border-top: 1px solid #f0f0f0;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

.footer-name {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.s-icon {
    width: 45px;
    height: 45px;
    background: var(--gray-icon);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    text-decoration: none;
    transition: 0.3s;
    font-size: 18px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.s-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 76, 136, 0.4);
}

.footer-center {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.footer-heart {
    font-size: 2.5rem;
    color: #ffccd5;
    animation: beat 2s infinite;
    margin-bottom: 15px;
}

@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.copyright {
    color: #aaa;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
}

/* Add button */
.add-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    color: #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.add-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Admin list styles */
#admin-album-list {
    margin-top: 20px;
    max-height: 200px;
    overflow-y: auto;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.admin-alb-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
}

.admin-alb-item button {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    .love-counter {
        flex-direction: row;
        gap: 15px;
        padding: 15px;
        width: 95%;
    }
    .time-item strong {
        font-size: 2.5rem;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-col {
        min-width: 100%;
    }
    .footer-center {
        order: 3;
        margin-top: 30px;
    }
    .time-item:first-child {
        width: 80px;
    }
    .time-item {
        width: 65px;
    }
    .photo-grid {
        column-count: 2;
    }
}