:root {
    --primary: #A2D2FF;
    --secondary: #CDB4DB;
    --accent: #FFC8DD;
    --white: #ffffff;
    --text: #1a1a1a;
    --glass: rgba(255, 255, 255, 0.15);

    /* Liquid Glass Tokens */
    --lg-bg:            rgba(255, 255, 255, 0.10);
    --lg-bg-heavy:      rgba(255, 255, 255, 0.18);
    --lg-border-top:    rgba(255, 255, 255, 0.55);
    --lg-border:        rgba(255, 255, 255, 0.20);
    --lg-shadow:        0 8px 32px rgba(0,0,0,0.25), 0 1.5px 0 rgba(255,255,255,0.12) inset;
    --lg-shadow-heavy:  0 20px 60px rgba(0,0,0,0.35), 0 2px 0 rgba(255,255,255,0.18) inset;
    --lg-blur:          saturate(180%) blur(28px);
    --lg-blur-heavy:    saturate(200%) blur(40px);
    --lg-radius:        22px;
    --lg-radius-pill:   100px;
    --lg-specular:      linear-gradient(135deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.0) 60%, rgba(255,255,255,0.12) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default for custom cursor */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    background: #0f172a;
    overflow-x: hidden;
}

.char {
    display: inline-block;
    will-change: transform, opacity;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out;
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none;
    }

    * {
        cursor: auto !important;
    }
}

/* Advanced Music Player Card */
.music-player-card {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 25px 20px 20px;
    /* Adjusted padding */
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* Increased gap */
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.music-player-card.collapsed {
    width: 65px !important;
    height: 65px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    overflow: hidden;
    right: 20px;
    bottom: 20px;
}

.music-player-card.collapsed .player-content,
.music-player-card.collapsed .player-toggle-btn {
    display: none;
}

.music-player-card.collapsed::after {
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E");
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.player-toggle-btn {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 11;
}

.music-player-card.is-collapsed .player-toggle-btn {
    transform: translateX(-50%) rotate(180deg);
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.now-playing-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
}

.song-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 5px;
    /* Add breathing room above the progress bar */
}

.player-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.player-btn:hover {
    background: var(--accent);
    color: #000;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 10px;
    border-radius: 12px;
}

.volume-slider {
    width: 50px;
    accent-color: var(--accent);
    cursor: pointer;
}

.volume-icon {
    opacity: 0.7;
}

.player-progress-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.player-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
}

/* Custom Alert UI has been moved to the Liquid Glass section below */


