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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #fafbfc;
    color: #1a1d29;
    overflow-x: hidden;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0.04;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSBiYXNlRnJlcXVlbmN5PSIwLjkiIG51bU9jdGF2ZXM9IjQiIHNlZWQ9IjIiLz48L2ZpbHRlcj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI25vaXNlKSIvPjwvc3ZnPg==');
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    animation: pulse 12s ease-in-out infinite;
}

.glow-vienna {
    top: 10%;
    right: -10%;
    background: radial-gradient(circle, rgba(139, 157, 195, 0.08) 0%, transparent 70%);
}

.glow-lucerne {
    top: 30%;
    left: -15%;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.06) 0%, transparent 70%);
    animation-delay: -3s;
}

.glow-venice {
    bottom: 40%;
    right: -5%;
    background: radial-gradient(circle, rgba(100, 149, 237, 0.07) 0%, transparent 70%);
    animation-delay: -6s;
}

.glow-florence {
    bottom: 20%;
    left: -10%;
    background: radial-gradient(circle, rgba(210, 180, 140, 0.08) 0%, transparent 70%);
    animation-delay: -9s;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.header {
    margin-bottom: 80px;
    position: relative;
    text-align: center;
    padding-top: 60px;
}

.year {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #8b9dc3;
    margin-bottom: 25px;
}

.title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 100;
    line-height: 0.85;
    letter-spacing: -0.06em;
    color: #1a1d29;
    margin-bottom: 40px;
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1a1d29, transparent);
}

.journey-path {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.city {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 0;
    border: none;
    background: none;
    transform: translateY(0);
}

.city:hover {
    color: #1a1d29;
    transform: translateY(-1px);
}

.city.active {
    color: #1a1d29;
    font-weight: 500;
    transform: translateY(2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.city.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: #d4af37;
    border-radius: 1px;
}

.city::after {
    content: '→';
    margin: 0 15px;
    color: #d1d5db;
    font-weight: 300;
}

.city:last-child::after {
    display: none;
}

.subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.video-container {
    position: relative;
    margin-bottom: 120px;
    z-index: 1;
}

.focus-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10;
    pointer-events: none;
}

.focus-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-container.focus-mode {
    z-index: 15;
    position: relative;
}

.video-frame {
    position: relative;
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.08),
        0 48px 96px rgba(0, 0, 0, 0.04);
    transform: perspective(1000px) rotateX(1deg);
    margin: 0 auto;
    max-width: 1100px;
    transition: transform 0.3s ease;
}

.video-frame:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px);
}

.video-wrapper {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

video:fullscreen {
    object-fit: contain;
}

video:-webkit-full-screen {
    object-fit: contain;
}

video:-moz-full-screen {
    object-fit: contain;
}

video:-ms-fullscreen {
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.play-button:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.16);
}

.play-button svg {
    width: 32px;
    height: 32px;
    fill: #1a1d29;
    margin-left: 4px;
}

.mobile-rotate-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.mobile-rotate-hint.show {
    opacity: 1;
}

