/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #0a0612;
    --bg-dark: #110b1f;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);

    --rose-400: #fb7185;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;

    --pink-400: #f472b6;
    --pink-500: #ec4899;

    --purple-400: #c084fc;
    --purple-500: #a855f7;

    --gold: #fbbf24;

    --text-primary: #faf5ff;
    --text-secondary: rgba(250, 245, 255, 0.65);
    --text-muted: rgba(250, 245, 255, 0.4);

    --gradient-main: linear-gradient(135deg, #f43f5e, #ec4899, #a855f7);
    --gradient-bg: radial-gradient(ellipse at 20% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
                   radial-gradient(ellipse at 50% 80%, rgba(244, 63, 94, 0.1) 0%, transparent 50%);

    --font-display: 'Dancing Script', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

/* ==================== FLOATING HEARTS BG ==================== */
.hearts-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    color: var(--rose-500);
    opacity: 0;
    animation: floatHeart linear forwards;
    filter: blur(0.5px);
    pointer-events: none;
}

@keyframes floatHeart {
    0% { opacity: 0; transform: translateY(100vh) rotate(0deg) scale(0.5); }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-10vh) rotate(360deg) scale(1); }
}

/* ==================== LOCK SCREEN ==================== */
.lock-screen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    background-image: var(--gradient-bg);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.lock-screen.unlocked {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.lock-container {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s var(--ease-out);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--rose-400);
    transition: all 0.5s var(--ease-out);
}

.lock-icon.unlocking {
    background: var(--rose-500);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 40px rgba(244, 63, 94, 0.5);
}

.lock-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.lock-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* PIN Input */
.password-wrapper {
    max-width: 300px;
    margin: 0 auto;
}

.pin-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 2rem;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--rose-400);
    background: transparent;
    transition: all 0.3s var(--ease-bounce);
}

.pin-dot.filled {
    background: var(--rose-400);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.5);
    transform: scale(1.15);
}

.pin-dot.error {
    border-color: #ef4444;
    background: #ef4444;
    animation: dotShake 0.5s var(--ease-out);
}

@keyframes dotShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

.pin-pad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 260px;
    margin: 0 auto;
}

.pin-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.pin-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--rose-400);
    transform: scale(1.05);
}

.pin-btn:active {
    transform: scale(0.95);
    background: rgba(244, 63, 94, 0.2);
}

.pin-btn-empty { visibility: hidden; }
.pin-btn-delete { color: var(--rose-400); }

.error-msg {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease-out);
}

.error-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* Profile Selection */
.profile-selection {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeIn 0.4s var(--ease-out);
}

.profile-selection.show {
    display: flex;
}

.profile-title {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.profile-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background: var(--glass);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-body);
    color: var(--text-primary);
}

.profile-card:hover {
    border-color: var(--rose-400);
    background: rgba(244, 63, 94, 0.1);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.2);
}

.profile-card:active {
    transform: translateY(0) scale(0.97);
}

.profile-photo-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 22px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s var(--ease-out);
}

.profile-card:hover .profile-photo-wrapper {
    border-color: var(--rose-400);
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.25);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}

.profile-card:hover .profile-photo {
    transform: scale(1.08);
}

.profile-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    display: none;
    position: relative;
    z-index: 1;
}

.main-content.visible {
    display: block;
    animation: contentReveal 1s var(--ease-out);
}

@keyframes contentReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== HERO ==================== */
.hero {
    min-height: calc(100vh - 120px);
    min-height: calc(100dvh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.2) 0%, rgba(168, 85, 247, 0.1) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 600px;
}

.hero-heart-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    color: var(--rose-500);
    animation: heartbeat 1.5s ease-in-out infinite;
}

.hero-heart-icon svg { width: 100%; height: 100%; }

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

.hero-names {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.name {
    display: inline-block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nameReveal 1s var(--ease-out) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.name-1 { animation-delay: 0.3s; }
.name-2 { animation-delay: 0.7s; }

@keyframes nameReveal {
    to { opacity: 1; transform: translateY(0); }
}

.ampersand {
    display: inline-block;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--rose-400);
    margin: 0 0.5rem;
    font-size: 3rem;
    animation: nameReveal 1s var(--ease-out) 0.5s forwards;
    opacity: 0;
}

.hero-date {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
    animation: nameReveal 1s var(--ease-out) 1s forwards;
    opacity: 0;
}

/* ==================== COUNTER ==================== */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.counter-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.8rem 0.8rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 20px;
}

