@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

* {
    -webkit-tap-highlight-color: rgba(255, 105, 180, 0.3);
    -webkit-touch-callout: none;
    box-sizing: border-box;
}

:root {
    /* Fluid typography - scales automatically */
    --fluid-min-width: 320;
    --fluid-max-width: 1920;
    --fluid-screen: 100vw;
    --fluid-bp: calc(
        (var(--fluid-screen) - var(--fluid-min-width) / 16 * 1rem) /
        (var(--fluid-max-width) - var(--fluid-min-width))
    );
}

@media screen and (min-width: 1920px) {
    :root {
        --fluid-screen: calc(var(--fluid-max-width) * 1px);
    }
}

body{
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    font-size: clamp(14px, 2vw, 16px);
}

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
}

#header {
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    width: 100%;
    height: clamp(60px, 12vw, 100px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 0px 0px 5px black;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.4);
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 clamp(15px, 3vw, 30px);
}

#header.scrolled {
    height: clamp(50px, 10vw, 70px);
    background: rgba(255, 105, 180, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.6);
}

#header.scrolled #welcome {
    font-size: clamp(14px, 3.5vw, 24px);
    margin: clamp(15px, 3vw, 20px) auto;
}

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

#welcome {
    display: flex;
    justify-content: center;
    margin: clamp(20px, 4vw, 30px) auto;
    color: #ffffff;
    animation: fadeInScale 1s ease-out 0.3s both;
    transition: all 0.4s ease;
    font-size: clamp(16px, 4vw, 28px);
    text-align: center;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4f0 100%);
    margin: 0px;
    padding: 0px;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.transparent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 240, 245, 0.6);
    pointer-events: none;
    z-index: 7;
}

#body::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 120px,
            transparent 120px,
            transparent 240px
        );
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 1;
    animation: diagonalScroll 80s linear infinite;
}

#body::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 15%;
    animation: float 8s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}

.xoxz-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    pointer-events: none;
    z-index: 5;
    opacity: 1;
    filter: blur(0px);
    mix-blend-mode: normal;
}

.xoxz-text {
    font-family: "BBH Sans Bartle", sans-serif;
    font-size: clamp(40px, 15vw, 280px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: clamp(8px, 10vw, 180px);
    user-select: none;
    white-space: nowrap;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
    padding: 0 clamp(10px, 10vw, 200px) 0 clamp(10px, 2vw, 20px);
    box-sizing: border-box;
}

.xoxz-filled {
    color: rgba(255, 105, 180, 0.35);
    -webkit-text-fill-color: rgba(255, 105, 180, 0.35);
}

.xoxz-outline {
    color: transparent;
    -webkit-text-stroke: clamp(1px, 0.3vw, 2px) rgba(255, 105, 180, 0.35);
}

@keyframes diagonalScroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(200px, 200px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

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

#message{
    color: #ff1493;
    margin: clamp(15px, 3vw, 20px) auto;
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(20px, 5vw, 40px);
    letter-spacing: clamp(1px, 0.3vw, 2px);
    text-shadow: 2px 2px 8px rgba(255, 20, 147, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    z-index: 10;
}

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

.image-container {
    position: relative;
    display: inline-block;
    margin: clamp(15px, 3vw, 20px) auto;
}

#wife{
    width: clamp(280px, 50vw, 400px);
    height: auto;
    border-radius: clamp(12px, 3vw, 20px);
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 1s ease-out 0.7s both;
    cursor: pointer;
    position: relative;
    z-index: 10;
    display: block;
}

#wife:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.5);
    border-radius: 25px;
}

.button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 5vw, 30px);
    margin-top: clamp(25px, 6vw, 40px);
    z-index: 10;
    flex-wrap: wrap;
}

.message-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInScale 1s ease-out 1s both, gentlePulse 2s ease-in-out infinite;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.8));
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 0.85;
    }
    50% {
        opacity: 1;
    }
}


