/* Genel Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 100px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
    text-align: center;
}

/* Başlık */
h1 {
    font-size: 2.5em;
    color: #00cfff;
    margin-bottom: 30px;
}

/* Seçim Kutuları ve Butonlar */
select, #start-button {
    font-size: 1.2em;
    padding: 12px 20px;
    margin: 10px 5px;
    border-radius: 25px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

select:hover, #start-button:hover {
    background-color: #9446a5;
    transform: translateY(-2px);
}

select:focus, #start-button:focus {
    outline: none;
    border-color: #9446a5;
    box-shadow: 0 0 8px rgba(148, 70, 165, 0.5);
}

#start-button {
    background-color: #9446a5;
    color: white;
    font-weight: bold;
    border: none;
}

/* Özel Seçim Kutusu Tasarımı */
select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%239446a5" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 35px;
}

/* Seçim Kutularını Yanyana Hizala */
#mode, #difficulty {
    background-color: #f9f9f9;
    border: 1px solid #9446a5;
    color: #333;
    font-weight: bold;
    text-align: center;
    min-width: 200px;
}

/* Game Container */
#game-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Çevrilecek Cümle Başlığı */
#sentence-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #9446a5;
    margin-bottom: 10px;
}

/* Çevrilecek Cümle */
#turkish-sentence {
    font-size: 1.5em;
    color: #2c3e50;
    background-color: #ecf0f1;
    padding: 10px;
    border: 2px solid #3498db;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Kelime boşluklarını gösteren tasarım */
.progress-display {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 8px;
    color: #5c5c5c;
    margin: 15px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border: 2px dashed #9446a5;
    border-radius: 10px;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

/* Seçenek Butonları */
#options-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.option-button {
    background-color: #9446a5;
    color: white;
    padding: 12px 25px;
    border: 1px solid #9446a5;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-size: 1.1em;
}

.option-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

/* Bildirim Kutusu */
#notification {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    width: 300px;
    padding: 20px;
    text-align: center;
    z-index: 999;
    animation: fadeIn 0.3s ease-in-out;
}

/* Fade-in efekti */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Başlık stil */
#notification-title {
    font-size: 20px;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 10px;
}

/* Mesaj metni stil */
#notification-turkish, #notification-english {
    font-size: 20px;
    color: #ffffff;
    margin: 5px 0;
}

/* Kapat butonu */
#close-notification {
    background-color: #ff4d4d;
    color: white;
    font-size: 14px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

#close-notification:hover {
    background-color: #d32f2f;
}

/* Başarılı mesaj */
#notification.success {
    background-color: #000000;
    color: #3c763d;
}

/* Hatalı mesaj */
#notification.error {
    background-color: #f2dede;
    color: #a94442;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    select, #start-button {
        font-size: 1em;
        padding: 8px 16px;
    }
    #game-container {
        padding: 10px;
    }
    .option-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    #notification {
        width: 80%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    select, #start-button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
    .option-button {
        font-size: 0.9em;
        padding: 10px 18px;
    }
}

.module-intro-text {
    max-width: 700px;
    width: 90%;
    margin: 25px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 231, 0.1);
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #000000;
}

.module-intro-text p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .module-intro-text {
        font-size: 1rem;
        padding: 18px;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .module-intro-text {
        font-size: 0.95rem;
        padding: 15px;
        margin: 15px auto;
    }
}

/* Reklam Kutusu Tasarımı */
.ad-container {
    background-color: #ffffff;
    border: 2px solid #00cfff;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 255, 231, 0.15);
    padding: 20px;
    margin: 40px auto 30px auto;
    max-width: 728px;
    text-align: center;
    transition: all 0.3s ease;
}

.ad-container:hover {
    box-shadow: 0 0 20px rgba(0, 255, 231, 0.25);
}

@media (max-width: 768px) {
    .ad-container {
        max-width: 90%;
        padding: 15px;
    }
}

/* Kayan Yazılar */
.marquee-container {
    max-width: 720px;
    margin: 30px auto 15px auto;
    overflow: hidden;
    background: linear-gradient(90deg, #9446a5 0%, #610c9f 100%);
    border-radius: 15px;
    padding: 14px 0;
    box-shadow: 0 0 15px rgba(0, 255, 231, 0.2);
    position: relative;
    border: 2px solid #00ffe7;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    color: #00ffe7;
    font-weight: bold;
    font-size: 1.1rem;
    padding-left: 100%;
    padding-right: 100%;
    animation: marquee 16s linear infinite;
    text-shadow: 0 0 6px #00ffe7, 0 0 10px #00cfff;
    letter-spacing: 0.5px;
}

.marquee-text::before {
    content: "📢 ";
    margin-right: 8px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .marquee-text {
        font-size: 1rem;
    }
}
.fade-message-container {
    max-width: 720px;
    margin: 30px auto 15px auto;
    padding: 16px 20px;
    border-radius: 15px;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    border: 2px solid #ffffff;
    box-shadow: 0 0 15px rgba(0, 255, 231, 0.2);
}

.fade-text {
    color: #000000;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 1px #00ffe7, 0 0 1px #00cfff;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