.counter-card:hover::before { opacity: 0.08; }

.counter-card:hover {
    transform: translateY(-4px);
    border-color: rgba(244, 63, 94, 0.3);
    box-shadow: 0 20px 40px rgba(244, 63, 94, 0.1);
}

.counter-value {
    font-family: var(--font-body);
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.counter-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.milestone-info {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.3rem;
    min-height: 2rem;
    margin-bottom: 1rem;
}

/* ==================== TANIŞMA SAYACI ==================== */
.met-block {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    opacity: 0;
    animation: nameReveal 1s var(--ease-out) 1.2s forwards;
}

.met-title {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.counter-grid-secondary {
    gap: 0.7rem;
    max-width: 420px;
    margin: 0 auto 0.8rem;
}

.counter-grid-secondary .counter-card {
    padding: 1rem 0.4rem;
    border-radius: 14px;
}

.counter-grid-secondary .counter-value {
    font-size: 1.8rem;
}

.counter-grid-secondary .counter-label {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    margin-top: 0.3rem;
}

.met-caption {
    color: var(--purple-400);
    font-family: var(--font-display);
    font-size: 1.2rem;
    min-height: 1.6rem;
}

@media (max-width: 380px) {
    .counter-grid-secondary .counter-value { font-size: 1.4rem; }
    .counter-grid-secondary .counter-card { padding: 0.8rem 0.3rem; border-radius: 12px; }
    .anniversary-grid { gap: 0.6rem; }
    .anniversary-value { font-size: 1.5rem; }
}

/* Scroll Hint */
.scroll-hint {
    margin-top: 1rem;
    color: var(--text-muted);
    animation: bobbing 2s ease-in-out infinite;
    opacity: 0;
    animation: nameReveal 1s var(--ease-out) 1.5s forwards, bobbing 2s ease-in-out infinite 2s;
}

@keyframes bobbing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ==================== SECTION SHARED ==================== */
.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-align: center;
}

/* ==================== ANNIVERSARY COUNTDOWN ==================== */
.anniversary-section {
    padding: 4rem 1.5rem;
    position: relative;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
}

.anniversary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.anniversary-card {
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 18px;
    padding: 1.5rem 0.8rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease-out);
}

.anniversary-card:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.08);
}

.anniversary-value {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.anniversary-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.4rem;
}

.anniversary-celebration {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    display: none;
    animation: celebrationPop 0.6s var(--ease-bounce);
}

.anniversary-celebration.active {
    display: block;
}

@keyframes celebrationPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==================== PHOTO GALLERY ==================== */
.gallery-section {
    padding: 4rem 1.5rem;
    position: relative;
    background-image: radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.06) 0%, transparent 60%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all 0.3s var(--ease-out);
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--rose-400);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 5;
}

.gallery-item:hover .gallery-delete,
.gallery-item:active .gallery-delete {
    opacity: 1;
}

.gallery-delete:hover {
    background: rgba(239, 68, 68, 0.8);
}

/* Upload Button */
.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem auto 0;
    padding: 0.9rem 2rem;
    border-radius: 14px;
    background: var(--glass);
    border: 1px dashed rgba(244, 63, 94, 0.4);
    color: var(--rose-400);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
    max-width: 300px;
}

.upload-btn:hover,
.upload-btn:active {
    background: rgba(244, 63, 94, 0.1);
    border-color: var(--rose-400);
    transform: scale(1.02);
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.gallery-empty-icon {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    opacity: 0.5;
}

.gallery-empty-hint {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s var(--ease-out);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-caption {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 2rem 1.5rem 5rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

/* ==================== BOTTOM NAVIGATION ==================== */
#bottomNav {
    display: none;
}

.bottom-nav {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 450px;
    z-index: 1500;
    justify-content: space-around;
    align-items: center;
    /* Cam efekti güçlendirildi */
    background: rgba(20, 15, 35, 0.4);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    border-radius: 35px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    -webkit-tap-highlight-color: transparent;
}

.nav-item:hover {
    color: var(--rose-300);
}

.nav-item.active {
    color: var(--rose-400);
    background: rgba(244, 63, 94, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

.nav-icon {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

.nav-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.55rem;
}

/* ==================== INSTALL BANNER ==================== */
.install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    background: rgba(17, 11, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    animation: slideUp 0.5s var(--ease-out);
}

.install-banner.show {
    display: flex;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.install-banner p {
    font-size: 0.9rem;
    color: var(--text-primary);
    flex: 1;
}

.install-btn {
    background: var(--gradient-main);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
}

.install-btn:active {
    transform: scale(0.95);
}

.install-dismiss {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
}

/* ==================== ARGUMENT COUNTER ==================== */
.argument-section {
    padding: 4rem 1.5rem;
    position: relative;
    background-image: radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 60%);
    text-align: center;
}

.argument-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.argument-card {
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 18px;
    padding: 1.5rem 0.8rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease-out);
}

.argument-card:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.08);
}

.argument-value {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--purple-400);
    line-height: 1.2;
}

