/* LordLegions Gaming Community - Common Styles */

:root {
  --neon: #0ff0fc;
  --neon-pink: #ff00ff;
  --neon-purple: #9600ff;
  --gold: #ffd700;
  --bg: #000;
  --text: #e7e7e7;
  --ink: #0d0d0d;
  --ok: #29d18c;
  --warn: #ffb300;
  --err: #ff4d4f;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Oxanium', sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, .92);
  border-bottom: 1px solid var(--neon);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px var(--neon), 0 0 20px rgba(150, 0, 255, .25);
  padding-inline: 8px;
}

.nav > .container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 16px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.left-ops {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand i {
  color: var(--gold);
  font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, .6));
}

.brand .logo {
  font-family: 'Cinzel Decorative', cursive;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .5px;
  line-height: 1;
  background: linear-gradient(90deg, #ffd700 0%, #ff00ff 40%, #0ff0fc 80%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 215, 0, .25);
}

.nav-chips {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
}

.nav-chip {
  --c: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--c);
  color: var(--c);
  text-decoration: none;
  transition: .2s;
  box-shadow: 0 0 10px rgba(15, 240, 252, .12);
  font-weight: 700;
}

.nav-chip:hover,
.nav-chip:focus {
  background: var(--c);
  color: var(--ink);
  box-shadow: 0 0 18px var(--c);
}

.right-ops {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 24px;
}

.dropdown {
  position: relative;
}

.drop-btn {
  background: transparent;
  color: var(--neon);
  border: 1px solid var(--neon);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.drop-btn:hover {
  background: var(--neon);
  color: var(--ink);
}

.drop-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 160px;
  background: #080808;
  border: 1px solid #1c364e;
  border-radius: 10px;
  display: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}

.drop-menu a {
  display: block;
  padding: 8px 10px;
  color: #cfeff4;
  text-decoration: none;
  border-bottom: 1px solid #0b2233;
}

.drop-menu a:last-child {
  border-bottom: 0;
}

.dropdown:focus-within .drop-menu,
.dropdown:hover .drop-menu {
  display: block;
}

.btn-neon-glow {
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  border: none;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--neon-pink), 0 0 18px var(--neon-purple);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-neon-glow:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 14px var(--neon-pink), 0 0 26px var(--neon-purple), 0 0 26px var(--neon);
}

/* HERO */
.hero {
  border-bottom: 3px solid var(--neon);
  background: #050505;
  padding: 22px 0;
  box-shadow: 0 0 20px rgba(0, 255, 255, .12);
}

.hero h1 {
  margin: 0;
  font-size: 28px;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

.muted {
  color: #b9b9b9;
}

/* Kutu ve gridler */
.box {
  background: linear-gradient(180deg, #0a0a0a, #0c0c0c);
  border: 1px solid rgba(0, 255, 255, .18);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  margin: 16px 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.h5 {
  font-size: 18px;
  margin: 0 0 10px 0;
}

.btn {
  cursor: pointer;
  border: 1px solid var(--neon);
  color: var(--neon);
  background: transparent;
  border-radius: 10px;
  padding: 8px 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn:hover {
  background: var(--neon);
  color: var(--ink);
}

.btn.sm {
  padding: 6px 10px;
  font-size: 14px;
}

.btn.ok {
  border-color: var(--ok);
  color: var(--ok);
}

.btn.ok:hover {
  background: var(--ok);
  color: var(--ink);
}

.btn.warn {
  border-color: var(--warn);
  color: var(--warn);
}

.btn.warn:hover {
  background: var(--warn);
  color: var(--ink);
}

.btn.err {
  border-color: var(--err);
  color: var(--err);
}

.btn.err:hover {
  background: var(--err);
  color: var(--ink);
}

input, select, textarea {
  width: 100%;
  box-sizing: border-box;
  background: #0f0f0f;
  border: 1px solid #1c364e;
  color: #eaeaea;
  border-radius: 10px;
  padding: 8px;
}

label {
  font-size: 13px;
  color: #cbd6e2;
  margin-bottom: 4px;
  display: block;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media(max-width: 720px) {
  .grid2, .grid3, .grid4 {
    grid-template-columns: 1fr;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal {
  background: linear-gradient(180deg, #0a0a0a, #0c0c0c);
  border: 1px solid var(--neon);
  border-radius: 14px;
  box-shadow: 0 0 20px var(--neon), 0 6px 18px rgba(0, 0, 0, .45);
  max-width: 500px;
  width: 90%;
  max-height: 80%;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 255, 255, .2);
}

.modal-header h3 {
  margin: 0;
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon);
}

.modal-header button {
  background: transparent;
  border: 1px solid var(--err);
  color: var(--err);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

.modal-header button:hover {
  background: var(--err);
  color: white;
}

.modal-body {
  padding: 20px;
}

.modal-body textarea {
  min-height: 80px;
  resize: vertical;
  margin-bottom: 10px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 15px;
}

.modal-actions button {
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.modal-actions button[type="submit"] {
  background: var(--ok);
  border: 1px solid var(--ok);
  color: var(--ink);
}

.modal-actions button[type="button"] {
  background: transparent;
  border: 1px solid #666;
  color: #aaa;
}

.modal-actions button:hover {
  opacity: 0.8;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(180deg, #0a0a0a, #0c0c0c);
  border: 1px solid var(--neon);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  animation: slideInRight 0.3s ease;
}

.notification-success {
  border-color: var(--ok);
  box-shadow: 0 0 10px rgba(41, 209, 140, 0.3);
}

.notification-error {
  border-color: var(--err);
  box-shadow: 0 0 10px rgba(255, 77, 79, 0.3);
}

.notification-info {
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(15, 240, 252, 0.3);
}

.notification button {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  margin-left: auto;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Utilities */
.tiny {
  font-size: 12px;
  color: #9fb0be;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.mt8 {
  margin-top: 8px;
}

.mt12 {
  margin-top: 12px;
}

.mt16 {
  margin-top: 16px;
}

.mb8 {
  margin-bottom: 8px;
}

.mb12 {
  margin-bottom: 12px;
}

.mb16 {
  margin-bottom: 16px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  z-index: 999;
  background: #111;
  color: #0ff;
  padding: 8px 10px;
  border-radius: 8px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(10, 10, 10, 0.8);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 255, 255, .1);
}

th {
  background: rgba(0, 255, 255, .05);
  font-weight: 700;
  color: var(--neon);
}

/* Cards */
.card {
  background: linear-gradient(180deg, #0a0a0a, #0c0c0c);
  border: 1px solid rgba(0, 255, 255, .15);
  border-radius: 12px;
  padding: 16px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  transition: all 0.2s;
}

.card:hover {
  border-color: rgba(0, 255, 255, .3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.card-title {
  color: var(--neon);
  font-weight: 700;
  margin: 0;
}

.card-body {
  color: var(--text);
  line-height: 1.5;
}

/* Responsive Navigation */
@media (max-width: 1060px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .right-ops {
    margin-left: 0;
  }
}

@media (max-width: 840px) {
  .nav-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .left-ops {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .nav-chips {
    justify-content: center;
  }
  .right-ops {
    margin-left: 0;
  }
  .nav-chip {
    padding: 5px 10px;
    font-size: 14px;
  }
  .dropdown .drop-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .modal {
    width: 95%;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    min-width: auto;
  }
}