.button {
    background: transparent;
    color: #ff69b4;
    width: clamp(120px, 25vw, 140px);
    height: clamp(34px, 7vw, 38px);
    border: 2px solid #ff69b4;
    border-radius: clamp(6px, 1.5vw, 8px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(14px, 2.5vw, 17px);
    font-weight: 500;
    letter-spacing: clamp(0.5px, 0.2vw, 1px);
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 15px auto;
    cursor: pointer;
    text-shadow: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.9s both;
    z-index: 10;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.button:hover::before {
    left: 100%;
}

.button:hover,
.button:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    border: 2px solid #ff1493;
    transform: translateY(-3px);
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;
    box-shadow: 0 0 10px #ff69b4, 0 0 30px #ff69b4, 0 0 60px #ff69b4;
}

.btn-icon {
    width: clamp(14px, 3vw, 18px);
    height: clamp(14px, 3vw, 18px);
    filter: brightness(0) saturate(100%) invert(64%) sepia(55%) saturate(4332%) hue-rotate(307deg) brightness(96%) contrast(101%);
    transition: all 0.4s ease;
}

.button:hover .btn-icon,
.button:focus .btn-icon {
    filter: brightness(0) invert(1);
    transform: translateX(5px);
}

#body h4 {
    color: #ff1493;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(11px, 2vw, 14px);
    font-weight: 300;
    margin: 10px auto;
    letter-spacing: 1px;
    text-align: center;
    animation: bounce 2s infinite, fadeInUp 1s ease-out 1.1s both;
    font-style: italic;
    opacity: 0.85;
    position: relative;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Profile Card Styles */
.profile-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: clamp(300px, 90vw, 400px);
    background: #f5e6f0;
    border-radius: clamp(10px, 2vw, 12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.profile-card.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.card__header {
    height: clamp(100px, 20vw, 120px);
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    border-radius: clamp(10px, 2vw, 12px) clamp(10px, 2vw, 12px) 0 0;
    position: relative;
    border-bottom: clamp(2px, 0.5vw, 3px) solid #ff1493;
}

.card__avatar {
    position: absolute;
    bottom: clamp(-35px, -7vw, -45px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(70px, 15vw, 90px);
    height: clamp(70px, 15vw, 90px);
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 4px solid #ff69b4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.card__body {
    padding: clamp(40px, 10vw, 55px) clamp(20px, 5vw, 28px) clamp(20px, 5vw, 28px);
    background: #3d1f33;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.5vw, 16px);
}

.card__title {
    text-align: center;
    margin-bottom: clamp(5px, 1vw, 6px);
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: -0.3px;
}

.card__subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: clamp(12px, 2.5vw, 14px);
    margin-bottom: clamp(20px, 5vw, 28px);
    font-weight: 500;
}

.card__section {
    margin-bottom: clamp(18px, 4vw, 24px);
    padding-bottom: clamp(15px, 3vw, 20px);
    border-bottom: 1px solid #5d3f53;
}

.card__section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.card__section h4 {
    color: #ff69b4;
    font-size: clamp(10px, 2vw, 12px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.15vw, 1px);
    margin-bottom: clamp(10px, 2vw, 12px);
}

.card__section p {
    color: #c0c0c0;
    line-height: 1.7;
    font-size: clamp(12px, 2.5vw, 14px);
    margin: 0;
    text-align: center;
}

.card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    background: #2d1826;
    color: #ffb3d9;
    padding: clamp(4px, 1vw, 5px) clamp(8px, 2vw, 10px);
    border-radius: clamp(4px, 1vw, 6px);
    font-size: clamp(9px, 2vw, 11px);
    font-weight: 600;
    border: 1px solid #ff69b4;
}

.card__buttons {
    display: flex;
    gap: 12px;
}

.card__btn {
    flex: 1;
    width: clamp(40px, 10vw, 50px);
    height: clamp(40px, 10vw, 50px);
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #c71585;
    font-size: 0;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: all 0.2s ease;
}

.card__btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px) scale(1.1);
    box-shadow: none;
}