.argument-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.4rem;
}

.argue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px dashed rgba(239, 68, 68, 0.4);
    color: #ef4444;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
}

.argue-btn:hover,
.argue-btn:active {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: scale(1.05);
}

/* ==================== CUSTOM NOTIFICATION ==================== */
.notif-section {
    padding: 4rem 1.5rem;
    position: relative;
    background-image: radial-gradient(ellipse at 50% 50%, rgba(244, 63, 94, 0.06) 0%, transparent 60%);
    text-align: center;
}

.notif-wrapper {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: 0.8rem;
    flex-direction: column;
    align-items: center;
}

.notif-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.notif-input::placeholder {
    color: var(--text-muted);
}

.notif-input:focus {
    border-color: var(--rose-400);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.15);
}

.notif-btn {
    padding: 0.9rem 2.5rem;
    border-radius: 14px;
    background: var(--gradient-main);
    border: none;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
}

.notif-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.3);
}

.notif-btn:active {
    transform: scale(0.95);
}

.notif-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE (MOBILE) ==================== */
@media (max-width: 768px) {
    .lock-title { font-size: 2rem; }
    .lock-icon { width: 68px; height: 68px; }

    .pin-btn { width: 64px; height: 64px; font-size: 1.25rem; }
    .pin-pad { gap: 10px; max-width: 230px; }

    .hero-names { font-size: 2.8rem; }
    .ampersand { font-size: 2rem; }

    .counter-grid, .argument-grid { gap: 0.7rem; }
    .counter-card { border-radius: 16px; padding: 1.3rem 0.5rem; }
    .counter-value { font-size: 2rem; }
    .counter-label { font-size: 0.65rem; letter-spacing: 1.5px; }

    .hero-heart-icon { width: 45px; height: 45px; margin-bottom: 1.5rem; }
    .hero-date { font-size: 1rem; margin-bottom: 2rem; }
    .hero-glow { width: 350px; height: 350px; }

    .section-title { font-size: 1.8rem; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }

    .anniversary-value, .argument-value { font-size: 1.8rem; }
    .anniversary-card, .argument-card { padding: 1.2rem 0.5rem; border-radius: 14px; }

    .profile-cards { gap: 1.5rem; }
    .profile-photo-wrapper { width: 110px; height: 110px; border-radius: 18px; }
    .profile-name { font-size: 1.2rem; }
    .profile-card { padding: 1rem; border-radius: 18px; }
}

@media (max-width: 380px) {
    .hero-names { font-size: 2.2rem; }
    .ampersand { font-size: 1.6rem; margin: 0 0.3rem; }

    .counter-value { font-size: 1.7rem; }
    .counter-card { padding: 1rem 0.3rem; border-radius: 12px; }
    .counter-label { font-size: 0.6rem; }

    .pin-btn { width: 56px; height: 56px; font-size: 1.1rem; }
    .pin-pad { gap: 8px; max-width: 210px; }

    .lock-title { font-size: 1.8rem; }
    .milestone-info { font-size: 1.1rem; }

    .profile-cards { gap: 1rem; }
    .profile-photo-wrapper { width: 95px; height: 95px; border-radius: 16px; }
    .profile-name { font-size: 1.1rem; }
    .profile-card { padding: 0.8rem; }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(244, 63, 94, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(244, 63, 94, 0.5); }

/* ==================== MILITARY COUNTDOWN ==================== */
.military-section {
    padding: 4rem 1.5rem;
    position: relative;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
    text-align: center;
}

.military-section .section-title {
    background: linear-gradient(135deg, #22c55e, #16a34a, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.military-section.safak .section-title {
    background: linear-gradient(135deg, #f59e0b, #f97316, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.military-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.military-card {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 18px;
    padding: 1.5rem 0.8rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease-out);
}

.military-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.08);
}

