:root {
  --theme-primary: #e2c96c;
  --theme-accent: #e2c96c;
  --theme-bg: #101510;
  --theme-surface: #181e1a;
  --theme-surface-alt: #181e1a;
  --theme-text: #ffffff;
  --theme-muted: #bfae6a;
  --theme-success: #4caf50;
  --theme-danger: #e57373;
  --theme-radius: 12px;
  --theme-border-width: 1px;
  --theme-panel-shadow: 0 10px 30px rgba(0,0,0,.35);
  --theme-logo-path: url('/images/branding/logo/logo.webp');
  --theme-hero-image: url('/images/branding/hero/hero-bg.webp');
  --theme-hero-overlay-color: #000000;
  --theme-hero-overlay-opacity: 0.5;
  --theme-hero-height: 520px;
  --theme-header-bg: #181e1a;
  --theme-header-text: #000000;
  --theme-footer-bg: #181e1a;
  --theme-footer-text: #9b9b9b;
  --theme-button-bg: #e2c96c;
  --theme-button-text: #181e1a;
  --theme-badge-bg: #e2c96c;
  --theme-badge-text: #000000;
  --theme-inner-card-bg: #0000ff;
  --theme-inner-card-text: #8080c0;
}

body {
  background: var(--theme-bg) !important;
  color: var(--theme-text) !important;
}

a,
.link,
.site-title,
.panel-badge,
.admin-dashboard a,
.auth-link {
  color: var(--theme-accent);
}

.admin-dashboard,
.section,
.panel,
.card,
.news-item,
.server-card,
.download-card,
.modal-content,
.auth-modal-content,
.ticket-card,
.user-table,
.table-modern,
form,
.admin-nav-group {
  border-radius: var(--theme-radius) !important;
}

.admin-dashboard,
.section,
.panel,
.card,
.news-item,
.server-card,
.download-card,
.modal-content,
.auth-modal-content,
.ticket-card,
.user-table,
.table-modern {
  background: linear-gradient(180deg, var(--theme-surface-alt) 0%, var(--theme-surface) 100%) !important;
  color: var(--theme-text) !important;
  box-shadow: var(--theme-panel-shadow) !important;
  border-color: var(--theme-primary) !important;
}

button,
.button,
input[type="submit"],
input[type="button"],
.btn,
a[role="button"] {
  border-radius: var(--theme-radius) !important;
}

button,
.button,
input[type="submit"],
input[type="button"],
.btn,
.auth-submit,
.admin-dashboard button,
a[role="button"] {
  background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-primary) 100%) !important;
  color: #181e1a !important;
  border: none;
}

input,
select,
textarea {
  background: var(--theme-bg) !important;
  color: var(--theme-text) !important;
  border: 1px solid var(--theme-muted) !important;
  border-radius: calc(var(--theme-radius) - 2px) !important;
}

th,
.table-modern th,
.user-table th,
.th-badge,
.panel-header,
.section-header,
.servers-header,
.downloads-header,
.news-header {
  border-color: var(--theme-primary) !important;
}

.table-modern,
.user-table,
.admin-dashboard,
nav,
header,
footer,
.sidebar,
.topbar,
.modal-content,
.auth-modal-content {
  border-width: var(--theme-border-width) !important;
}

.status-success,
.badge-success,
.alert-success {
  background: var(--theme-success) !important;
}

.status-danger,
.badge-danger,
.alert-danger,
.error-message {
  background: var(--theme-danger) !important;
}

0
header, .fixed-header, .home-header, .header-inner, .home-header-inner {
  background: var(--theme-header-bg) !important;
  color: var(--theme-header-text) !important;
}
header a, header .site-title, header nav a, .header-links a, .home-header-links a, .header-btn {
  color: var(--theme-header-text) !important;
}
.footer, .footer-inner, footer {
  background: var(--theme-footer-bg) !important;
  color: var(--theme-footer-text) !important;
}
.footer a, .footer .home-footer-link, footer a {
  color: var(--theme-footer-text) !important;
}
button, .button, input[type="submit"], input[type="button"], .btn, .auth-submit, .admin-dashboard button, a[role="button"], .header-btn {
  background: var(--theme-button-bg) !important;
  color: var(--theme-button-text) !important;
}
.button-ghost {
  color: var(--theme-button-text) !important;
  border-color: var(--theme-button-bg) !important;
}

.panel-badge, .badge, .status-badge, .news-badge, .download-badge, .table-badge {
  background: var(--theme-badge-bg) !important;
  color: var(--theme-badge-text) !important;
}

.section .card, .panel .card, .panel .section-card, .section .section-card, .inner-card, .inner-section-card, .panel .inner-card, .dashboard-card .card {
  background: var(--theme-inner-card-bg) !important;
  color: var(--theme-inner-card-text) !important;
}
