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

body {
    background-color: #971b1b;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.main-logo {
    width: 300px;
    height: auto;
    margin: 30px auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    position: relative;
    z-index: 10;
}

/* Ekran Ortalayıcı */
#screen-welcome,
#screen-questions,
#screen-thanks {
    animation: fadeIn 0.6s ease-in-out;
}

/* Butonlar */
.btn-outline-danger {
    border: 2px solid #c62828;
    color: #c62828;
    font-weight: 600;
    background: transparent;
}

.btn-outline-danger:hover {
    background-color: #c62828;
    color: #fff;
    transition: all 0.2s ease-in-out;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease-in-out;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
    color: #ffffff;
    border-width: 0.4rem;
}

.loading-text {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Welcome Box */
.bg-image {
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
}

/* Question Box */
#screen-questions .bg-white {
    background-color: #fff !important;
    color: #333;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

/* Teşekkür kutusu */
#screen-thanks .bg-white {
    background-color: #f7f7f7 !important;
    color: #333;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

/* İkon animasyonları */
.bi-check-circle-fill {
    animation: pop 0.6s ease-in-out;
}

@keyframes pop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

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

.thanks-wrapper {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 30px;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
    animation: fadeIn 0.6s ease-in-out;
}

.thanks-logo {
    max-width: 180px;
}

.thanks-icon {
    font-size: 4.5rem;
    color: #28a745;
    animation: bounceIn 0.8s ease-in-out;
}

.thanks-message {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.thanks-link {
    font-size: 0.95rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.select-wrapper {
    max-width: 400px;
    margin: 0 auto 40px;
}

.custom-select {
    width: 100%;
    padding: 10px 0 5px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
    font-size: 16px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
}

.custom-select option {
    background-color: #971b1b;
    color: white;
}