/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

a {
    text-decoration: none;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* Features */
.feature-box {
    background: white;
    border-radius: 8px;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Dashboard Layout */
.dashboard-container, .admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #343a40;
    color: white;
    padding: 20px 0;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-menu li a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

.sidebar-menu li.active a, .sidebar-menu li a:hover {
    color: white;
}

.main-content, .admin-main {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
}

.header, .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.balance-box {
    background: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1.1rem;
}

.balance-box strong {
    font-size: 1.2rem;
}

/* Forms */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control, .form-select {
    padding: 10px 15px;
    border-radius: 5px;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
}

/* Game-specific styles will be in game.css */