* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg,  #eb3186, #d33a3a);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Müzik Çalar */
.music-player {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.music-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.music-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

.music-btn i {
    font-size: 20px;
    color: #ff6b6b;
}

/* Header Bölümü */
header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.countdown {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
    margin-top: 1rem;
}

#timer {
    font-size: 1.2rem;
    color: #12dc1f;
    font-weight: bold;
}

/* Fotoğraf Galerisi */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.photo-container:hover {
    transform: translateY(-10px);
}

.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(255, 107, 107, 0.9), rgba(255, 107, 107, 0.5));
    transition: bottom 0.3s ease;
    text-align: center;
    color: white;
    font-weight: 500;
}

.photo-container:hover .photo-overlay {
    bottom: 0;
}

/* Aşk Mektubu */
.love-letter {
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    position: relative;
}

.letter-decoration {
    position: absolute;
    font-size: 2rem;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

.letter-decoration.bottom {
    top: auto;
    bottom: -1rem;
}

/* Anı Duvarı */
.memory-wall {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.memory-wall h3 {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #ff6b6b;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 50%;
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: 50%;
}

.timeline-item .date {
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

.timeline-item .content {
    background: rgba(255, 107, 107, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.heart {
    color: #ff0000;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Modal Stili */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #ff6b6b;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 10px 0;
    height: 150px;
}

/* Yeni Dekoratif Öğeler */
.header-decoration {
    margin: 20px 0;
    text-align: center;
}

.header-decoration i {
    font-size: 24px;
    color: white;
    margin: 0 10px;
    animation: float 3s ease-in-out infinite;
}

.header-decoration i:nth-child(2) {
    animation-delay: 0.5s;
}

.header-decoration i:nth-child(3) {
    animation-delay: 1s;
}

.sparkles {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Mektup Süslemeleri */
.letter-border {
    border: 2px solid rgba(255, 107, 107, 0.2);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    background: rgb(0, 0, 0);
    color: #12dc1f;
}

.letter-border::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    z-index: -1;
}

/* Animasyonlar */
@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Fotoğraf Galerisi İyileştirmeleri */
.photo-container:hover .photo {
    transform: scale(1.05) rotateY(5deg);
}

.photo {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive İyileştirmeler */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 2rem;
        padding-right: 0;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-nav {
        padding: 10px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
}

/* Giriş Ekranı */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.gift-box {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gift-box i {
    font-size: 100px;
    color: white;
    animation: bounce 2s infinite;
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

.welcome-text {
    margin-top: 2rem;
    color: white;
    font-size: 1.5rem;
    text-align: center;
    font-family: 'Dancing Script', cursive;
}

/* Şifre Ekranı */
.password-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.password-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 90%;
    width: 400px;
}

.password-container h2 {
    color: #ff6b6b;
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.password-input {
    margin: 2rem 0;
}

.password-input input {
    width: 200px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    letter-spacing: 8px;
    border: 2px solid #ff6b6b;
    border-radius: 10px;
    background: transparent;
    color: #ff6b6b;
    outline: none;
    transition: all 0.3s ease;
}

.password-input input:focus {
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.password-hint {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

#submitPassword {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#submitPassword:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.error-message {
    color: #ff3333;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
} 