/* Tüm sayfa için */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, #f5e6f0 0%, #f0d6e8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #4a3c47;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

/* Partikül arkaplanı */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Başlık alanı */
.header-container {
    text-align: center;
    padding: 20px 15px 15px;
    position: relative;
    z-index: 10;
}

.wish-title {
    font-family: 'Dancing Script', cursive;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(156, 39, 176, 0.4);
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-line {
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.2;
    background: linear-gradient(to right, #9c27b0, #e91e63);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    color: #ce93d8;
    margin-top: 5px;
    letter-spacing: 1px;
}

.instruction {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    color: #ba68c8;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(156, 39, 176, 0.7); }
    100% { text-shadow: 0 0 20px rgba(156, 39, 176, 0.9), 0 0 30px rgba(233, 30, 99, 0.5); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Ana sahne konteyneri */
.scene-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    position: relative;
    z-index: 5;
    padding: 15px;
}

/* Zarf */
.envelope {
    position: absolute;
    width: 100%;
    max-width: min(320px, 85vw);
    height: clamp(180px, 50vw, 220px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease;
    touch-action: manipulation;
}

.envelope:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.envelope:active {
    transform: translate(-50%, -50%) scale(0.98);
}

.envelope-front {
    position: relative;
    width: 100%;
    height: 100%;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(135deg, #ce93d8 0%, #ba68c8 100%);
    clip-path: polygon(0% 0%, 100% 0%, 50% 70%);
    border-radius: 8px 8px 0 0;
    z-index: 2;
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.envelope-open .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-open .heart-seal {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

.heart-seal i {
    font-size: clamp(20px, 5vw, 28px);
    color: white;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.envelope-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to bottom, #e1bee7 0%, #ce93d8 100%);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.address-line {
    font-family: 'Dancing Script', cursive;
    color: white;
    font-size: clamp(1rem, 3vw, 1.2rem);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    margin: 2px 0;
}

.recipient {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: bold;
    color: #9c27b0;
    margin-top: 8px;
}

.page-count {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #9c27b0;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* TEK SAYFALI MEKTUP */
.book-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0;
    overflow: hidden;
}

.book-container.active {
    display: flex;
    opacity: 1;
}

.book {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1500px;
    background: #fffaf0;
}

/* Kitap kapağı - MOBİLDE GİZLİ */
.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8e24aa 0%, #6a1b9a 100%);
    z-index: 2;
    transform-origin: right center;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: none;
}

.book-cover.front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.cover-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    padding: 0 10px;
}

.cover-heart {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 15px 0;
    animation: heartbeat 1.5s infinite;
}

.cover-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    letter-spacing: 2px;
    opacity: 0.9;
}

.book-open .book-cover.front {
    transform: rotateY(-180deg);
    z-index: 1;
}

/* TEK SAYFA */
.page-single {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fffaf0;
    overflow: hidden;
    z-index: 3;
    left: 0;
    top: 0;
    display: none;
}

.page-single.active {
    display: block;
}

/* İçerik konteyneri */
.page-content {
    padding: clamp(20px, 4vw, 40px);
    height: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0d6e8;
    flex-wrap: wrap;
}

.page-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #9c27b0;
    font-weight: bold;
    width: clamp(30px, 7vw, 40px);
    height: clamp(30px, 7vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-date {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: #888;
    font-style: italic;
    text-align: right;
    max-width: 70%;
    line-height: 1.3;
}

/* Mektup içeriği */
.letter-content {
    line-height: 1.7;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    height: calc(100% - 100px);
    overflow-y: auto;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 80px;
}

/* Scrollbar stil */
.letter-content::-webkit-scrollbar {
    width: 4px;
}

.letter-content::-webkit-scrollbar-track {
    background: rgba(206, 147, 216, 0.1);
    border-radius: 10px;
}

.letter-content::-webkit-scrollbar-thumb {
    background: rgba(156, 39, 176, 0.3);
    border-radius: 10px;
}

.greeting-section {
    margin-bottom: 20px;
}

.greeting {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #9c27b0;
    margin-bottom: 8px;
}

.greeting-line {
    width: clamp(80px, 20vw, 100px);
    height: 2px;
    background: linear-gradient(to right, #ce93d8, transparent);
}

.paragraph {
    margin-bottom: 15px;
    text-align: justify;
}

.first-letter {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1;
    margin: 0 8px 5px 0;
    color: #9c27b0;
    font-weight: bold;
}

.highlight-quote {
    background: linear-gradient(120deg, rgba(206, 147, 216, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-left: 3px solid #ba68c8;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    position: relative;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ce93d8;
    position: absolute;
    opacity: 0.3;
}

.quote-mark.left {
    top: -5px;
    left: 8px;
}

.quote-mark.right {
    bottom: -20px;
    right: 8px;
}

.quote-text {
    padding: 0 15px;
    text-align: center;
    line-height: 1.6;
}

.memory-box {
    background: #f9f0ff;
    border: 1px solid #e1bee7;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.memory-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: #9c27b0;
    margin-bottom: 8px;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.memory-text {
    font-style: italic;
    color: #666;
    font-size: clamp(0.85rem, 2.3vw, 1rem);
}

.closing-section {
    text-align: center;
    margin: 25px 0;
}

.closing-text {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: #9c27b0;
    font-weight: bold;
    margin-bottom: 8px;
}

.closing-line {
    width: clamp(120px, 30vw, 150px);
    height: 1px;
    background: linear-gradient(to right, transparent, #ce93d8, transparent);
    margin: 0 auto;
}

/* Sayfa kontrolleri */
.page-controls {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    padding: 0 20px;
}

.page-btn {
    padding: 12px 25px;
    background: rgba(156, 39, 176, 0.9);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.4);
    touch-action: manipulation;
    min-height: 50px;
    min-width: 160px;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(156, 39, 176, 0.6);
}

.page-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(156, 39, 176, 0.4);
}

/* İmza bölümü */
.signature-section {
    text-align: center;
    margin: 40px 0 100px 0;
    padding-top: 20px;
    border-top: 1px dashed #e1bee7;
    z-index: 5; /* Bu satırı ekleyin */

}

.signature-line {
    width: clamp(80px, 20vw, 120px);
    height: 1px;
    background: #4a3c47;
    margin: 0 auto 10px;
    z-index: 5;
}

.signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    color: #9c27b0;
    z-index: 5; /* Bu satırı ekleyin */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8); /* Bu satırı ekleyin */
}

.heart-signature {
    animation: heartbeat 1.5s infinite;
}

.signature-date {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: #888;
    margin-top: 5px;
    z-index: 5;
}

/* Sayfa dokusu */
.page-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 95%, rgba(0,0,0,0.02) 100%),
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 15px 15px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
}

/* Müzik kontrolü */
.music-control {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 100;
}

.music-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
    touch-action: manipulation;
    min-height: 44px;
    min-width: 44px;
}

.music-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(156, 39, 176, 0.6);
}

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

.music-text {
    font-size: 0.65rem;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px;
    color: #ba68c8;
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    position: relative;
    z-index: 10;
    margin-top: 30px;
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 1rem;
}

.footer-hearts i {
    animation: float 3s ease-in-out infinite;
}

.footer-hearts i:nth-child(2) {
    animation-delay: 0.5s;
}

.footer-hearts i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* MOBİL İÇİN ÖZEL AYARLAR */
@media (max-width: 768px) {
    .scene-container {
        min-height: 40vh;
    }
    
    .music-control {
        bottom: 70px;
        right: 15px;
    }
    
    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .page-controls {
        bottom: 15px;
        padding: 0 15px;
    }
    
    .page-btn {
        padding: 10px 20px;
        min-width: 140px;
    }
}

/* TELEFON İÇİN ÖZEL AYARLAR (dikey mod) */
@media (max-width: 480px) and (orientation: portrait) {
    .header-container {
        padding: 15px 10px 10px;
    }
    
    .scene-container {
        min-height: 35vh;
        padding: 10px;
    }
    
    .envelope {
        max-width: 90vw;
    }
    
    .page-content {
        padding: 15px;
    }
    
    .letter-content {
        height: calc(100% - 90px);
        font-size: 0.85rem;
        padding-bottom: 70px;
    }
    
    .greeting {
        font-size: 1.6rem;
    }
    
    .first-letter {
        font-size: 2.2rem;
    }
    
    .highlight-quote {
        padding: 12px;
        margin: 12px 0;
    }
    
    .quote-text {
        padding: 0 10px;
    }
    
    .page-controls {
        bottom: 10px;
    }
    
    .page-btn {
        padding: 8px 16px;
        min-width: 120px;
        font-size: 0.85rem;
    }
    
    .signature-section {
        margin: 30px 0 80px 0;
    }
}

/* TABLET YATAY MOD */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .scene-container {
        min-height: 45vh;
    }
}

/* MASAÜSTÜ İÇİN - SADECE BÜYÜK EKRANLARDA KAPAK GÖSTER */
@media (min-width: 1025px) {
    .book {
        width: min(800px, 95vw);
        height: min(600px, 90vh);
        background: transparent;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .book-cover {
        display: block;
    }
    
    .page-single {
        width: 100%;
        height: 100%;
        border-radius: 0 10px 10px 0;
    }
    
    .book-container {
        padding: 20px;
    }
    
    .letter-content {
        height: calc(100% - 120px);
        padding-bottom: 100px;
    }
}

/* DARK MOD DESTEĞİ */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2d1b2d 0%, #3a1c3a 100%);
        color: #e1d0e1;
    }
    
    .page-single {
        background: #1a1a1a;
    }
    
    .letter-content {
        color: #e0e0e0;
    }
    
    .memory-box {
        background: #2a2a2a;
        border-color: #4a2c4a;
    }
    
    .memory-text {
        color: #bbb;
    }
    
    .signature-line {
        background: #e1d0e1;
    }
}

