/* ÇOCUK TEMASI: css/style.css */

body {
    font-family: 'Fredoka', sans-serif;
    /* Eğlenceli Arka Plan (Bulut mavisi) */
    background-color: #E0F7FA;
    background-image: radial-gradient(#4DD0E1 1px, transparent 1px);
    background-size: 20px 20px; /* Puantiye deseni */
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header */
.header-bar {
    background-color: #ffffff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #FFD93D; /* Altına sarı çizgi */
    box-shadow: 0 4px 0 rgba(0,0,0,0.05);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0;
}

/* --- Giriş Formu Kartı --- */
.form-container {
    width: 100%;
    max-width: 450px;
    margin: 60px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 30px; /* Daha yuvarlak */
    border: 4px solid #2EC4B6; /* Kalın renkli kenarlık */
    box-shadow: 8px 8px 0px rgba(46, 196, 182, 0.3); /* Sert gölge */
}
.form-container h2 {
    text-align: center;
    color: #2EC4B6;
    font-size: 2em;
    margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #FF9F1C;
}
.form-group input {
    width: 100%;
    padding: 15px;
    border: 3px solid #eee;
    border-radius: 15px;
    box-sizing: border-box;
    font-size: 1.1em;
    font-family: 'Fredoka', sans-serif;
    background-color: #f9f9f9;
    transition: all 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: #FF9F1C;
    background-color: #fff;
    transform: scale(1.02);
}

/* --- OYUN BUTONLARI --- */
.button {
    width: 100%;
    padding: 15px 24px;
    font-size: 1.3em;
    font-weight: bold;
    color: #fff;
    background-color: #FF9F1C; /* Turuncu */
    border: none;
    border-radius: 20px;
    border-bottom: 6px solid #e08605; /* 3D efekt */
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.1s;
    margin-top: 10px;
}
.button:active {
    transform: translateY(4px); /* Basılma efekti */
    border-bottom: 2px solid #e08605;
}
.button:hover {
    background-color: #ffad3b;
}

/* --- Dashboard Hoş Geldiniz Alanı --- */
.welcome-header {
    background: #4CC9F0; /* Parlak Mavi */
    color: white;
    padding: 30px;
    border-radius: 25px;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 8px solid #3a9dc0; /* 3D efekt */
    position: relative;
    overflow: hidden;
}
.welcome-header h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

/* --- Menü Kartları (Renkli Kutular) --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.menu-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    color: #555;
    font-size: 1.4em;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s;
    
    /* Varsayılan Kenarlık */
    border: 3px solid #ddd;
    border-bottom: 8px solid #ccc;
}

/* Her karta farklı renk verelim (nth-child ile) */
.menu-grid a:nth-child(1) { border-color: #FF6B6B; border-bottom-color: #c92a2a; color: #FF6B6B; } /* Kırmızı */
.menu-grid a:nth-child(2) { border-color: #4CC9F0; border-bottom-color: #2a86a5; color: #4CC9F0; } /* Mavi */
.menu-grid a:nth-child(3) { border-color: #FFD93D; border-bottom-color: #b89814; color: #e0bc0f; } /* Sarı */
.menu-grid a:nth-child(4) { border-color: #6D28D9; border-bottom-color: #4c1d95; color: #6D28D9; } /* Mor */
.menu-grid a:nth-child(5) { border-color: #FF9F1C; border-bottom-color: #c2750e; color: #FF9F1C; } /* Turuncu */

/* Kart Hover Efekti (Zıplama) */
.menu-link:hover {
    transform: translateY(-10px);
    border-bottom-width: 12px; /* Daha yüksek görünür */
}
.menu-link:active {
    transform: translateY(4px);
    border-bottom-width: 2px; /* Basılmış gibi */
}

/* Mesajlar */
.message { padding: 15px; border-radius: 15px; margin-bottom: 20px; font-weight: 600; }
.message.error { background-color: #FFD2D2; color: #D8000C; border: 2px solid #D8000C; }
.message.success { background-color: #DFF2BF; color: #4F8A10; border: 2px solid #4F8A10; }