/* ============================================
   AXONIC HUB – Style Sheet
   ============================================ */

:root{
  --bg:#0a0a0f;
  --bg-2:#111118;
  --card:#14141c;
  --border:#232332;
  --text:#e7e7ef;
  --muted:#8a8a9a;
  --accent:#8b5cf6;
  --accent-2:#6d28d9;
  --green:#22c55e;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
}

html{scroll-behavior:smooth;}

body{
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  display:flex;
  flex-direction:column;
}

main{
  flex:1;
  display:flex;
  flex-direction:column;
}

a{color:inherit;}

/* ===== NAVBAR ===== */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 40px;
  background:rgba(10,10,15,.75);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  position:sticky;
  top:0;
  z-index:50;
}

/* --- Brand / Logo links --- */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  font-size:19px;
  letter-spacing:-0.3px;
  transition:.2s;
}
.brand:hover{opacity:.85;}
.brand-logo{
  width:34px;
  height:34px;
  border-radius:50%;
  box-shadow:0 0 14px rgba(139,92,246,.55);
  transition:.3s;
}
.brand:hover .brand-logo{
  box-shadow:0 0 22px rgba(139,92,246,.9);
  transform:rotate(-6deg);
}
.brand-name{
  background:linear-gradient(180deg,#ffffff,#c4b5fd);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* --- Nav mittig, als Pille mit Border --- */
.nav-links{
  display:flex;
  align-items:center;
  gap:4px;
  padding:5px;
  background:rgba(20,20,28,.6);
  border:1px solid var(--border);
  border-radius:12px;
}

.nav-link{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  border-radius:9px;
  transition:all .18s ease;
  position:relative;
}

.nav-link svg{
  width:16px;
  height:16px;
  opacity:.85;
  transition:.18s;
}

.nav-link:hover{
  color:var(--text);
  background:rgba(139,92,246,.08);
}
.nav-link:hover svg{
  opacity:1;
  color:var(--accent);
}

.nav-link.active{
  color:var(--text);
  background:rgba(139,92,246,.14);
  box-shadow:inset 0 0 0 1px rgba(139,92,246,.25);
}
.nav-link.active svg{
  opacity:1;
  color:var(--accent);
}

/* --- Discord Button rechts --- */
.btn-discord{
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px 16px;
  background:rgba(20,20,28,.6);
  border:1px solid var(--border);
  border-radius:10px;
  color:var(--text);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:all .2s ease;
}
.btn-discord svg{
  width:18px;
  height:18px;
  color:#8b93ff;
  transition:.2s;
}
.btn-discord:hover{
  background:rgba(88,101,242,.15);
  border-color:#5865F2;
  box-shadow:0 0 18px rgba(88,101,242,.35);
  transform:translateY(-1px);
}
.btn-discord:hover svg{
  color:#5865F2;
}

/* ===== HERO (Startseite) ===== */
.hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:80px 20px;
}

.hero-logo{
  width:140px;
  height:140px;
  margin-bottom:20px;
  filter:drop-shadow(0 0 25px #7c3aed);
  animation:float 4s ease-in-out infinite;
}

@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-10px);}
}

.hero-title{
  font-size:86px;
  font-weight:800;
  letter-spacing:-2px;
  background:linear-gradient(180deg,#a78bfa,#6d28d9);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 0 60px rgba(139,92,246,.35);
}

.hero-sub{
  color:var(--muted);
  margin-top:6px;
  font-size:15px;
}
.accent{
  color:var(--text);
  font-weight:600;
}

.hero-text{
  max-width:600px;
  margin-top:30px;
  color:#b9b9c9;
  line-height:1.7;
  font-size:15px;
}

.hero-buttons{
  display:flex;
  gap:14px;
  margin-top:36px;
  flex-wrap:wrap;
  justify-content:center;
}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 22px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  transition:.2s;
  border:1px solid transparent;
  cursor:pointer;
}

.btn-dark{
  background:var(--card);
  color:var(--text);
  border-color:var(--border);
}
.btn-dark:hover{
  border-color:var(--accent);
  transform:translateY(-1px);
}

.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#fff;
  box-shadow:0 0 25px rgba(139,92,246,.5);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 0 35px rgba(139,92,246,.8);
}

.btn.full{
  display:flex;
  width:100%;
  margin-top:auto;
  align-self:stretch;
}