@media (max-width: 768px) {
    .music-player-card {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 20px;
    }
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10000;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.progress-petal {
    position: absolute;
    top: -10px;
    left: 0%;
    font-size: 20px;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Lens Flare */
.lens-flare {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(162, 210, 255, 0.15) 0%, rgba(205, 180, 219, 0) 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    z-index: 1;
}

/* Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, #fff, #ffc8dd, #fff);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

#rainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Bottom of everything */
    pointer-events: none;
    background: #0f172a;
}

.main-wrapper {
    position: relative;
    background: transparent;
    transition: background 1.5s ease;
}

section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- Hero Zoom Section --- */
.hero-zoom {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-inner {
    text-align: center;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 15vw;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
    transform: scale(1);
}

.intro-text {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.7;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    font-size: 0.9rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.5;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* --- Floating Words Section --- */
.floating-words-section {
    height: 200vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.word-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.float-word {
    position: absolute;
    font-size: 8vw;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    opacity: 0.1;
    white-space: nowrap;
    user-select: none;
}

.float-word:nth-child(1) {
    top: 10%;
    left: -10%;
}

.float-word:nth-child(2) {
    top: 30%;
    right: -5%;
}

.float-word:nth-child(3) {
    top: 50%;
    left: 5%;
}

.float-word:nth-child(4) {
    top: 70%;
    right: 10%;
}

.float-word:nth-child(5) {
    top: 85%;
    left: 20%;
}

.center-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4vw;
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

/* --- Horizontal Scroll Section --- */
.horizontal-scroll-container {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.horizontal-wrapper {
    display: flex;
    width: 300%;
    height: 100vh;
    align-items: center;
    padding: 0 10vw;
}

.horizontal-title {
    width: 50vw;
    flex-shrink: 0;
}

.horizontal-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
}

.memory-slider {
    display: flex;
    gap: 80px;
    padding-left: 10vw;
}

.memory-card {
    width: 380px;
    height: 520px;
    padding: 24px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Liquid Glass */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.45);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 2px 0 rgba(255, 255, 255, 0.12) inset;
    position: relative;
    overflow: hidden;
}

.memory-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lg-specular);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.memory-card > * {
    position: relative;
    z-index: 1;
}

.memory-card:hover {
    transform: translateY(-15px) scale(1.02) rotate(1deg);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 2px 0 rgba(255, 255, 255, 0.2) inset;
}

.photo-box {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.memory-card:hover .photo-box img {
    transform: scale(1.1);
}

.memory-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-top: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- Memory Collage Section --- */
.collage-section {
    padding: 150px 0;
    position: relative;
    overflow: visible;
    /* Changed from hidden to ensure all grid items are seen */
    width: 100%;
}

.collage-title {
    text-align: center;
    margin-bottom: 80px;
}

.collage-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    perspective: 2000px;
    /* Essential for 3D reveal effect */
}

/* Perfectly Aligned Grid */
.gallery-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1;
    aspect-ratio: 4/5.5;
    padding: 15px;
    cursor: zoom-in;

    /* Liquid Glass */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.45);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 2px 0 rgba(255, 255, 255, 0.1) inset;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lg-specular);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.gallery-item img {
    width: 100%;
    height: 82%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    filter: brightness(1.05);
    transition: transform 0.6s ease;
    position: relative;
    z-index: 1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px 20px 22px;
    color: white;
    opacity: 1; /* Always visible in Liquid Glass UI */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.item-overlay span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- Comparison Section (The "Exes" vs Yağmur) --- */
.comparison-section {
    height: 100vh;
    width: 100vw;
    background: transparent;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.comparison-wrapper {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    position: relative;
    padding: 100px 5vw;
}

.comparison-title {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: var(--accent);
    text-transform: none;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 20;
    text-align: center;
    width: 90%;
    line-height: 1.2;
}

.character-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    height: 80%;
    align-items: center;
    gap: 50px;
}

.ex-gallery {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ex-item {
    position: absolute;
    width: 100%;
    max-width: 500px;
    background: #fff;
    /* High-contrast white background */
    padding: 30px;
    border-radius: 24px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    text-align: center;
    color: #000;
    /* Crisp black text */
    opacity: 0;
    transform: scale(0.8) translateX(-100px);
    transition: all 0.3s ease;
}

.ex-item img {
    width: 100%;
    height: auto;
    filter: grayscale(1) contrast(1.1) brightness(1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.ex-label {
    display: block;
    margin-top: 15px;
    font-size: 2.5rem;
    color: #000 !important;
    /* Force black for maximum contrast */
    font-weight: 900;
    font-style: italic;
}

@media (max-width: 768px) {
    .ex-item {
        max-width: 90vw;
        padding: 20px;
    }

    .ex-label {
        font-size: 1.8rem;
    }
}

.yağmur-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.yağmur-portrait {
    width: 100%;
    max-width: 800px;
    /* Increased from 600px */
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 0 50px rgba(162, 210, 255, 0.3));
    transform: scale(0.6);
}

.halo {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(162, 210, 255, 0.2) 0%, rgba(205, 180, 219, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-halo 4s ease-in-out infinite;
}

@keyframes pulse-halo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.yağmur-tag {
    margin-top: 30px;
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    opacity: 0;
    transform: translateY(20px);
}



/* Sticky Note Styles */
.sticky-note {
    width: 200px;
    min-height: 200px;
    padding: 25px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    transform: rotate(var(--rotation)) translateY(var(--y-offset));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    background: rgba(255, 238, 173, 0.2);
    /* Tinted wash */
}

/* Stickers Styles */
.sticker {
    position: relative;
    font-size: 4rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transform: rotate(var(--rotation));
    z-index: 5;
    user-select: none;
    cursor: default;
    transition: transform 0.3s ease;
}

.sticker:hover {
    transform: scale(1.2) rotate(0deg);
}



/* --- Final Reveal --- */
.final-reveal {
    min-height: 150vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.final-reveal .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gift-box-premium {
    width: 200px;
    height: 200px;
    background: var(--accent);
    position: relative;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.gift-box-premium:hover {
    transform: scale(1.1) rotate(-3deg);
}

.gift-top {
    position: absolute;
    width: 110%;
    height: 40px;
    background: #ffb7d5;
    top: -10px;
    left: -5%;
    border-radius: 10px;
    z-index: 2;
}

.ribbon {
    position: absolute;
    width: 40px;
    height: 100%;
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
}

.gift-box-premium p {
    position: absolute;
    width: 100%;
    bottom: -50px;
    text-align: center;
    font-weight: 600;
}

.epic-letter {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 580px;
    padding: 54px 44px 44px;
    z-index: 100000;
    text-align: center;
    overflow: hidden;

    /* Liquid Glass core */
    background: rgba(12, 20, 40, 0.65);
    backdrop-filter: saturate(180%) blur(50px);
    -webkit-backdrop-filter: saturate(180%) blur(50px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top-color: rgba(255, 255, 255, 0.52);
    border-radius: 40px;
    box-shadow:
        0 50px 120px rgba(0, 0, 0, 0.60),
        0 2px 0 rgba(255, 255, 255, 0.15) inset,
        0 -1px 0 rgba(0, 0, 0, 0.20) inset;
}

/* Specular highlight layer */
.epic-letter::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        148deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.05) 30%,
        rgba(255, 255, 255, 0.00) 58%,
        rgba(162, 210, 255, 0.06) 100%
    );
    pointer-events: none;
}

/* Ambient glow at bottom */
.epic-letter::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(162, 210, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

.epic-letter.active {
    display: block;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.75);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.20);
    color: white;
}

.letter-inner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.letter-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-weight: 400; /* Slightly heavier for readability */
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Shadow for pop */
}

.signature {
    margin-top: 40px;
    font-style: italic;
    font-size: 1.1rem;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    /* Pure black for maximum photo pop */
    z-index: 20000;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border: 15px solid white;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.lightbox-caption {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* --- Footer --- */
.final-footer {
    padding: 60px;
    text-align: center;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 1024px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

@media (max-width: 768px) {


    .main-title {
        font-size: 18vw;
        text-align: center;
    }

    .c-block span {
        font-size: 3rem;
    }

    .memory-card {
        width: 300px;
        height: 450px;
    }

    .horizontal-wrapper {
        width: 400%;
    }

    .collage-grid,
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
        /* Reduced padding to make photos wider */
    }

    .gallery-item {
        aspect-ratio: 4/5;
    }
}

/* --- Gift Gateway Overlay --- */
.gift-gateway-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gateway-card {
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 0 50px rgba(162, 210, 255, 0.2);
}

.gateway-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 30px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.gateway-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    height: 60px; /* Container height for the escaping button */
}

.primary-btn, .secondary-btn {
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--accent);
    color: #000;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* --- WhatsApp Simulation --- */
.whatsapp-container {
    width: 100%;
    height: 100%;
    background: #0b141a; /* WhatsApp Dark Mode BG */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
}

.wp-header {
    background: #202c33;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    gap: 5px; /* Reduced for authentic feel */
    color: #e9edef;
    cursor: pointer;
}

.wp-back {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.2s;
}

.wp-back:active {
    background: rgba(255, 255, 255, 0.1);
}

.wp-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: #6a7175;
}

.wp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wp-name {
    font-weight: 600;
    font-size: 16px;
}

.wp-status {
    font-size: 12px;
    color: #8696a0;
}

.wp-body {
    flex-grow: 1;
    padding: 20px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: contain;
    background-repeat: repeat;
    opacity: 0.8;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
}

@keyframes wpPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.msg.received {
    background: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.msg.sent {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wp-footer {
    background: #202c33;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wp-input-box {
    flex-grow: 1;
    background: #2a3942;
    padding: 10px 15px;
    border-radius: 20px;
    color: #8696a0;
    font-size: 15px;
}

.wp-mic {
    width: 45px;
    height: 45px;
    background: #00a884;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

@media (max-width: 768px) {
    .gateway-card {
        width: 95%;
        padding: 30px 20px;
    }
}

.quick-reply-bubble {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #00a884;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

@keyframes bounceIn {
    from { bottom: 60px; opacity: 0; }
    to { bottom: 80px; opacity: 1; }
}

.quick-reply-bubble:hover {
    background: #00c99d;
    transform: translateX(-50%) scale(1.05);
}

/* --- Custom Alert Styles --- */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.alert-box {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

#alertMessage {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: white;
}

.alert-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.alert-btns button {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.alert-btns button:first-child {
    background: var(--accent);
    color: #000;
}

.alert-btns button:nth-child(2) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.alert-btns button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* --- WhatsApp Profile Overlay --- */
.wp-profile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.wp-profile-card {
    background: #0b141a;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    animation: wpProfilePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes wpProfilePop {
    from { transform: scale(0.8) translateY(50px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.wp-profile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.wp-profile-main {
    padding: 40px 20px;
    background: #202c33;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.wp-large-avatar {
    width: 120px;
    height: 120px;
    background: #6a7175;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.wp-profile-info h2 {
    color: #e9edef;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.wp-profile-info p {
    color: #00a884;
    font-size: 0.9rem;
    font-weight: 600;
}

.wp-profile-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    color: #8696a0;
    font-size: 0.85rem;
}

.detail-value {
    color: #e9edef;
    font-size: 1rem;
}

.mini-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.mini-media {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* ============================================================
   APPLE LIQUID GLASS UI SYSTEM
   Based on iOS 26 design language with CSS frosted glass,
   specular rim highlights, and layered depth
   ============================================================ */

/* --- Liquid Glass Utility Mixin (as class) --- */
.liquid-glass {
    background: var(--lg-bg);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
    border: 1px solid var(--lg-border);
    border-top-color: var(--lg-border-top);
    box-shadow: var(--lg-shadow);
    position: relative;
    overflow: hidden;
}

/* Specular rim overlay (::before pseudo) */
.liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--lg-specular);
    pointer-events: none;
    z-index: 0;
}

/* Content sits on top of specular */
.liquid-glass > * {
    position: relative;
    z-index: 1;
}

/* --- Phone Notification — Liquid Glass Style --- */
.phone-notification {
    position: fixed;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 370px;
    z-index: 2000000;
    cursor: pointer;
    transition: top 0.55s cubic-bezier(0.19, 1, 0.22, 1);

    /* Liquid Glass core */
    background: rgba(28, 28, 30, 0.72);
    backdrop-filter: saturate(200%) blur(40px);
    -webkit-backdrop-filter: saturate(200%) blur(40px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-top-color: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.40),
        0 1.5px 0 rgba(255, 255, 255, 0.20) inset,
        0 -1px 0 rgba(0, 0, 0, 0.15) inset;
    overflow: hidden;

    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

/* Specular highlight strip on notification */
.phone-notification::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(255,255,255,0.30) 0%,
        rgba(255,255,255,0.05) 30%,
        rgba(255,255,255,0.00) 55%,
        rgba(255,255,255,0.06) 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

.phone-notification.active {
    top: 20px;
}

.phone-notification:active {
    transform: translateX(-50%) scale(0.97);
}

.notif-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.notif-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    position: relative;
    z-index: 1;
}

.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.notif-title {
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.80rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.notif-time {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
}

.notif-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

/* --- Alert Box — Liquid Glass --- */
.custom-alert {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.alert-box {
    background: rgba(30, 30, 35, 0.75);
    backdrop-filter: saturate(180%) blur(35px);
    -webkit-backdrop-filter: saturate(180%) blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-top-color: rgba(255, 255, 255, 0.50);
    border-radius: 28px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 1.5px 0 rgba(255, 255, 255, 0.18) inset;
    overflow: hidden;
    position: relative;
}

/* Specular */
.alert-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(255,255,255,0.22) 0%,
        rgba(255,255,255,0.04) 35%,
        rgba(255,255,255,0.00) 60%,
        rgba(255,255,255,0.05) 100%
    );
    pointer-events: none;
    border-radius: inherit;
}

#alertMessage {
    font-size: 1rem;
    line-height: 1.55;
    padding: 28px 24px 20px;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.alert-btns {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    position: relative;
    z-index: 1;
}

.alert-btns button {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    color: rgba(255, 255, 255, 0.88);
}

.alert-btns button:first-child {
    color: var(--white);
    background: rgba(162, 210, 255, 0.3); /* Subtle blue tint */
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    font-weight: 700;
}

.alert-btns button:last-child {
    color: rgba(255, 255, 255, 0.6);
}

.alert-btns button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.alert-btns button:active {
    background: rgba(255, 255, 255, 0.15);
}

/* --- Gateway Card — Liquid Glass --- */
.gateway-card {
    width: 90%;
    max-width: 420px;
    padding: 0;
    border-radius: 36px;
    overflow: hidden;
    position: relative;

    background: rgba(22, 22, 28, 0.72);
    backdrop-filter: saturate(200%) blur(40px);
    -webkit-backdrop-filter: saturate(200%) blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top-color: rgba(255, 255, 255, 0.50);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 2px 0 rgba(255, 255, 255, 0.15) inset;
}

.gateway-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        150deg,
        rgba(255,255,255,0.20) 0%,
        rgba(255,255,255,0.03) 40%,
        rgba(255,255,255,0.00) 65%,
        rgba(255,255,255,0.06) 100%
    );
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.gateway-card > * {
    position: relative;
    z-index: 1;
}

.gateway-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.92);
    padding: 36px 28px 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.input-group {
    padding: 0 28px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.30);
    padding: 15px 18px;
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) inset;
}

.input-group input:focus {
    border-color: rgba(162, 210, 255, 0.50);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(162, 210, 255, 0.15), 0 2px 8px rgba(0,0,0,0.15) inset;
}

.gateway-btns {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    height: auto;
    padding: 0;
    position: relative;
}

.primary-btn, .secondary-btn {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-radius: 0;
}

.primary-btn {
    color: var(--primary);
    font-weight: 700;
    border-right: 1px solid rgba(255,255,255,0.10);
}

.secondary-btn {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.primary-btn:hover { background: rgba(162,210,255,0.10); }
.secondary-btn:hover { background: rgba(255,255,255,0.06); }
.primary-btn:active { background: rgba(162,210,255,0.20); }

/* --- WhatsApp Messages — Liquid Glass bubbles --- */
.msg.received {
    background: rgba(40, 50, 58, 0.80);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(233, 237, 239, 0.95);
    align-self: flex-start;
    border-top-left-radius: 4px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top-color: rgba(255,255,255,0.18);
    box-shadow: 0 4px 16px rgba(0,0,0,0.20), 0 1px 0 rgba(255,255,255,0.08) inset;
    position: relative;
    overflow: hidden;
}

.msg.received::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.00) 50%);
    pointer-events: none;
}

.msg.sent {
    background: rgba(0, 100, 80, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: rgba(233, 237, 239, 0.95);
    align-self: flex-end;
    border-top-right-radius: 4px;
    border: 1px solid rgba(255,255,255,0.10);
    border-top-color: rgba(255,255,255,0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.20), 0 1px 0 rgba(255,255,255,0.10) inset;
    position: relative;
    overflow: hidden;
}

.msg.sent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.00) 50%);
    pointer-events: none;
}