.card__btn-solid {
    background: transparent;
    color: #ffffff;
    border-color: transparent;
}

.card__btn-solid:hover {
    background: transparent;
    border-color: transparent;
    transform: translateY(-2px) scale(1.1);
    box-shadow: none;
}

.btn-icon-small {
    width: clamp(22px, 5vw, 28px);
    height: clamp(22px, 5vw, 28px);
    transition: all 0.2s ease;
}

.card__btn:hover .btn-icon-small {
    filter: none;
    transform: scale(1.15);
}

.card__btn-solid .btn-icon-small {
    filter: none;
}

.profile-close {
    position: absolute;
    top: clamp(8px, 1.5vw, 10px);
    right: clamp(8px, 1.5vw, 10px);
    width: clamp(32px, 7vw, 40px);
    height: clamp(32px, 7vw, 40px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ff69b4;
    color: #ff1493;
    font-size: clamp(20px, 4vw, 26px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 400;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-close:hover {
    background: #ff1493;
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
    border-color: #ff1493;
}

.profile-close:active {
    transform: rotate(90deg) scale(1);
}

/* end of 1st page css */

/* Page Indicators */
.page-indicators {
    position: fixed;
    right: clamp(15px, 3vw, 30px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 3vw, 20px);
}

.page-dot {
    width: clamp(10px, 2vw, 12px);
    height: clamp(10px, 2vw, 12px);
    border-radius: 50%;
    border: 2px solid #ff69b4;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-dot.active {
    background: #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.8);
    transform: scale(1.5);
    width: clamp(10px, 2vw, 12px);
    height: clamp(10px, 2vw, 12px);
}

.page-dot:hover {
    background: rgba(255, 105, 180, 0.5);
    transform: scale(1.2);
}

/* start of 2nd page css */

#content {
    padding: clamp(80px, 15vw, 120px) clamp(15px, 3vw, 20px) clamp(15px, 3vw, 20px) clamp(15px, 3vw, 20px);
    background: linear-gradient(135deg, #2d1b3d 0%, #1a0a1f 100%);
    width: 100%;
    height: auto;
    min-height: 150vh;
    margin: 0px;
    box-sizing: border-box;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
}

#content::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

#title {
    text-align: center;
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 0px 0px 2px black;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 50px;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
    position: relative;
    flex-shrink: 0;
}

#title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
    animation: expandWidth 1.5s ease-out 0.5s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

#info {
    margin: 0px;
}

#content h2, #content h3 {
    margin: 0px;
    padding: 5px 0;
}

.lizPic, .lizVid {
    width: 100%;
    height: auto;
    border: clamp(2px, 0.5vw, 3px) solid #ff69b4;
    border-radius: clamp(10px, 2vw, 15px);
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: clamp(20px, 4vw, 30px);
    break-inside: avoid;
}

/* Video-specific performance optimizations */
.lizVid {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.lizPic::before, .lizVid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.lizPic:hover::before, .lizVid:hover::before {
    left: 100%;
}

.lizPic::after, .lizVid::after {
    content: '✨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: clamp(32px, 7vw, 48px);
    opacity: 0;
    transition: all 0.4s ease;
}

.lizPic:hover::after, .lizVid:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.lizPic:hover, .lizVid:hover {
    transform: scale(1.1) translateY(-15px) rotate(-2deg);
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.7), 
                0 0 40px rgba(255, 20, 147, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: #ff1493;
    z-index: 10;
    filter: brightness(1.1) contrast(1.05);
}

#title {
    text-align: center;
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 0px 0px 2px black;
    margin-top: 0px;
    margin-bottom: clamp(8px, 2vw, 10px);
    font-size: clamp(28px, 6vw, 50px);
    flex-shrink: 0;
    padding: 0 clamp(15px, 3vw, 30px);
}

#albumSubtitle {
    text-align: center;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 2.5vw, 18px);
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: clamp(30px, 6vw, 60px);
    flex-shrink: 0;
    padding: 0 clamp(15px, 3vw, 30px);
}