/* ===== PAGE HEAD (Games / Premium / Get Key) ===== */
.page-head{
  text-align:center;
  padding:60px 20px 30px;
}

.head-icon{
  font-size:42px;
  color:var(--accent);
  margin-bottom:16px;
  display:flex;
  justify-content:center;
}

.page-title{
  font-size:60px;
  font-weight:800;
  letter-spacing:-1.5px;
  background:linear-gradient(180deg,#a78bfa,#6d28d9);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.page-sub{
  color:var(--muted);
  margin-top:10px;
  font-size:15px;
}

/* ===== GAMES GRID ===== */
.games-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:22px;
  max-width:1300px;
  margin:20px auto 80px;
  padding:0 30px;
}

.game-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  transition:.25s ease;
  cursor:pointer;
}
.game-card:hover{
  transform:translateY(-5px);
  border-color:var(--accent);
  box-shadow:0 10px 30px rgba(139,92,246,.2);
}
.game-card img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  object-position:center;
  display:block;
  background:var(--bg-2);
}
.game-info{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  gap:8px;
}
.game-title{
  font-size:14px;
  font-weight:600;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tag{
  background:#0f291c;
  color:var(--green);
  font-size:11px;
  padding:3px 8px;
  border-radius:6px;
  font-weight:700;
  flex-shrink:0;
}

/* ===== PRICING ===== */
.pricing{
  display:flex;
  gap:26px;
  justify-content:center;
  flex-wrap:wrap;
  max-width:1100px;
  margin:40px auto 0;
  padding:0 30px;
  align-items:stretch;
}

.card{
  position:relative;
  background:linear-gradient(180deg,rgba(20,20,28,.9),rgba(15,15,20,.9));
  border:1px solid var(--border);
  border-radius:18px;
  padding:40px 30px 30px;
  width:340px;
  text-align:center;
  transition:.25s ease;
  display:flex;
  flex-direction:column;
}
.card:hover{
  transform:translateY(-3px);
  border-color:rgba(139,92,246,.5);
}
.card.highlighted{
  border-color:rgba(139,92,246,.6);
  box-shadow:0 0 50px rgba(139,92,246,.15);
}

.ribbon{
  position:absolute;
  top:16px;
  right:16px;
  background:rgba(139,92,246,.15);
  border:1px solid rgba(139,92,246,.4);
  color:#c4b5fd;
  font-size:10px;
  font-weight:700;
  letter-spacing:1px;
  padding:5px 10px;
  border-radius:6px;
}

.card-icon{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:18px;
  filter:drop-shadow(0 0 12px rgba(139,92,246,.6));
}

.card h3{
  font-size:22px;
  font-weight:700;
  margin-bottom:14px;
  color:var(--text);
}

.price{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:8px;
  margin:10px 0;
  flex-wrap:wrap;
}
.amount{
  font-size:42px;
  font-weight:800;
  letter-spacing:-1px;
  color:var(--text);
}
.price-old{
  color:var(--muted);
  font-size:15px;
  text-decoration:line-through;
  font-weight:500;
}
.small{
  color:var(--muted);
  font-size:14px;
}

.badge{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  padding:4px 10px;
  border-radius:6px;
  margin:14px 0 22px;
  letter-spacing:.5px;
}
.badge.green{
  background:rgba(34,197,94,.12);
  color:var(--green);
  border:1px solid rgba(34,197,94,.3);
}
.green-text{color:var(--green);}

.card ul{
  list-style:none;
  text-align:left;
  margin:20px 0 24px;
  padding:0;
}
.card ul li{
  color:#c3c3d2;
  font-size:14px;
  padding:8px 0 8px 26px;
  position:relative;
}
.card ul li::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:16px;
  height:16px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size:contain;
  background-repeat:no-repeat;
}

/* ===== SUPPORT ===== */
.support{
  text-align:center;
  padding:60px 20px 80px;
}
.support-title{
  color:var(--muted);
  font-size:11px;
  letter-spacing:2.5px;
  font-weight:700;
  margin:30px 0 16px;
  text-transform:uppercase;
}
.chips{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:var(--card);
  border:1px solid var(--border);
  padding:9px 16px;
  border-radius:10px;
  font-size:13px;
  color:#c9c9d8;
  transition:.2s;
}
.chip svg{
  opacity:.7;
}
.chip:hover{
  border-color:var(--accent);
  color:var(--text);
  transform:translateY(-1px);
}
.chip:hover svg{
  opacity:1;
  color:var(--accent);
}

