:root {
  --bg-main: #061009;
  --bg-dark: #030805;
  --bg-green: #0b2b15;
  --bg-green-light: #123d20;

  --green: #22c55e;
  --green-light: #4ade80;
  --green-dark: #15803d;

  --text: #f4f7f5;
  --text-muted: #a8b5ac;

  --border: rgba(74, 222, 128, 0.28);
  --border-strong: rgba(74, 222, 128, 0.55);

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --green-shadow: 0 0 28px rgba(34, 197, 94, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  pointer-events: auto;
}

img {
  max-width: 100%;
  display: block;
}

.navbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

  width: 100%;
  min-height: 76px;
  padding: 0 5%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(5, 28, 12, 0.95);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(12px);
}

.logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo span {
  color: var(--green-light);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.navbar nav a {
  color: #d9e5dc;
  font-size: 15px;
  font-weight: 800;
  transition: color 0.2s ease;
}

.navbar nav a:hover {
  color: var(--green-light);
}

.menu-button {
  display: none;

  padding: 8px 11px;

  background: var(--bg-green);
  color: white;

  border: 1px solid var(--border);
  border-radius: 8px;

  font-size: 24px;
  cursor: pointer;
}

.hero {
  min-height: 760px;
  padding: 145px 7% 80px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(74, 222, 128, 0.42),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      #0d4a22 0%,
      #0a2d16 45%,
      var(--bg-main) 100%
    );
}

.hero-content {
  width: 100%;
  max-width: 880px;
}

.eyebrow,
.server-label {
  margin-bottom: 16px;

  color: var(--green-light);

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 4px;
}

.hero h1 {
  margin-bottom: 20px;

  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
}

.hero h1 span {
  color: var(--green-light);
}

.hero-text {
  max-width: 700px;
  margin: 0 auto 34px;

  color: #d2ddd5;

  font-size: 20px;
  line-height: 1.65;
}

.server-box {
  width: 100%;
  max-width: 570px;
  margin: 0 auto 26px;
  padding: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  background: rgba(11, 54, 25, 0.92);

  border: 1px solid var(--border-strong);
  border-radius: 15px;

  box-shadow: var(--shadow), var(--green-shadow);
}

.server-box div {
  text-align: left;
}

.server-box span {
  display: block;
  margin-bottom: 4px;

  color: var(--text-muted);

  font-size: 12px;
  font-weight: 900;
}

.server-box strong {
  font-size: 22px;
}

.server-box button,
.button {
  padding: 14px 20px;

  border: 0;
  border-radius: 10px;

  font-weight: 900;
  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.server-box button,
.button.primary {
  background:
    linear-gradient(
      135deg,
      var(--green-light),
      var(--green)
    );

  color: #031006;

  box-shadow:
    0 10px 25px rgba(34, 197, 94, 0.22);
}

.button.secondary {
  background: #12371f;
  color: white;

  border: 1px solid var(--border);
}

.server-box button:hover,
.button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.success-message,
#copyMessage {
  min-height: 24px;
  margin-top: 16px;

  color: var(--green-light);
  font-weight: 800;
}.areas {
  padding: 95px 7%;

  background:
    linear-gradient(
      180deg,
      var(--bg-main),
      #0b2313
    );
}

.section-heading {
  margin-bottom: 44px;
  text-align: center;
}

.section-heading p {
  color: var(--green-light);

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
}

.section-heading h2 {
  margin-top: 9px;
  font-size: 42px;
}

.card-grid {
  width: 100%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.area-card {
  min-height: 230px;
  padding: 30px;

  background:
    linear-gradient(
      145deg,
      #174426,
      #0c2815
    );

  border: 1px solid var(--border);
  border-radius: 17px;

  box-shadow: var(--shadow);

  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.area-card:hover {
  transform: translateY(-7px);

  border-color: var(--green-light);

  box-shadow:
    var(--shadow),
    0 0 30px rgba(34, 197, 94, 0.2);
}

.area-card > span,
.area-card .icon {
  display: block;
  margin-bottom: 18px;
  font-size: 40px;
}

.area-card h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.area-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

.kelb-card {
  border-color: var(--border-strong);
}

.page-shell {
  min-height: 100vh;
  padding: 135px 7% 90px;

  background:
    radial-gradient(
      circle at top,
      rgba(74, 222, 128, 0.28),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      #0c3c1b 0%,
      #092513 48%,
      var(--bg-main) 100%
    );
}

.page-hero {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px;

  text-align: center;
}

.page-hero h1 {
  color: var(--text);

  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
}

.page-card {
  width: 100%;
  max-width: 1150px;
  margin: auto;
  padding: 36px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 72, 36, 0.98),
      rgba(10, 40, 21, 0.98)
    );

  border: 1px solid var(--border);
  border-radius: 18px;

  box-shadow:
    var(--shadow),
    var(--green-shadow);
}