#content {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(10px, 3vw, 25px);
    padding: 0 clamp(15px, 4vw, 30px) clamp(30px, 5vw, 40px);
    max-width: 1800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    flex: 1;
    height: auto;
    min-height: 100vh;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vw, 25px);
}

.gallery-column[data-direction="up"] {
    animation: scrollUp 60s linear infinite;
}

.gallery-column[data-direction="down"] {
    animation: scrollDown 60s linear infinite;
}

@keyframes scrollUp {
    from {
        transform: translateY(0%);
    }
    to {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    from {
        transform: translateY(-50%);
    }
    to {
        transform: translateY(0%);
    }
}

@media (max-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
}

/* end of 2nd page css */





/* start of 3rd page css - Video Gallery */

#videoGalleryPage {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5e6f0 0%, #e8d5e8 100%);
    padding: clamp(80px, 15vw, 120px) clamp(20px, 5vw, 40px) clamp(60px, 10vw, 80px);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#videoGalleryPage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(139, 69, 139, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

#videoGalleryTitle {
    text-align: center;
    font-size: clamp(24px, 6vw, 56px);
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 700;
    color: #c71585;
    margin-bottom: clamp(8px, 2vw, 10px);
    text-shadow: 2px 2px 10px rgba(75, 0, 130, 0.3);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
    padding: 0 clamp(15px, 3vw, 30px);
}

#videoGallerySubtitle {
    text-align: center;
    font-size: clamp(12px, 2.5vw, 20px);
    color: rgba(75, 0, 130, 0.7);
    margin-bottom: clamp(30px, 6vw, 60px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: clamp(1px, 0.3vw, 2px);
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
    z-index: 2;
    padding: 0 clamp(15px, 3vw, 30px);
}

#videoGalleryGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(180px, 22vw, 320px), 1fr));
    gap: clamp(15px, 3vw, 25px);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    position: relative;
    z-index: 2;
}

.video-card {
    position: relative;
    border-radius: clamp(12px, 3vw, 20px);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(199, 21, 133, 0.15) 0%, rgba(75, 0, 130, 0.15) 100%);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease-out both;
    aspect-ratio: 9 / 16;
    box-shadow: 0 15px 35px rgba(75, 0, 130, 0.25), 0 5px 15px rgba(0, 0, 0, 0.15);
    border: clamp(1px, 0.3vw, 2px) solid rgba(199, 21, 133, 0.2);
    min-height: clamp(320px, 60vw, 400px);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(40px, 10vw, 60px);
    height: clamp(40px, 10vw, 60px);
    border: clamp(3px, 0.6vw, 4px) solid rgba(199, 21, 133, 0.3);
    border-top-color: rgba(199, 21, 133, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 1;
    z-index: 1;
}

.video-card.loaded::before {
    opacity: 0;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.15s; }
.video-card:nth-child(3) { animation-delay: 0.2s; }
.video-card:nth-child(4) { animation-delay: 0.25s; }
.video-card:nth-child(5) { animation-delay: 0.3s; }
.video-card:nth-child(6) { animation-delay: 0.35s; }
.video-card:nth-child(7) { animation-delay: 0.4s; }
.video-card:nth-child(8) { animation-delay: 0.45s; }
.video-card:nth-child(9) { animation-delay: 0.5s; }
.video-card:nth-child(10) { animation-delay: 0.55s; }


.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.4);
}

.gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.05);
}

.video-card:hover .gallery-video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-card.playing .video-overlay {
    opacity: 0;
}

.video-card:hover .video-overlay {
    background: transparent;
}

.play-icon {
    display: none;
}

.video-card:hover .play-icon {
    display: none;
}

.video-card.playing .play-icon {
    display: none;
}