/* ===== MOBILE ===== */
@media(max-width:900px){
  .navbar{padding:12px 18px;}
  .brand-name{display:none;}
  .nav-link span{display:none;}
  .nav-link{padding:9px 12px;}
  .btn-discord span{display:none;}
  .btn-discord{padding:9px 12px;}
}

@media(max-width:700px){
  .hero-title{font-size:56px;}
  .hero{padding:60px 20px;}
  .hero-logo{width:100px;height:100px;}
  .page-title{font-size:42px;}
  .card{width:100%;max-width:340px;}
}

/* ===== MODAL ===== */
.modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.modal.open{display:flex;}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  animation:fadeIn .2s ease;
}

@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

.modal-content{
  position:relative;
  width:100%;
  max-width:560px;
  background:linear-gradient(180deg,#181822,#111118);
  border:1px solid var(--border);
  border-radius:18px;
  padding:0 28px 26px;
  box-shadow:0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(139,92,246,.12);
  animation:modalIn .25s cubic-bezier(.2,.8,.2,1);
  max-height:90vh;
  overflow-y:auto;
  overflow-x:hidden;
}

@keyframes modalIn{
  from{opacity:0;transform:translateY(20px) scale(.96);}
  to{opacity:1;transform:translateY(0) scale(1);}
}

.modal-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:5;
  width:34px;
  height:34px;
  border-radius:9px;
  background:rgba(10,10,15,.7);
  border:1px solid var(--border);
  color:var(--text);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:.18s;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.modal-close:hover{
  background:rgba(255,255,255,.08);
  color:var(--text);
  border-color:var(--accent);
}

.modal-title{
  font-size:22px;
  font-weight:700;
  margin-bottom:22px;
  color:var(--text);
  padding-right:40px;
}

.modal-section{margin-bottom:20px;}
.modal-section:last-child{margin-bottom:0;}

.modal-label{
  display:block;
  font-size:11px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}

/* Modal-Hero-Bild */
.modal-hero{
  margin:0 -28px 22px;
  position:relative;
  overflow:hidden;
  border-radius:18px 18px 0 0;
  background:var(--bg-2);
}
.modal-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 40%,rgba(20,20,28,.9) 100%);
  pointer-events:none;
}
.modal-hero img{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  object-position:center;
}

/* Code-Box */
.code-box{
  position:relative;
  background:#0a0a12;
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 14px 46px;
  overflow:hidden;
}
.code-box pre{
  margin:0;
  font-family:'JetBrains Mono','Fira Code',Consolas,monospace;
  font-size:13px;
  line-height:1.55;
  color:#c9d1d9;
  white-space:pre-wrap;
  word-break:break-word;
  max-height:180px;
  overflow-y:auto;
}

.btn-copy{
  position:absolute;
  bottom:10px;
  right:10px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 12px;
  background:rgba(139,92,246,.12);
  border:1px solid rgba(139,92,246,.35);
  border-radius:8px;
  color:#c4b5fd;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  transition:.18s;
  font-family:inherit;
}
.btn-copy:hover{
  background:rgba(139,92,246,.22);
  border-color:var(--accent);
  color:#fff;
}
.btn-copy.copied{
  background:rgba(34,197,94,.15);
  border-color:rgba(34,197,94,.5);
  color:var(--green);
}

/* Cursor bei klickbaren Cards */
.game-card{cursor:pointer;}

/* Roblox-Icon im Play-Button */
.roblox-icon{
  width:18px;
  height:18px;
  object-fit:contain;
  display:block;
  flex-shrink:0;
}

/* Logo in Pricing-Card */
.card-logo{
  width:44px;
  height:44px;
  object-fit:contain;
  display:block;
}

/* Hinweis unter dem Free-Plan */
.key-note{
  display:inline-block;
  margin:12px 0 4px;
  padding:5px 12px;
  font-size:12px;
  font-weight:600;
  color:#fbbf24;
  background:rgba(251,191,36,.1);
  border:1px solid rgba(251,191,36,.3);
  border-radius:8px;
  letter-spacing:.2px;
}
.key-note.purple{
  color:#c4b5fd;
  background:rgba(139,92,246,.12);
  border-color:rgba(139,92,246,.4);
}