.military-section.safak .military-card {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.15);
}

.military-section.safak .military-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.08);
}

.military-value {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 700;
    color: #4ade80;
    line-height: 1.2;
}

.military-section.safak .military-value {
    color: #fbbf24;
}

.military-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.4rem;
}

.military-celebration {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #4ade80;
    display: none;
    animation: celebrationPop 0.6s var(--ease-bounce);
}

.military-celebration.active {
    display: block;
}

@media (max-width: 768px) {
    .military-grid { gap: 0.7rem; }
    .military-value { font-size: 1.8rem; }
    .military-card { padding: 1.2rem 0.5rem; border-radius: 14px; }
}

/* 5 sekmeli menü dar telefonlara sığsın */
@media (max-width: 400px) {
    .nav-item { padding: 0.4rem 0.35rem; }
    .nav-label { letter-spacing: 0.3px; }
}

/* ==================== BADGES BANNER ==================== */
.badges-banner { display: flex; align-items: center; gap: 1rem; max-width: 480px; margin: 1.8rem auto 1rem; padding: 1rem 1.25rem; background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(244, 63, 94, 0.12)); border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 20px; text-decoration: none; color: #fff; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }
.badges-banner:hover { transform: translateY(-3px) scale(1.02); border-color: #fbbf24; box-shadow: 0 12px 30px rgba(251, 191, 36, 0.25); }
.badges-banner-icon { font-size: 2.2rem; filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4)); }
.badges-banner-content { flex: 1; text-align: left; }
.badges-banner-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: #fff; margin-bottom: 0.2rem; font-weight: 600; }
.badges-banner-desc { font-size: 0.8rem; color: rgba(250, 245, 255, 0.7); }
.badges-banner-arrow { font-size: 1.3rem; color: #fbbf24; transition: transform 0.3s; }
.badges-banner:hover .badges-banner-arrow { transform: translateX(4px); }


/* ==================== LIVE DISTANCE RADAR ==================== */
.distance-section {
    padding: 3.5rem 1.5rem 2rem;
    position: relative;
}

.distance-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 1.4rem 1.6rem;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(244, 63, 94, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.distance-card.together-glow {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 45px rgba(244, 63, 94, 0.25), 0 0 80px rgba(251, 191, 36, 0.12);
}

.distance-radar-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
}

.radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(244, 63, 94, 0.18);
    animation: radarPulse 4s ease-out infinite;
}

.radar-ring.r1 { width: 140px; height: 140px; animation-delay: 0s; }
.radar-ring.r2 { width: 240px; height: 240px; animation-delay: 1.3s; }
.radar-ring.r3 { width: 340px; height: 340px; animation-delay: 2.6s; }

@keyframes radarPulse {
    0% { transform: scale(0.75); opacity: 0; }
    40% { opacity: 0.65; }
    100% { transform: scale(1.25); opacity: 0; }
}

.distance-avatars {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.dist-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 96px;
    flex-shrink: 0;
}

.dist-avatar-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-main);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.3);
    margin-bottom: 0.45rem;
}

.dist-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 2px solid var(--bg-deep);
}

.dist-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid var(--bg-deep);
    transition: background 0.3s, box-shadow 0.3s;
}

.dist-status-dot.online {
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
}

.dist-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dist-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.dist-connector {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.dist-value-badge {
    padding: 0.4rem 1.05rem;
    border-radius: 999px;
    background: rgba(15, 9, 28, 0.88);
    border: 1px solid rgba(244, 63, 94, 0.45);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rose-400);
    box-shadow: 0 4px 18px rgba(244, 63, 94, 0.22);
    white-space: nowrap;
}

.live-compass-dial {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.16), rgba(10, 6, 18, 0.9));
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem 0;
    box-shadow: inset 0 0 14px rgba(244, 63, 94, 0.18), 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.live-compass-dial.aligned {
    border-color: #4ade80;
    box-shadow: 0 0 22px rgba(74, 222, 128, 0.45), inset 0 0 14px rgba(74, 222, 128, 0.25);
}