.mobile-rotate-hint svg {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    fill: white;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    padding: 0 16px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-controls.visible {
    opacity: 1;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.progress-container:hover {
    height: 8px;
}

.progress-bar {
    height: 100%;
    background: #fff;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.controls-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.controls-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.control-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.play-pause-btn svg {
    width: 24px;
    height: 24px;
}

.time-display {
    color: white;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    min-width: 80px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-progress {
    height: 100%;
    background: white;
    border-radius: 2px;
    width: 100%;
    transition: width 0.1s ease;
}

.settings-menu {
    position: relative;
}

.settings-dropdown {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 8px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    backdrop-filter: blur(20px);
}

.settings-dropdown.visible {
    opacity: 1;
    visibility: visible;
}

.settings-option {
    color: white;
    font-size: 12px;
    padding: 6px 8px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.settings-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.settings-option.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile hamburger menu styles */
.mobile-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: none;
}

.hamburger {
    position: relative;
    width: 20px;
    height: 16px;
    margin: 14px auto;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #1a1d29;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 7px; }
.hamburger span:nth-child(3) { top: 14px; }

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 29, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mobile-menu-title {
    font-size: 24px;
    font-weight: 300;
    color: #1a1d29;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.5px;
}

.mobile-city-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-city-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(248, 250, 252, 0.5);
}

.mobile-city-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: scale(1.02);
}

.mobile-city-item.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.mobile-city-name {
    font-size: 18px;
    font-weight: 500;
    color: #1a1d29;
    margin-bottom: 4px;
}

.mobile-city-country {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-city-time {
    font-size: 16px;
    color: #d4af37;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.journey-story {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    position: relative;
    background: linear-gradient(135deg, #fefcf7 0%, #faf8f3 100%);
    padding: 80px 60px;
    border-radius: 24px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 8px 16px rgba(0, 0, 0, 0.03),
        0 16px 32px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.08);
    overflow: hidden;
}

.journey-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.story-title {
    font-size: 28px;
    font-weight: 200;
    color: #1a1d29;
    margin-bottom: 35px;
    letter-spacing: -1px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
    text-align: left;
}

.city-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.city-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.city-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1d29;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.city-country {
    font-size: 12px;
    color: #8b9dc3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.city-description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    font-weight: 300;
}

.journey-text {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.8;
    font-weight: 300;
    margin-top: 40px;
}

.footer-bar {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    width: 100%;
    margin: 0;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 40px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-right {
    font-size: 12px;
    opacity: 0.7;
}

.anniversary-icon {
    width: 24px;
    height: 24px;
    fill: rgba(212, 175, 55, 0.8);
}


.video-like-section {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
    max-width: 1100px; /* Same max-width as .video-frame */
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5rem;
    padding: 0 16px; /* Same padding as .video-frame */
}

.video-like-button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-like-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.heart-icon {
    width: 20px;
    height: 20px;
    fill: #6b7280;
    transition: all 0.3s ease;
}

.video-like-button.liked .heart-icon {
    fill: #ff4757;
    animation: heartPulse 0.6s ease-out;
}

.like-count {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.video-like-button.liked .like-count {
    color: #ff4757;
}

/* Heart animation when liked */
@keyframes heartPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Floating hearts animation */
.floating-heart {
    position: absolute;
    pointer-events: none;
    color: #ff4757;
    font-size: 20px;
    animation: floatUp 2s ease-out forwards;
    z-index: 9999;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-60px) scale(1.2);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .video-like-section {
        justify-content: center;
        margin: 25px 0;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .video-frame {
        max-width: 100%;
        margin: 20px 0;
    }
    
    .video-wrapper {
        aspect-ratio: unset;
        height: 70vh;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .journey-path {
        display: none;
    }

    .container {
        padding: 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .journey-story {
        padding: 60px 30px 80px;
        margin: 0 20px 60px 20px;
    }
    
    .header {
        margin-bottom: 60px;
    }
    
    .title {
        font-size: clamp(3rem, 15vw, 5rem);
    }
    
    .video-frame {
        padding: 12px;
        transform: none;
    }
    
    .video-frame:hover {
        transform: translateY(-4px);
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .city-card {
        padding: 20px;
    }
    
    .ambient-glow {
        display: none;
    }
}

.journey-path .city,
.journey-path .city:hover,
.journey-path .city.active {
  transition: color 150ms ease, text-shadow 150ms ease;
  transform: none !important;           /* stop drop/raise */
}

/* Optional: gentle hover darken (keeps things steady) */
.journey-path .city:hover {
  color: #4b5563;                       /* slightly darker than #6b7280 */
  text-shadow: 0 1px 0 rgba(0,0,0,0.20);
}

/* Selected: darker + a little shadow, no movement */
.journey-path .city.active {
  color: #1a1d29;                       /* your existing dark text tone */
  text-shadow: 0 1px 0 rgba(0,0,0,0.30);
}

/* Remove the gold underline bar on active */
.journey-path .city.active::after {
  content: none !important;
}

.journey-path .city::after { display: none !important; }

#playOverlay { display: none !important; }

.video-container:fullscreen,
.video-container:-webkit-full-screen {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #000 !important;
  outline: none !important;
}

.video-container:fullscreen .video-frame,
.video-container:-webkit-full-screen .video-frame,
.video-container:fullscreen .video-wrapper,
.video-container:-webkit-full-screen .video-wrapper {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.video-container:fullscreen video,
.video-container:-webkit-full-screen video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000;
}

.is-ios .controls-right .control-button[onclick="toggleFullscreen()"] {
  display: none !important;
}