.page-card h1,
.page-card h2,
.page-card h3 {
  color: var(--text);
}

.page-card h2 {
  margin-top: 30px;
  margin-bottom: 14px;

  font-size: 30px;
}

.page-card h3 {
  margin-top: 22px;
  margin-bottom: 10px;

  color: var(--green-light);
  font-size: 22px;
}

.page-card p,
.page-card li {
  color: #c4d0c7;
  line-height: 1.75;
}

.page-card strong {
  color: white;
}

.page-card ul,
.page-card ol {
  margin: 16px 0 16px 24px;
}

.page-card a {
  color: var(--green-light);
  font-weight: 700;
}

.page-card a:hover {
  color: #86efac;
}

.content-grid {
  margin-top: 30px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card,
.content-card {
  display: block;
  min-height: 205px;
  padding: 24px;

  background:
    linear-gradient(
      145deg,
      #18502b,
      #0c3018
    );

  border: 1px solid var(--border);
  border-radius: 15px;

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.game-card:hover,
.content-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-light);

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    0 0 25px rgba(34, 197, 94, 0.18);
}

.game-card h2,
.content-card h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.game-card p,
.content-card p {
  color: var(--text-muted);
}

.game-card span,
.card-link {
  display: inline-block;
  margin-top: 18px;

  color: var(--green-light);
  font-weight: 900;
}.page-card form {
  display: grid;
  gap: 11px;
}

.page-card label {
  margin-top: 8px;

  color: var(--text);

  font-size: 14px;
  font-weight: 900;
}

.page-card input,
.page-card select,
.page-card textarea {
  width: 100%;
  padding: 14px 15px;

  background: #082c14;
  color: white;

  border: 1px solid var(--border);
  border-radius: 10px;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.page-card input::placeholder,
.page-card textarea::placeholder {
  color: #819187;
}

.page-card input:focus,
.page-card select:focus,
.page-card textarea:focus {
  border-color: var(--green-light);

  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.12),
    0 0 18px rgba(34, 197, 94, 0.12);
}

.page-card textarea {
  min-height: 130px;
  resize: vertical;
}

.page-card button,
.green-button {
  padding: 14px 20px;

  background:
    linear-gradient(
      135deg,
      var(--green-light),
      var(--green)
    );

  color: #031006;

  border: 0;
  border-radius: 10px;

  font-weight: 900;
  cursor: pointer;

  box-shadow:
    0 10px 24px rgba(34, 197, 94, 0.2);

  transition:
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
}

.page-card button:hover,
.green-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);

  box-shadow:
    0 14px 32px rgba(34, 197, 94, 0.28);
}

.info-box {
  margin: 20px 0;
  padding: 20px;

  background: rgba(34, 197, 94, 0.11);

  border: 1px solid var(--border);
  border-left: 4px solid var(--green-light);
  border-radius: 11px;
}

.request-list {
  margin-top: 28px;

  display: grid;
  gap: 17px;
}