.compass-n {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(250, 245, 255, 0.45);
    pointer-events: none;
}

.compass-needle {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.14s linear;
    will-change: transform;
}

.needle-arrow {
    font-size: 0.85rem;
    line-height: 1;
    color: var(--rose-400);
    filter: drop-shadow(0 0 6px rgba(244, 63, 94, 0.8));
    margin-top: -10px;
}

.live-compass-dial.aligned .needle-arrow {
    color: #4ade80;
    filter: drop-shadow(0 0 8px #4ade80);
}

.needle-heart {
    font-size: 0.95rem;
    line-height: 1;
    margin-top: 1px;
}

.dist-bearing {
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.4px;
}

.distance-message {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1.1rem;
    min-height: 1.6rem;
}

.distance-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.distance-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(244, 63, 94, 0.4);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(168, 85, 247, 0.25));
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.2);
}

.distance-btn-secondary {
    border-color: rgba(192, 132, 252, 0.4);
    background: rgba(192, 132, 252, 0.14);
    box-shadow: 0 6px 18px rgba(168, 85, 247, 0.15);
}

.distance-btn-secondary.active {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.18);
}

.distance-btn:hover {
    transform: translateY(-2px);
    background: var(--gradient-main);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.35);
}

.distance-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* ==================== NIGHT SKY & MOON MAP ==================== */
.sky-section {
    padding: 3.5rem 1.5rem 2.5rem;
    position: relative;
}

.sky-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.5rem 1.2rem 1.6rem;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 35%, rgba(30, 18, 60, 0.7), rgba(10, 6, 18, 0.92));
    border: 1px solid rgba(192, 132, 252, 0.22);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(168, 85, 247, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.sky-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.3rem;
}

.sky-tab {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.55rem 0.35rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: var(--font-body);
}

.sky-tab-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sky-tab-sub {
    font-size: 0.63rem;
    color: var(--text-muted);
}

.sky-tab.active {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.22), rgba(168, 85, 247, 0.25));
    border-color: rgba(244, 63, 94, 0.35);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.18);
}

.sky-tab.active .sky-tab-sub {
    color: var(--rose-400);
}

.sky-dome-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 6px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.25), rgba(244, 63, 94, 0.15), transparent 72%);
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.2), inset 0 0 25px rgba(244, 63, 94, 0.15);
    cursor: grab;
    user-select: none;
}

.sky-dome-wrapper:active {
    cursor: grabbing;
}

#skyCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.sky-compass-label {
    position: absolute;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(250, 245, 255, 0.65);
    background: rgba(10, 6, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sky-compass-label.north { top: 10px; left: 50%; transform: translateX(-50%); color: var(--rose-400); }
.sky-compass-label.south { bottom: 10px; left: 50%; transform: translateX(-50%); }
.sky-compass-label.east  { right: 10px; top: 50%; transform: translateY(-50%); }
.sky-compass-label.west  { left: 10px; top: 50%; transform: translateY(-50%); }

.sky-wish-toast {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(10, 6, 18, 0.85);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.05rem;
    pointer-events: none;
    opacity: 0;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
}

.sky-wish-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.sky-controls-row {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.sky-mini-btn {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.25s;
}

.sky-mini-btn.active,
.sky-mini-btn:hover {
    background: rgba(192, 132, 252, 0.18);
    border-color: var(--purple-400);
    color: #fff;
}

.moon-info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    text-align: left;
}

#moonCanvas {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}

.moon-meta {
    flex: 1;
    min-width: 0;
}

.moon-phase-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.15rem;
}

.moon-phase-details {
    font-size: 0.75rem;
    color: var(--purple-400);
    margin-bottom: 0.4rem;
}

.moon-quote {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 420px) {
    .dist-person { width: 78px; }
    .dist-avatar-wrap { width: 58px; height: 58px; }
    .dist-value-badge { font-size: 1rem; padding: 0.3rem 0.75rem; }
    .sky-tab-title { font-size: 0.72rem; }
    .sky-tab-sub { font-size: 0.58rem; }
    .moon-info-box { flex-direction: column; text-align: center; }
}


/* ==================== LOVE FLOWER (AŞK ÇİÇEĞİMİZ) ==================== */
.plant-section {
    padding: 3.5rem 1.5rem 2rem;
    position: relative;
}