.mute-btn {
    position: absolute;
    bottom: clamp(10px, 2vw, 15px);
    right: clamp(10px, 2vw, 15px);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: clamp(32px, 7vw, 40px);
    height: clamp(32px, 7vw, 40px);
    font-size: clamp(1rem, 2vw, 1.2rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mute-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.mute-btn:active {
    transform: scale(0.95);
}

.video-credits {
    text-align: center;
    color: rgba(75, 0, 130, 0.5);
    font-family: "Inter", sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    margin-top: clamp(40px, 8vw, 60px);
    font-style: italic;
    letter-spacing: clamp(0.3px, 0.1vw, 0.5px);
}

@media (max-width: 1200px) {
    #videoGalleryGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    #videoGalleryTitle {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    #videoGalleryPage {
        padding: 100px 15px 60px;
    }
    
    #videoGalleryGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    #videoGalleryTitle {
        font-size: 2.2rem;
    }
    
    #videoGallerySubtitle {
        font-size: 1rem;
    }
    
    .play-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    #videoGalleryGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 8px;
    }
    
    .video-card {
        min-height: 280px;
    }
}

/* end of 3rd page css */





/* start of 4th page css - Solo Performance */

#soloPage {
    padding: clamp(15px, 3vw, 20px);
    background: linear-gradient(135deg, #2d1b3d 0%, #1a0a1f 100%);
    width: 100%;
    min-height: 100vh;
    margin: 0px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#soloPage::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 12s ease-in-out infinite;
    pointer-events: none;
}

#soloPage::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
    pointer-events: none;
}

#soloTitle {
    text-align: center;
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    margin-top: clamp(80px, 15vw, 120px);
    margin-bottom: clamp(50px, 10vw, 80px);
    font-size: clamp(28px, 6vw, 50px);
    color: #ff69b4;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

#soloContent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(30px, 8vw, 60px);
    max-width: 95%;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out 0.3s both;
    padding: 0 clamp(15px, 4vw, 30px);
    align-items: center;
    margin: 0 auto;
}

#videoContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#soloVideo {
    width: auto;
    height: auto;
    max-height: 75vh;
    border-radius: clamp(12px, 3vw, 20px);
    border: clamp(2px, 0.5vw, 4px) solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 
                0 0 30px rgba(255, 105, 180, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
    object-fit: contain;
}

#soloVideo:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(255, 105, 180, 0.6);
}

#videoCredit {
    margin-top: clamp(15px, 3vw, 20px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    letter-spacing: clamp(0.3px, 0.1vw, 0.5px);
}

#soloDescription {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 92%;
    margin-bottom: clamp(35px, 8vw, 55px);
}

#soloDescription p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 400;
    color: #ffffff;
    text-align: justify;
    line-height: 1.95;
    letter-spacing: clamp(0.2px, 0.05vw, 0.3px);
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    padding: clamp(25px, 5vw, 40px) clamp(30px, 6vw, 50px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: clamp(12px, 3vw, 20px);
    border: clamp(1px, 0.3vw, 2px) solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    #soloContent {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    #soloVideo {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    #soloContent {
        padding: 0 20px;
        gap: 30px;
    }
    
    #soloVideo {
        width: 100%;
    }
    
    #soloDescription p {
        font-size: 16px;
        padding: 25px 30px;
        line-height: 1.7;
    }
    
    #soloTitle {
        font-size: 36px;
        margin-top: 80px;
    }
    
    .message-icon {
        font-size: 2rem;
        bottom: 15px;
    }
}

/* end of 4th page css */

/* ========================================
   COMPREHENSIVE RESPONSIVE STYLES
   ======================================== */

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
    /* Header adjustments */
    #header {
        height: 80px;
    }
    
    #header.scrolled {
        height: 60px;
    }
    
    #welcome {
        font-size: 22px;
        margin: 25px auto;
    }
    
    #header.scrolled #welcome {
        font-size: 20px;
    }
    
    /* First page adjustments */
    #message {
        font-size: 32px;
        padding: 0 30px;
    }
    
    #wife {
        max-width: 400px;
    }
    
    .button {
        padding: 14px 35px;
        font-size: 16px;
    }
    
    /* Profile card adjustments */
    .profile-card {
        width: 85%;
        max-width: 500px;
        padding: 35px 30px;
    }
    
    /* Page indicators */
    .page-indicators {
        right: 15px;
    }
    
    .page-dot {
        width: 10px;
        height: 10px;
    }
}

