* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    /* Mavi ve lacivert tonlarında romantik arka plan */
    background: linear-gradient(135deg, #051937, #004d7a, #008793);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-animation {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.bubble:nth-child(1) { width: 100px; height: 100px; left: 10%; animation-duration: 12s; }
.bubble:nth-child(2) { width: 150px; height: 150px; left: 30%; animation-duration: 9s; animation-delay: 2s; }
.bubble:nth-child(3) { width: 80px; height: 80px; left: 60%; animation-duration: 15s; }
.bubble:nth-child(4) { width: 120px; height: 120px; left: 80%; animation-duration: 10s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 200px; height: 200px; left: 50%; animation-duration: 14s; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-100vh) scale(1.1); }
}

.glass-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    z-index: 10;
    text-align: center;
    max-width: 600px;
    width: 90%;
    margin: 2rem auto;
    transition: all 0.5s ease;
}

.hidden {
    display: none !important;
}

/* Slayt Tasarımı */
#main-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slide {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    max-width: 700px;
    width: 90%;
    text-align: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
}

.active-slide {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.hidden-slide {
    display: none;
}

.slide-img {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slide-text h2 {
    font-size: 2.2rem;
    color: #a2d2ff; /* Açık mavi */
    margin-bottom: 1rem;
}

.slide-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f0f0f0;
    font-weight: 300;
}

/* Giriş */
#login-screen h1 {
    font-size: 2.2rem;
    color: #a2d2ff;
}

#login-screen p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin: 2rem 0;
}

input[type="text"] {
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    border: 1px solid rgba(255,255,255,0.2);
    width: 80%;
    text-align: center;
}

input[type="text"]:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #a2d2ff;
}

button {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.next-btn {
    margin-top: 2rem;
}

/* Sorular */
.btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2rem;
    align-items: center;
}

.quiz-btn {
    width: 80%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: none;
}

.quiz-btn:hover {
    background: rgba(255,255,255,0.2);
}

.final-group {
    flex-direction: row;
    justify-content: center;
}

#no-btn {
    background: linear-gradient(45deg, #6c757d, #495057);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

#error-message {
    color: #ff6b6b;
    margin-top: 10px;
}

/* Animasyonlu Fotoğraf Etiketleri */
.photo-label {
    position: absolute;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,1), 0 0 10px rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.start-animation .photo-label {
    animation: fadeInLabel 0.8s ease forwards;
}

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

.pointer-svg {
    position: absolute;
    width: 150px;
    height: 150px;
    overflow: visible;
    filter: drop-shadow(0px 2px 2px rgba(0,0,0,1));
}

/* Galeri */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.photo-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.2);
}

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

.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Scrollbar özelleştirme */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: rgba(162,210,255,0.5); 
    border-radius: 10px;
}

/* Mobil Cihazlar İçin Optimizasyon (Responsive Design) */
@media (max-width: 600px) {
    .glass-container {
        padding: 1.5rem;
    }
    
    .slide {
        padding: 1.5rem;
        width: 95%;
    }

    .slide-text h2 {
        font-size: 1.5rem;
    }

    .slide-text p {
        font-size: 1rem;
    }
    
    #login-screen h1 {
        font-size: 1.8rem;
    }
    
    .slide-img {
        max-height: 250px;
        margin-bottom: 1rem;
    }
    
    input[type="text"] {
        width: 100%;
    }
    
    .btn-group {
        gap: 15px;
    }
    
    .final-group {
        flex-direction: column;
    }
}