/* YATAY ORIENTATION UYARI */
.orientation-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2d1b2d;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.orientation-warning i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ba68c8;
}

.orientation-warning p {
    font-size: 1.2rem;
    max-width: 300px;
}

@media (max-width: 768px) and (orientation: landscape) {
    .book-container.active {
        display: none;
    }
    
    .orientation-warning {
        display: flex;
    }
}
/* Şifre Ekranı */
.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d1b2d 0%, #4a2c4a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.password-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(156, 39, 176, 0.3);
    position: relative;
    overflow: hidden;
}

.password-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #9c27b0, #e91e63, #9c27b0);
}

.password-header {
    margin-bottom: 25px;
}

.password-header i {
    font-size: 3rem;
    color: #9c27b0;
    margin-bottom: 15px;
    display: block;
}

.password-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: #9c27b0;
    margin: 0;
}

.password-instruction {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.password-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#passwordInput {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1bee7;
    border-radius: 50px;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    color: #4a3c47;
    transition: all 0.3s ease;
    background: white;
}

#passwordInput:focus {
    outline: none;
    border-color: #9c27b0;
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
}

#passwordInput::placeholder {
    color: #ba68c8;
}

#passwordBtn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #9c27b0 0%, #e91e63 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#passwordBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.4);
}

#passwordBtn:active {
    transform: translateY(0);
}