/* Mobile Devices (320px - 768px) */
@media (max-width: 768px) {
    /* Disable scroll snap on mobile for better performance */
    body {
        scroll-snap-type: none;
    }
    
    #body, #content, #videoGalleryPage, #soloPage {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }
    
    /* Header mobile styles */
    #header {
        height: 70px;
    }
    
    #header.scrolled {
        height: 55px;
    }
    
    #welcome {
        font-size: 18px;
        margin: 20px auto;
        text-align: center;
        padding: 0 15px;
    }
    
    #header.scrolled #welcome {
        font-size: 16px;
        margin: 15px auto;
    }
    
    /* First page mobile styles */
    #body {
        padding: 20px 15px;
        min-height: 100vh;
        height: auto;
    }
    
    #message {
        font-size: 24px;
        padding: 0 20px;
        margin-top: 80px;
        margin-bottom: 30px;
        line-height: 1.3;
    }
    
    .image-container {
        margin: 20px 0;
    }
    
    #wife {
        max-width: 280px;
        width: 90%;
    }
    
    .button-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 25px;
        justify-content: center;
    }
    
    .button {
        padding: 12px 30px;
        font-size: 14px;
        width: 200px;
    }
    
    .message-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
        position: relative;
        bottom: auto;
    }
    
    #body h4 {
        font-size: 14px;
        margin-top: 30px;
        padding: 0 20px;
    }
    
    /* Second page (Album) mobile styles */
    #content {
        padding: 80px 15px 40px 15px;
        min-height: 100vh;
    }
    
    #title {
        font-size: 32px;
        margin-top: 0;
        margin-bottom: 8px;
    }
    
    #albumSubtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0;
        min-height: auto;
    }
    
    /* Third page (Videos) mobile styles */
    #videoGalleryPage {
        padding: 80px 20px 60px;
        min-height: 100vh;
    }
    
    #videoGalleryTitle {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    #videoGallerySubtitle {
        font-size: 14px;
        margin-bottom: 40px;
        letter-spacing: 1px;
    }
    
    #videoGalleryGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .video-card {
        min-height: 280px;
    }
    
    .mute-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .video-credits {
        font-size: 11px;
        margin-top: 30px;
    }
    
    /* Fourth page (Solo) mobile styles */
    #soloPage {
        padding: 80px 20px 60px;
    }
    
    #soloTitle {
        font-size: 28px;
        margin-top: 0;
        margin-bottom: 30px;
    }
    
    #soloContent {
        padding: 0;
        gap: 25px;
    }
    
    #soloVideo {
        max-width: 100%;
    }
    
    #soloDescription p {
        font-size: 14px;
        padding: 20px 25px;
        line-height: 1.6;
    }
    
    /* Profile card mobile styles */
    .profile-card {
        width: 88vw;
        max-width: 360px;
        max-height: none;
        overflow: visible;
    }
    
    .card__header {
        height: 70px;
    }
    
    .card__avatar {
        width: 65px;
        height: 65px;
        bottom: -32px;
        border-width: 3px;
    }
    
    .card__body {
        padding: 40px 16px 16px;
        gap: 8px;
    }
    
    .card__title {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .card__subtitle {
        font-size: 11px;
        margin-bottom: 14px;
    }
    
    .card__section {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .card__section h4 {
        font-size: 9px;
        margin-bottom: 6px;
        letter-spacing: 0.6px;
    }
    
    .card__section p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .card__tags {
        gap: 4px;
    }
    
    .tag {
        font-size: 8px;
        padding: 3px 7px;
    }
    
    .card__btn {
        width: 36px;
        height: 36px;
    }
    
    .btn-icon-small {
        width: 18px;
        height: 18px;
    }
    
    .profile-close {
        width: 30px;
        height: 30px;
        font-size: 20px;
        top: 6px;
        right: 6px;
    }
    
    /* Page indicators mobile */
    .page-indicators {
        right: 10px;
        gap: 8px;
    }
    
    .page-dot {
        width: 8px;
        height: 8px;
    }
    
    .page-dot.active {
        width: 8px;
        height: 8px;
        transform: scale(1.6);
    }
}

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    #header {
        height: 60px;
    }
    
    #header.scrolled {
        height: 50px;
    }
    
    #welcome {
        font-size: 16px;
        margin: 15px auto;
    }
    
    #header.scrolled #welcome {
        font-size: 14px;
    }
    
    #message {
        font-size: 20px;
        margin-top: 70px;
    }
    
    #wife {
        max-width: 240px;
    }
    
    .button {
        padding: 10px 25px;
        font-size: 13px;
        width: 180px;
    }
    
    #title {
        font-size: 28px;
    }
    
    #albumSubtitle {
        font-size: 13px;
    }
    
    .gallery-container {
        gap: 10px;
    }
    
    #videoGalleryTitle {
        font-size: 24px;
    }
    
    #videoGallerySubtitle {
        font-size: 12px;
    }
    
    #videoGalleryGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 8px;
    }
    
    .video-card {
        min-height: 250px;
    }
    
    #soloTitle {
        font-size: 24px;
    }
    
    #soloDescription p {
        font-size: 13px;
        padding: 18px 20px;
    }
    
    /* Profile card extra small mobile */
    .profile-card {
        width: 92vw;
        max-width: 340px;
        max-height: none;
        overflow: visible;
    }
    
    .card__header {
        height: 65px;
    }
    
    .card__avatar {
        width: 58px;
        height: 58px;
        bottom: -29px;
        border-width: 2px;
    }
    
    .card__body {
        padding: 35px 14px 14px;
        gap: 7px;
    }
    
    .card__title {
        font-size: 17px;
    }
    
    .card__subtitle {
        font-size: 10px;
        margin-bottom: 12px;
    }
    
    .card__section {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .card__section h4 {
        font-size: 8px;
        margin-bottom: 5px;
    }
    
    .card__section p {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .tag {
        font-size: 7px;
        padding: 2px 6px;
    }
    
    .card__btn {
        width: 32px;
        height: 32px;
    }
    
    .btn-icon-small {
        width: 16px;
        height: 16px;
    }
    
    .profile-close {
        width: 26px;
        height: 26px;
        font-size: 18px;
    }
}

/* Large Screens (1440px+) */
@media (min-width: 1440px) {
    #message {
        font-size: 48px;
    }
    
    #wife {
        max-width: 600px;
    }
    
    .gallery-container {
        max-width: 2000px;
    }
    
    #videoGalleryGrid {
        max-width: 1600px;
        gap: 35px;
    }
    
    #soloVideo {
        max-width: 800px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    #body {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 40px;
    }
    
    #message {
        font-size: 20px;
        margin-top: 0;
        margin-bottom: 20px;
    }
    
    #wife {
        max-width: 200px;
    }
    
    .button-container {
        flex-direction: row;
        gap: 20px;
    }
    
    #body h4 {
        margin-top: 20px;
    }
    
    #content {
        padding-top: 100px;
    }
    
    #videoGalleryPage {
        padding-top: 100px;
    }
    
    #soloPage {
        padding-top: 100px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .button:hover,
    .button:focus {
        transform: translateY(0);
    }
    
    .button:active {
        transform: translateY(-2px) scale(0.98);
    }
    
    .lizPic:hover,
    .lizVid:hover {
        transform: scale(1);
    }
    
    .video-card:hover {
        transform: translateY(0);
    }
    
    .video-card:active {
        transform: translateY(-2px);
    }
}

/* Print styles */
@media print {
    #header,
    .page-indicators,
    .message-icon,
    .button,
    video {
        display: none;
    }
    
    body {
        scroll-snap-type: none;
    }
    
    .gallery-container {
        display: block;
    }
    
    .lizPic {
        page-break-inside: avoid;
    }
}