﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=El+Messiri:wght@500;700&display=swap');

:root {
  --bg: #0e0b04;
  --bg-2: #1c1608;
  --panel: rgba(22, 17, 5, 0.93);
  --panel-soft: rgba(32, 25, 7, 0.82);
  --border: rgba(200, 160, 60, 0.32);
  --brand: #a07820;
  --brand-2: #d4a843;
  --brand-dark: #6b5010;
  --text: #f5e8c8;
  --muted: #c9a96e;
  --ok: #4fd28d;
  --danger: #f76a6a;
  --site-bg-image: url('/public/assets/images/background.jpg?v=20260421c');
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(212, 168, 67, 0.22), transparent 35%),
    radial-gradient(circle at 86% 18%, rgba(160, 120, 32, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(12, 9, 2, 0.36), rgba(12, 9, 2, 0.93)),
    var(--site-bg-image),
    var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  min-height: 100vh;
}

a { color: #e8c96a; text-decoration: none; }
a:hover { opacity: 0.92; }

.container {
  width: min(1180px, 94vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(16, 12, 2, 0.97), rgba(16, 12, 2, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  min-height: 72px;
  gap: 12px;
}

.menu {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  width: 100%;
  white-space: nowrap;
}

.menu .btn {
  display: inline-flex !important;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-main {
  background: linear-gradient(140deg, var(--brand-dark), var(--brand));
  color: #fff4de;
  border-color: rgba(255, 219, 145, 0.42);
}

.btn-main:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(140, 105, 20, 0.44);
}

.btn-soft {
  color: #e8c87a;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-soft:hover {
  border-color: rgba(200, 160, 60, 0.62);
  background: rgba(140, 105, 20, 0.24);
}

.btn-danger {
  background: #8f1f1f;
  color: #fff;
  border-color: rgba(255, 185, 185, 0.28);
}

.hero {
  padding: 32px 0 20px;
}

.hero h1 {
  font-family: 'El Messiri', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  margin: 0;
}

.hero p {
  color: var(--muted);
  max-width: 680px;
}

.landing {
  position: relative;
  padding: 18px 0 36px;
}

.landing-content {
  position: relative;
  z-index: 2;
}

.brand-title {
  text-align: center;
  margin: 10px 0 8px;
}

.brand-title img {
  width: min(320px, 60vw);
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.46));
}

.brand-title img.logo-natural {
  width: auto;
  max-width: min(320px, 60vw);
  height: auto;
}

.brand-subtitle {
  text-align: center;
  margin: 6px auto 20px;
  color: #e2cb8a;
  font-weight: 700;
}

.hero-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  margin-bottom: 16px;
  direction: ltr;
}

.server-card,
.showcase-card,
.card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 14, 3, 0.94), rgba(28, 22, 5, 0.86));
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.4);
}

.server-card {
  padding: 16px;
}

.server-card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: #e8c87a;
}

.server-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8d89a;
}

.server-row strong {
  color: #ddb95a;
}

.full-btn {
  width: 100%;
  margin-top: 14px;
}

.showcase-card {
  min-height: 260px;
  overflow: hidden;
}

.showcase-banner {
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(14, 11, 2, 0.26), rgba(14, 11, 2, 0.88)),
    var(--site-bg-image);
  background-size: cover;
  background-position: center;
}

.showcase-banner h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: #f0d488;
}

.showcase-banner p {
  margin: 6px 0 12px;
  color: #d9c07a;
}

.showcase-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
  margin-bottom: 14px;
  direction: ltr;
}

.card {
  padding: 16px;
  direction: rtl;
}

.server-card,
.showcase-card,
.events-strip {
  direction: rtl;
}

.tabs-head {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tab {
  border: 1px solid rgba(200, 160, 60, 0.3);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.88rem;
  color: #e0c070;
}

.tab.active {
  background: rgba(130, 98, 18, 0.34);
  color: #f5e4a8;
}

.section-title {
  margin: 0 0 12px;
  font-family: 'El Messiri', sans-serif;
  letter-spacing: 0.3px;
  font-size: 2rem;
  color: #f0d488;
}

.item {
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  padding: 12px 0;
}

.item:first-child {
  border-top: 0;
}

.item h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.item p {
  margin: 0 0 8px;
  color: #c9a96e;
  line-height: 1.8;
}

.meta {
  color: #c9a040;
  font-size: 0.84rem;
}

.login-card {
  align-self: start;
}

.login-title {
  margin: 0 0 14px;
  font-family: 'El Messiri', sans-serif;
  font-size: 2rem;
  color: #eacf7e;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.input,
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 12px;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.news-card {
  min-height: 280px;
}

.events-strip {
  margin-bottom: 24px;
}

.events-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.event-pill {
  border: 1px solid rgba(200, 160, 60, 0.3);
  border-radius: 12px;
  padding: 12px;
  background: rgba(18, 14, 3, 0.38);
}

.event-pill h4 {
  margin: 0 0 8px;
  color: #ddb95a;
}

.event-pill p {
  margin: 0 0 8px;
  color: #c9a96e;
  line-height: 1.7;
}

.quick-card {
  align-self: start;
}

.quick-text {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.8;
}

.flash {
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 10px;
}

.flash.ok {
  background: rgba(79, 210, 141, 0.16);
  border: 1px solid rgba(79, 210, 141, 0.4);
}

.flash.error {
  background: rgba(247, 106, 106, 0.14);
  border: 1px solid rgba(247, 106, 106, 0.4);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px;
  text-align: right;
}

.footer {
  padding: 14px 0 26px;
  color: #c9a96e;
  text-align: center;
}

@media (max-width: 980px) {
  .nav {
    padding: 10px 0;
  }

  .hero-panel,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .events-list {
    grid-template-columns: 1fr;
  }
}


