:root {
    --primary: #016cb2;
    --tabu-red: #FF5252;
    --correct-green: #00C853;
    --nav-gold: #FFD700;
}


@import url("/public/css/boots/bootstrap.min.css");
@import url("/public/icons/bootstrap-icons.css");
@import url("/public/css/menu/normalize.min.css");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,700i,900,900i|Sniglet:400,800");
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Lemonada:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Fredoka+One|Rubik:300,300i,400,400i,500,500i,700,700i,900,900i|Schoolbell");


body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    /* Gradient ve logoyu virgül ile ayırarak üst üste ekliyoruz */
        background-image: url(logo.png), linear-gradient(135deg, #ff8da2 0%, #055fc1 100%);
    /* Logonun konumu: Üstten 20px (veya 0) ve ortalı */
    background-position: center 20px, center; 
    background-repeat: no-repeat;
    /* Logonun boyutu (örneğin 150px genişlik, gradient ise kaplasın) */
    background-size: 200px auto, cover; 
    
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Hem input hem buton için çerçeveyi kaldırır */
.input-wrapper input:focus, 
button:focus {
    outline: none;
    box-shadow: none; /* Bazı tarayıcılar gölge de ekleyebilir, bunu da sıfırlıyoruz */
}

* {
    font-family: "Nunito", sans-serif !important;
}

#app{
    background-color: #b2cfff;
    padding: 30px;
    border-radius: 35px;
}

/* Kurallar Butonu Stili */
.rules-btn {
    background-color: #f1c40f;
    color: #2c3e50;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
    transition: 0.3s;
}

.rules-btn:hover { background-color: #d4ac0d; }

/* Modal (Arka Plan) */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

/* Modal İçerik Kutusu */
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    text-align: left;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-content h2 { color: #e67e22; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.modal-content ul { padding-left: 20px; line-height: 1.6; color: #34495e; }
.modal-content li { margin-bottom: 10px; }

.close-btn {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 28px; cursor: pointer; color: #aaa;
}

.close-modal-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.screen { display: none; width: 100%; width: 470px; padding: 15px; box-sizing: border-box; }
.screen.active { display: block; animation: zoomIn 0.3s ease; }

.panel { background: white; padding: 30px; border-radius: 35px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }

/* GİRİŞ ALANLARI */
.input-wrapper { padding: 12px; border-radius: 15px; margin-bottom: 15px; text-align: left; }
.primary-style { background: var(--primary); box-shadow: 0 5px 0 #2a6edb; }
.secondary-style { background: #ff6a86; box-shadow: 0 5px 0 #555; }
.input-wrapper label {color: white;
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin: 10px;
    opacity: 0.9; }
.input-wrapper input { width: 100%;     background: #564c5f6e; border: none; border-radius: 10px; padding: 10px; color: white; font-weight: 600; box-sizing: border-box; font-family: 'Roboto'; }

h1 img{
    width: 175px; padding: 25px;
}

/* Sadece bu wrapper içindeki inputların placeholder rengi için */
.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.8); /* Yazı rengine yakın, hafif şeffaf bir beyaz */
    font-weight: 400;               /* İstersen kalınlığını değiştirebilirsin */
    opacity: 1;                     /* Firefox uyumluluğu için */
}

/* Internet Explorer ve Edge için (Opsiyonel) */
.input-wrapper input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.8);
}


/* ÜST SKOR TABLOSU */
.top-stats { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 50px; gap: 10px; }
.team-card { background: rgb(178 109 179); padding: 10px; border-radius: 15px; color: white; flex: 1; text-align: center; }
.team-card.active { background: var(--primary);   box-shadow: 0 5px 15px rgba(68,138,255,0.4); }
.team-card span { font-size: 22px; font-weight: 800; display: block; }
.timer-circle { width: 50px; height: 50px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary); }

/* KART TASARIMI (TAM OTURAN YAPI) */
.game-card {
    width: 95%; 
    max-width: 320px; 
    aspect-ratio: 2 / 3; /* Gerçek kart oranı */
    margin: 10px auto; 
    background: white; /* Resim yüklenene kadar beyaz taban */
    border-radius: 25px; 
    overflow: hidden; /* Köşeleri keskinlikten kurtarır */
    box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

#card-display { 
    width: 100%; 
    height: 100%; 
    background-size: contain; /* Resmi boşluksuz yayar */
    background-repeat: no-repeat; 
    background-position: center; 
}

/* BUTONLAR */
button { border: none; color: white; font-weight: 800; cursor: pointer; transition: 0.1s; }
button:active { transform: translateY(3px); box-shadow: none; }
.start-btn { width: 100%; height: 55px; background: var(--correct-green); box-shadow: 0 5px 0 #008a3a; border-radius: 15px; font-size: 18px; margin-top: 10px; }
.btn-dogru { background: var(--correct-green); box-shadow: 0 5px 0 #008a3a; }
.btn-tabu { background: var(--tabu-red); box-shadow: 0 5px 0 #d43f3f; }
.btn-pas { background: #757575; box-shadow: 0 5px 0 #555; }

.game-controls { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin: 50px 0 30px; }
.game-controls button { height: 55px; border-radius: 15px; }
.nav-controls { display: flex; justify-content: center; gap: 8px; margin-top: 25px;}
.btn-nav { background: var(--nav-gold); border-radius: 50px; padding: 8px 15px; color: #333; font-size: 11px; box-shadow: 0 4px 0 #ccae00; }

@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }