/* JitaBet Theme Overrides */

:root {
    --primary-color: #28a745;
    --primary-hover: #20c997;
    --secondary-color: #1a2c38;
    --text-color: #ffffff;
    --text-muted: #adb5bd;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    background: var(--secondary-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 700;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn--base {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--text-color);
    border: none;
}

.btn--base:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn--outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Forms */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: none;
    color: var(--text-color);
}

.form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Tables */
.table {
    color: var(--text-color);
}

.table th {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.table td {
    border-bottom: 1px solid var(--border-color);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* Game Cards */
.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card__thumb {
    position: relative;
    overflow: hidden;
}

.game-card__thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__thumb img {
    transform: scale(1.1);
}

.game-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card__overlay {
    opacity: 1;
}

.game-card__content {
    padding: 1rem;
}

.game-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.game-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

.badge--success {
    background: var(--primary-color);
    color: var(--text-color);
}

.badge--warning {
    background: #ffc107;
    color: #000000;
}

/* Utilities */
.bg-dark {
    background: var(--secondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-light {
    border-color: var(--border-color) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}