/* word-game.css - Index Tasarım Uyumu */

:root {
    --primary: #8b5cf6; /* Index'teki mor */
    --bg: #0f172a;      /* Index'teki koyu arka plan */
    --card-bg: #1e293b; /* Index'teki kart rengi */
}

.portal-body {
    background-color: var(--bg);
    margin: 0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Başlık Alanı */
.game-header-info {
    text-align: center;
    margin: 40px 0 20px;
}
.game-header-info h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
}
.online-now {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
}

/* İstatistik Kartları (Index'teki Grid mantığı) */
.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.stat-card .label {
    display: block;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}
.stat-card .value {
    font-size: 1.8rem;
    font-weight: 800;
}

/* Ana Oyun Kartı (Index Featured Card Kopyası) */
.word-play-area {
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
}
.word-main-card {
    background: linear-gradient(135deg, var(--card-bg), #0f172a);
    width: 100%;
    max-width: 700px;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.badge {
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
}

.scrambled-text {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 10px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.hint-text {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* Giriş ve Butonlar */
.input-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

#user-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid #334155;
    padding: 18px;
    border-radius: 15px;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    outline: none;
    transition: 0.3s;
}
#user-input:focus {
    border-color: var(--primary);
}

.btn-skip {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}
.btn-skip:hover { color: #f43f5e; }

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .scrambled-text { font-size: 2.2rem; letter-spacing: 5px; }
    .input-wrapper { flex-direction: column; }
    .game-stats-grid { gap: 10px; }
}