/* Genel Stil */
body {
    font-family: 'Calibri', Arial, sans-serif;
    text-align: center;
    background-color: #380140; /* Arka plan mor */
    margin: 0;
    padding: 0;
    color: white; /* Yazı rengi beyaz */
}

.container {
    text-align: center;
}

/* Yükleme ekranı */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c2e800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    transition: background 1s ease;
}

#counter {
    font-size: 50px;
    font-weight: bold;
    color: #8300a7;
}

#tap-button {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #a93ec4;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    margin-top: 20px;
}

#tap-button:hover {
    background: #000000;
}

#loadingVideo {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.logo {
    width: 280px;   /* istediğin boyuta göre düşür */
    margin-top: 50px;
    margin-bottom: 40px; /* logonun alt boşluğu */
}

/* TAP butonu nabız efekti */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214,25,8, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 20px 10px rgba(214,25,8, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214,25,8, 0); }
}

/* Dil Butonları */
.language-button {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 250px;
    padding: 15px 20px;
    margin: 12px auto;
    border: none;
    border-radius: 14px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-button img {
    width: 40px;
    height: 40px;
    margin-right: 14px;
}

/* İngilizce Butonu */
.english {
    background-color: #01409f; /* Mavi */
}

.english:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}

.english:active {
    transform: scale(0.95);
}

/* Türkçe Butonu */
.turkish {
    background-color: #921001; /* Kırmızı */
}

.turkish:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.6);
}

.turkish:active {
    transform: scale(0.95);
}

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

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

/* Skor Board Stili */
#score-board {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #6b5b95;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #fff;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#score-board span:first-child {
    font-family: 'Calibri';
    color: #d09aff;
}

#score-board span:last-child {
    color: white;
}

/* Grid Container */
.grid-container {
    display: grid;
    gap: 10px;
    margin-top: 200px;
}

/* Level 1 için 2x2 grid */
.grid-container.level-1 {
    grid-template-columns: repeat(2, 100px) !important;
    grid-template-rows: repeat(2, 100px) !important;
}

/* Level 2 için 2x3 grid */
.grid-container.level-2 {
    grid-template-columns: repeat(2, 100px);
    grid-template-rows: repeat(3, 100px);
}

/* Level 3 için 3x3 grid */
.grid-container.level-3 {
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
}

/* Level 4 için 3x4 grid */
.grid-container.level-4 {
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(4, 100px);
}

/* Grid Item */
.grid-item {
    width: 100px;
    height: 100px;
    background-color: #6b5b95;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.grid-item.revealed {
    background-color: #5e9a05;
}

.grid-item.incorrect {
    background-color: #ff3b2f;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Ekranlar */
#main-screen, #game-screen, #congrats-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: -80px;
}

/* Butonlar */
button {
    padding: 10px 40px;
    font-size: 25px;
    background-color: #d61908;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 16px;
}

button:hover {
    background-color: #c01209;
}

/* Çarpı butonu */
.close-button {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 40px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #ff3b2f;
}

/* Tam Ekran Düğmesi */
#fullscreen-btn {
    margin-top: 12px;
    top: 10px;
    right: 10px;
}




/* Mobil cihazlar için logo boyutu */
@media (max-width: 768px) {
    .logo {
        width: 180px;  /* mobilde küçültülmüş logo */
        margin-top: 72px;
        margin-bottom: 20px;
    }


}

