body {
    font-family: 'Sarabun', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Backgrounds */
.login-bg {
    background: url('../images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

.login-bg::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
}
.btn-primary:hover {
    background-color: #3f37c9;
    border-color: #3f37c9;
}

.btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
}
.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

/* Nav Pills */
.nav-pills .nav-link {
    color: #495057;
    border-radius: 20px;
    margin: 0 5px;
}
.nav-pills .nav-link.active {
    background-color: #4361ee;
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.3);
}

/* Game Interface */
.game-container {
    max-width: 800px;
    margin: 0 auto;
}
.word-display {
    font-size: 3rem;
    font-weight: bold;
    color: #2b2d42;
    text-align: center;
    margin: 30px 0;
}

/* Interactive Elements */
.level-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8; 
}