.request-card {
  padding: 22px;

  background:
    linear-gradient(
      145deg,
      #174a28,
      #0d2f19
    );

  border: 1px solid var(--border);
  border-radius: 14px;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.request-card h3 {
  margin-bottom: 10px;

  color: var(--green-light);
  font-size: 24px;
}

.request-card p {
  margin-top: 6px;
}

.request-actions {
  margin-top: 17px;

  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.request-actions button {
  margin-top: 0;
}

.danger-button {
  background: #b91c1c !important;
  color: white !important;
}

.status-open,
.status-accepted,
.status-closed {
  display: inline-block;
  padding: 7px 12px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 900;
}

.status-open {
  color: #bbf7d0;

  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.status-accepted {
  color: #fde68a;

  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.status-closed {
  color: #fecaca;

  background: rgba(239, 68, 68, 0.13);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.empty-state {
  padding: 50px 24px;

  text-align: center;

  color: var(--text-muted);

  background: rgba(7, 31, 15, 0.55);

  border: 1px dashed var(--border-strong);
  border-radius: 13px;
}

.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.78);
}

.modal.visible {
  display: flex;
}

.modal-content {
  position: relative;

  width: 100%;
  max-width: 720px;
  padding: 28px;

  background:
    linear-gradient(
      145deg,
      #164424,
      #0a2815
    );

  border: 1px solid var(--border-strong);
  border-radius: 16px;

  box-shadow:
    var(--shadow),
    var(--green-shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;

  background: transparent !important;
  color: white !important;

  border: 0;

  font-size: 30px;
  cursor: pointer;
}

.chat-messages {
  height: 330px;
  margin: 22px 0;
  padding: 16px;

  overflow-y: auto;

  background: #071d0d;

  border: 1px solid var(--border);
  border-radius: 10px;
}

.chat-message {
  margin-bottom: 12px;
  padding: 12px;

  background: #10351d;

  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 9px;
}

.chat-message strong {
  color: var(--green-light);
}

.chat-message p {
  margin-top: 5px;
}

.chat-form {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 10px;
}.site-footer,
footer {
  padding: 30px;

  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;

  text-align: center;
  color: var(--text-muted);

  background: #041008;

  border-top: 1px solid var(--border);
}

.site-footer strong,
footer strong {
  color: var(--green-light);
}

.navbar,
.navbar nav,
.navbar a,
main,
.hero,
.areas,
.page-shell,
.page-card,
form,
input,
select,
textarea,
button {
  pointer-events: auto;
}

main {
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after,
.page-shell::before,
.page-shell::after {
  pointer-events: none;
}

@media (max-width: 950px) {
  .menu-button {
    display: block;
  }

  .navbar nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;

    display: none;
    padding: 18px;

    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    background: #082c14;

    border-bottom: 1px solid var(--border);
  }

  .navbar nav.open {
    display: flex;
  }

  .card-grid,
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-shell {
    padding-top: 100px;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .navbar {
    min-height: 70px;
    padding: 0 18px;
  }

  .navbar nav {
    top: 70px;
  }

  .hero {
    min-height: 680px;
    padding: 115px 18px 60px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 17px;
  }

  .server-box {
    flex-direction: column;
    text-align: center;
  }

  .server-box div {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .areas {
    padding: 70px 18px;
  }

  .card-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding: 100px 18px 65px;
  }

  .page-card {
    padding: 22px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .section-heading h2 {
    font-size: 35px;
  }

  .request-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .request-actions button {
    width: 100%;
  }
}/* ========================= */
/* Admin Dashboard           */
/* ========================= */

.admin-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:24px;
    margin-top:30px;
}

.admin-card{
    background:#0f2416;
    border:1px solid rgba(67,255,120,.15);
    border-radius:18px;
    padding:24px;
    transition:.25s;
}

.admin-card:hover{
    transform:translateY(-4px);
    border-color:#43ff78;
    box-shadow:0 0 25px rgba(67,255,120,.25);
}

.admin-card h3{
    margin:0 0 12px;
    color:#43ff78;
    font-size:24px;
}

.admin-card p{
    color:#c8d6cb;
    margin-bottom:20px;
}

.admin-card button{
    width:100%;
    background:#43ff78;
    color:#05160b;
    border:none;
    border-radius:12px;
    padding:12px;
    font-weight:700;
    cursor:pointer;
    transition:.2s;
}

.admin-card button:hover{
    background:#6cff97;
}.clan-ticket-box {
  width: min(700px, 100%);
  margin: 40px auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(15, 18, 28, 0.92);
}

.clan-ticket-box h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.clan-ticket-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}

.clan-ticket-box label {
  margin-top: 10px;
  font-weight: 700;
}

.clan-ticket-box input,
.clan-ticket-box select,
.clan-ticket-box textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #101521;
  color: white;
  font: inherit;
  box-sizing: border-box;
}

.clan-ticket-box textarea {
  resize: vertical;
}

.clan-ticket-box button {
  margin-top: 15px;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: #5865f2;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.clan-ticket-box button:hover {
  filter: brightness(1.1);
}

.clan-ticket-box button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#ticketStatus {
  min-height: 24px;
  font-weight: 700;
}