/* TÜM TARAYICILARLA UYUMLU PRO CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0b0f19;
    color: #f3f4f6;
    overflow-x: hidden;
}

span {
    color: #f43f5e;
}

/* GİRİŞ EKRANI ARKA PLANI VE KUTUSU */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    background-color: #0b0f19;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 30% 30%, #f43f5e 0%, #1e1b4b 50%, #0b0f19 80%);
    animation: waveMovement 10s infinite alternate ease-in-out;
    z-index: 1;
    opacity: 0.6;
}

@keyframes waveMovement {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.1); }
}

.login-box {
    position: relative;
    z-index: 10;
    background: #111827;
    border: 2px solid rgba(244, 63, 94, 0.4);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.login-logo {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.login-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.login-box p {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 25px;
}

#username-input {
    width: 100%;
    padding: 14px;
    background-color: #1f2937;
    border: 2px solid #374151;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
    text-align: center;
    transition: all 0.3s;
}

#username-input:focus {
    border-color: #f43f5e;
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #f43f5e;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.login-submit-btn:hover {
    background-color: #e11d48;
}

/* NAVBAR SİSTEMİ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #111827;
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #f43f5e;
}

.user-status {
    background-color: #1f2937;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* BÖLÜM AYARLARI */
.hero-section, .games-section, .quests-section, .leaderboard-section, .contact-section {
    padding: 60px 8%;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #f43f5e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* OYUN KARTLARI */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.game-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    padding: 30px;
    border-radius: 15px;
}

.game-icon {
    font-size: 36px;
    color: #f43f5e;
    margin-bottom: 15px;
}

.btn-sm {
    width: 100%;
    padding: 10px;
    background-color: #1f2937;
    color: white;
    border: 1px solid #374151;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
}

.btn-sm:hover {
    background-color: #f43f5e;
}

/* GÖREVLER */
.quest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111827;
    border: 1px solid #1f2937;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.quest-info {
    display: flex;
    align-items: center;
}

.quest-info i {
    font-size: 24px;
    color: #3b82f6;
    margin-right: 15px;
}

.quest-reward {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* TABLO */
.table-container {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 15px;
    overflow: hidden;
}

.leader-table {
    width: 100%;
    border-collapse: collapse;
}

.leader-table th, .leader-table td {
    padding: 15px 20px;
    text-align: left;
}

.leader-table th {
    background-color: #1f2937;
    color: #9ca3af;
}

.leader-table tr {
    border-bottom: 1px solid #1f2937;
}

/* YAPIMCI */
.contact-card {
    background-color: #111827;
    border: 1px solid #1f2937;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
}

.email-link {
    color: #f43f5e;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 30px;
    color: #4b5563;
    border-top: 1px solid #1f2937;
}