.plant-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.6rem 1.4rem 1.4rem;
    border-radius: 28px;
    background: linear-gradient(155deg, rgba(34, 197, 94, 0.07), rgba(244, 63, 94, 0.09), rgba(168, 85, 247, 0.07));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plant-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.plant-level-badge {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #86efac;
    font-size: 0.8rem;
    font-weight: 600;
}

.plant-xp-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.plant-stage-box {
    position: relative;
    width: 220px;
    height: 235px;
    margin: 0 auto 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plant-sun-glow {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25), rgba(244, 63, 94, 0.12), transparent 70%);
    top: 15px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    opacity: 0.55;
    pointer-events: none;
    transition: all 0.6s ease;
}

.plant-sun-glow.sun-boost {
    transform: translateX(-50%) scale(1.3);
    opacity: 1;
}

.love-plant-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.plant-sway-group {
    transform-origin: 110px 172px;
    animation: plantSway 4.5s ease-in-out infinite alternate;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.plant-card.wilted .plant-sway-group {
    animation: none;
    transform: rotate(11deg) scaleY(0.92);
    filter: saturate(0.55) brightness(0.85);
}

@keyframes plantSway {
    0% { transform: rotate(-2.5deg); }
    100% { transform: rotate(2.5deg); }
}

.plant-part {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: 110px 120px;
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plant-part.show {
    opacity: 1;
    transform: scale(1);
}

.plant-effects-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
}

.plant-drop {
    position: absolute;
    font-size: 1.05rem;
    animation: dropFall 1s ease-in forwards;
}

@keyframes dropFall {
    0% { transform: translateY(-10px) scale(0.7); opacity: 0; }
    25% { opacity: 1; }
    100% { transform: translateY(155px) scale(1); opacity: 0; }
}

.plant-progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.plant-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4ade80, #fbbf24, #f43f5e);
    transition: width 0.5s var(--ease-out);
}

.plant-status-msg {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    min-height: 1.5rem;
}

.plant-actions {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.plant-btn {
    flex: 1;
    min-width: 145px;
    padding: 0.75rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.25s var(--ease-out);
}

.plant-btn.water-btn {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(59, 130, 246, 0.25));
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.18);
}

.plant-btn.water-btn:hover {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    transform: translateY(-2px);
}

.plant-btn.love-btn {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.24), rgba(251, 191, 36, 0.22));
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.18);
}

.plant-btn.love-btn:hover {
    background: linear-gradient(135deg, #f43f5e, #f59e0b);
    transform: translateY(-2px);
}

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

.plant-stats-footer {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.plant-stats-footer strong {
    color: var(--text-primary);
}


.plant-btn.on-cooldown {
    opacity: 0.62;
    filter: saturate(0.45);
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
}

/* ==================== 3D MEMORY CONSTELLATION GALAXY (BİZİM GALAKSİMİZ) ==================== */
.galaxy-section {
    padding: 3.5rem 1.5rem 2.5rem;
    position: relative;
}

.galaxy-card {
    max-width: 540px;
    margin: 0 auto;
    padding: 1.35rem 1.15rem 1.4rem;
    border-radius: 30px;
    background: radial-gradient(circle at 50% 25%, rgba(28, 15, 58, 0.85), rgba(7, 4, 15, 0.96));
    border: 1px solid rgba(192, 132, 252, 0.26);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 0 45px rgba(244, 63, 94, 0.08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.galaxy-card.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 2600;
    max-width: none;
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 1.1rem 1rem calc(1.1rem + env(safe-area-inset-bottom));
    background: radial-gradient(circle at 50% 35%, #170d33 0%, #06030d 85%);
}

.galaxy-hud-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.galaxy-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(250, 245, 255, 0.88);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.galaxy-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 10px #fbbf24;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.galaxy-top-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.galaxy-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.galaxy-icon-btn:hover {
    background: rgba(192, 132, 252, 0.24);
    border-color: var(--purple-400);
    transform: translateY(-1px);
}

.galaxy-filters {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.galaxy-filters::-webkit-scrollbar {
    display: none;
}

.galaxy-chip {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.22s ease;
}

.galaxy-chip.active,
.galaxy-chip:hover {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.24), rgba(168, 85, 247, 0.26));
    border-color: rgba(244, 63, 94, 0.45);
    color: #fff;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.2);
}

.galaxy-viewport {
    position: relative;
    width: 100%;
    height: 410px;
    border-radius: 22px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 45%, #160c32 0%, #070312 72%, #030108 100%);
    border: 1px solid rgba(192, 132, 252, 0.22);
    box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.8);
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.galaxy-card.is-fullscreen .galaxy-viewport {
    flex: 1;
    height: auto;
}

.galaxy-viewport:active {
    cursor: grabbing;
}

#galaxyCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.galaxy-hint-badge {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    background: rgba(8, 4, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(250, 245, 255, 0.75);
    font-size: 0.72rem;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    transition: opacity 0.4s ease;
}

.galaxy-hint-badge.hidden {
    opacity: 0;
}

/* Holographic Star Detail Card */
.galaxy-holo-card {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(18, 10, 35, 0.92), rgba(10, 5, 22, 0.95));
    border: 1px solid rgba(244, 63, 94, 0.38);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75), 0 0 25px rgba(244, 63, 94, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 5;
    text-align: left;
}