.error-text {
    color: #e91e63;
    font-size: 0.9rem;
    min-height: 20px;
    margin: 10px 0;
}

.password-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #888;
    font-size: 0.85rem;
    margin-top: 20px;
    padding: 10px;
    background: rgba(206, 147, 216, 0.1);
    border-radius: 10px;
}

.password-hint i {
    color: #9c27b0;
}

.password-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0d6e8;
}

.password-footer p {
    color: #888;
    font-style: italic;
    margin-bottom: 10px;
}

.hidden {
    display: none !important;
}

/* Hatıralar Bölümü */
.memories-section {
    padding: 40px 20px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.memories-title {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: #9c27b0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.memories-subtitle {
    text-align: center;
    color: #ba68c8;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 30px;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.photo-box {
    perspective: 1000px;
}

.photo-frame {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #f5e6f0 0%, #f0d6e8 100%);
    cursor: pointer;
}

.photo-frame:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.3);
}

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

.photo-frame:hover .gallery-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-frame:hover .photo-overlay {
    transform: translateY(0);
}

.photo-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.photo-caption i {
    color: #ffeb3b;
}

.gallery-instruction {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background: rgba(206, 147, 216, 0.1);
    border-radius: 10px;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-instruction i {
    color: #9c27b0;
}

.heart-beat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-container {
    animation: fadeIn 0.8s ease-out;
}

/* Responsive Galeri */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    .photo-frame {
        height: 250px;
    }
    
    .password-input-group {
        flex-direction: column;
    }
    
    #passwordInput, #passwordBtn {
        width: 100%;
    }
    
    #passwordBtn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .photo-frame {
        height: 220px;
    }
    
    .password-container {
        padding: 30px 20px;
    }
    
    .password-header h2 {
        font-size: 1.8rem;
    }
}
/* SAYFA NUMARASINI KESİN GİZLE */
.page-number {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}