/* --- Quick Reply Bubble — Liquid Glass pill --- */
.quick-reply-bubble {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 100;
    white-space: nowrap;
    animation: bubbleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Liquid Glass pill */
    background: rgba(0, 160, 120, 0.75);
    backdrop-filter: saturate(200%) blur(20px);
    -webkit-backdrop-filter: saturate(200%) blur(20px);
    border: 1px solid rgba(255,255,255,0.25);
    border-top-color: rgba(255,255,255,0.55);
    box-shadow:
        0 8px 24px rgba(0,0,0,0.30),
        0 1.5px 0 rgba(255,255,255,0.20) inset;
    color: white;
    position: absolute;
}

.quick-reply-bubble::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.00) 50%);
    pointer-events: none;
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px) scale(0.8); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.quick-reply-bubble:hover {
    background: rgba(0, 185, 140, 0.82);
    transform: translateX(-50%) scale(1.04);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 1.5px 0 rgba(255,255,255,0.22) inset;
}

.quick-reply-bubble.disabled {
    opacity: 0.40;
    cursor: not-allowed;
    filter: grayscale(0.6);
    pointer-events: none;
}

/* --- WhatsApp Profile Card — Liquid Glass --- */
.wp-profile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.wp-profile-card {
    background: rgba(18, 22, 28, 0.80);
    backdrop-filter: saturate(200%) blur(50px);
    -webkit-backdrop-filter: saturate(200%) blur(50px);
    border: 1px solid rgba(255,255,255,0.18);
    border-top-color: rgba(255,255,255,0.50);
    width: 100%;
    max-width: 360px;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 40px 100px rgba(0,0,0,0.55),
        0 2px 0 rgba(255,255,255,0.14) inset;
    animation: wpProfilePop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wp-profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        150deg,
        rgba(255,255,255,0.18) 0%,
        rgba(255,255,255,0.03) 40%,
        rgba(255,255,255,0.00) 65%
    );
    pointer-events: none;
    z-index: 0;
}

.wp-profile-card > * { position: relative; z-index: 1; }

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

.wp-profile-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.80);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.wp-profile-close:hover { background: rgba(255,255,255,0.18); }

.wp-profile-main {
    padding: 44px 20px 28px;
    background: linear-gradient(180deg, rgba(40,80,120,0.30) 0%, rgba(0,0,0,0) 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.wp-large-avatar {
    width: 100px;
    height: 100px;
    background: rgba(100, 110, 120, 0.50);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.20) inset;
}

.wp-profile-info h2 {
    color: rgba(255,255,255,0.92);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.wp-profile-info p {
    color: rgba(100, 220, 170, 0.90);
    font-size: 0.85rem;
    font-weight: 600;
}

.wp-profile-details {
    padding: 8px 20px 24px;
    display: flex;
    flex-direction: column;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail-item:last-child { border-bottom: none; }

.detail-label {
    color: rgba(255,255,255,0.38);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.detail-value {
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
}

.mini-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 10px;
}

.mini-media {
    aspect-ratio: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}