.galaxy-holo-card.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.galaxy-holo-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galaxy-holo-body {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.galaxy-holo-thumb-wrap {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.24), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.galaxy-holo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.galaxy-holo-emoji {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.galaxy-holo-info {
    flex: 1;
    min-width: 0;
}

.galaxy-holo-meta-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 2px;
    padding-right: 22px;
}

.galaxy-holo-type {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.galaxy-holo-coords {
    font-size: 0.65rem;
    color: var(--purple-400);
    opacity: 0.85;
}

.galaxy-holo-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.galaxy-holo-date {
    font-size: 0.72rem;
    color: var(--rose-400);
    margin-bottom: 3px;
}

.galaxy-holo-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.35;
    margin: 0 0 0.55rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.galaxy-holo-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.galaxy-nav-star-btn,
.galaxy-open-link,
.galaxy-delete-star-btn {
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.galaxy-nav-star-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
}

.galaxy-nav-star-btn:hover {
    background: rgba(192, 132, 252, 0.25);
    border-color: var(--purple-400);
}

.galaxy-open-link {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.28), rgba(168, 85, 247, 0.28));
    border: 1px solid rgba(244, 63, 94, 0.5);
    color: #fff;
}

.galaxy-open-link:hover {
    background: var(--gradient-main);
}

.galaxy-delete-star-btn {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.38);
    color: #fca5a5;
}

.galaxy-controls-bar {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.galaxy-ctrl-btn {
    flex: 1;
    min-width: 145px;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.25s var(--ease-out);
}

.galaxy-ctrl-btn.tour-btn {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(56, 189, 248, 0.22));
    border: 1px solid rgba(192, 132, 252, 0.42);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.18);
}

.galaxy-ctrl-btn.tour-btn.active {
    background: linear-gradient(135deg, #9333ea, #0284c7);
    border-color: #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

.galaxy-ctrl-btn.birth-btn {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(251, 191, 36, 0.22));
    border: 1px solid rgba(251, 191, 36, 0.42);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.18);
}

.galaxy-ctrl-btn:hover {
    transform: translateY(-2px);
}

/* Birth a Star Modal inside Galaxy Card */
.galaxy-birth-modal {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(6, 3, 14, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}

.galaxy-birth-modal.show {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.galaxy-birth-box {
    width: 100%;
    max-width: 400px;
    background: rgba(20, 11, 38, 0.95);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 24px;
    padding: 1.35rem 1.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    text-align: left;
}

.galaxy-birth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.galaxy-birth-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    margin: 0;
}

.galaxy-birth-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
}

.galaxy-birth-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.9rem;
}

.galaxy-color-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.g-color-opt {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.g-color-opt.active {
    background: rgba(255, 255, 255, 0.11);
    border-color: var(--gold);
    color: #fff;
}

.g-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.galaxy-input,
.galaxy-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
    outline: none;
}

.galaxy-textarea {
    min-height: 78px;
    resize: none;
}

.galaxy-input:focus,
.galaxy-textarea:focus {
    border-color: var(--rose-400);
}

.galaxy-birth-actions {
    display: flex;
    gap: 0.55rem;
    justify-content: flex-end;
}

.galaxy-btn-cancel {
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    cursor: pointer;
}

.galaxy-btn-submit {
    padding: 0.65rem 1.15rem;
    border-radius: 12px;
    background: var(--gradient-main);
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.35);
}
