/* Genel Ayarlar ve Font */
body {
    margin: 0;
    padding: 0;
    background-color: #2c3e50; /* Bilgisayarda dış arka plan koyu olsun ki oyun ekranı parlasın */
    font-family: 'Baloo 2', cursive;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* 9:16 MOBİL OYUN ÇERÇEVESİ (Büyücülük Burada) */
.mobile-game-container {
    width: 100%;
    max-width: 450px; /* Bilgisayarda bu genişliği geçemez */
    height: 100vh;
    max-height: 900px;
    background: linear-gradient(180deg, #87CEEB 0%, #a8e6cf 100%); /* Gökyüzünden çimene tatlı geçiş */
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Üst Kaynaklar (Altın, Puan) */
.top-resources {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.resource-box {
    background: #0a2342;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    flex: 1;
    margin: 0 2px;
    text-align: center;
    border: 2px solid #1c3d60;
}

/* Profil Alanı */
.profile-area {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 20px;
}
.avatar-box, .premium-box {
    background: #0d47a1;
    color: white;
    width: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 3px solid #1976d2;
}
.user-details {
    flex: 1;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
}
.username {
    background: #152238;
    color: white;
    text-align: center;
    padding: 5px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 5px;
}
.level-bar-container {
    display: flex;
    align-items: center;
    position: relative;
}
.level-badge {
    background: #FFD700;
    color: #b8860b;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid #daa520;
    position: absolute;
    left: -10px;
    z-index: 2;
}
.level-bar {
    background: #1a1a1a;
    height: 25px;
    width: 100%;
    border-radius: 5px;
    margin-left: 15px;
    overflow: hidden;
    border: 2px solid #333;
}
.level-fill {
    background: #00BFFF;
    height: 100%;
    width: 38%;
    color: black;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 25px;
}

/* Logo Alanı */
.logo-area {
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.game-logo {
    font-size: 4.5rem;
    margin: 0;
    color: #FF4500;
    font-weight: 900;
    text-shadow: 3px 3px 0 #FFF, 6px 6px 0px rgba(0,0,0,0.1), -2px -2px 0 #FFF, 2px -2px 0 #FFF, -2px 2px 0 #FFF;
    letter-spacing: 2px;
}
.wheel-icon {
    font-size: 5rem;
    color: #FFD700;
    margin-top: -15px;
    text-shadow: 0 10px 10px rgba(0,0,0,0.2);
}

/* ANA BUTONLAR (3D Efektli) */
.main-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.btn-3d {
    width: 100%;
    padding: 20px;
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
    transition: transform 0.1s, box-shadow 0.1s;
    letter-spacing: 1px;
}
.btn-green {
    background: #66CC33;
    box-shadow: 0 8px 0 #4C9926, 0 15px 15px rgba(0,0,0,0.2);
    border: 3px solid #85E052;
}
.btn-orange {
    background: #FFA500;
    box-shadow: 0 8px 0 #CC8400, 0 15px 15px rgba(0,0,0,0.2);
    border: 3px solid #FFC04D;
}
.btn-purple {
    background: #B266FF;
    box-shadow: 0 8px 0 #8E52CC, 0 15px 15px rgba(0,0,0,0.2);
    border: 3px solid #C999FF;
}

.btn-3d:active {
    transform: translateY(8px);
    box-shadow: 0 0 0 transparent, 0 5px 5px rgba(0,0,0,0.2);
}

/* Alt Menü Container */
.bottom-menu {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
}
.nav-btn {
    flex: 1;
    border: none;
    border-radius: 15px;
    padding: 10px 0;
    color: white;
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 5px 0 rgba(0,0,0,0.3);
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.2);
}
.nav-btn i { font-size: 1.5rem; margin-bottom: 5px; }
.nav-btn:active { transform: translateY(5px); box-shadow: 0 0 0 transparent; }

/* Alt menü renkleri */
.bg-dark-green { background: #006633; }
.bg-brown { background: #A0522D; }
.bg-blue { background: #0033CC; }
.bg-dark-purple { background: #660099; }