/* ===== Reset ===== */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --neon:#39ff14;
  --neon2:#00ff7f;
  --text:#e9fbff;
  --glass:rgba(8,20,38,.42);
  --glass2:rgba(8,20,38,.28);
  --stroke:rgba(57,255,20,.45);
  --stroke2:rgba(57,255,20,.18);
  --shadow:rgba(57,255,20,.22);
}

html,body{height:100%}
body{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: transparent;      /* MP4 arkada olacak */
  color: var(--text);
  overflow-x:hidden;
}

/* ===== Background video layer ===== */
.bg-video{
  position:fixed; inset:0;
  z-index:-3;
  pointer-events:none;
}
.bg-video video{
  width:100%; height:100%;
  object-fit:cover;
  filter: saturate(1.05) contrast(1.05);
}

.bg-overlay{
  position:fixed; inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 20%, rgba(57,255,20,.10), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(0,220,90,.10), transparent 45%),
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.62));
}

/* scanlines */
.bg-scan{
  position:fixed; inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.16;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.05) 0px,
    rgba(255,255,255,.05) 1px,
    transparent 2px,
    transparent 7px
  );
  mix-blend-mode: overlay;
}

#container{
  width:min(1240px, 100%);
  margin: 0 auto;
  padding: 18px 18px 28px;
  position:relative;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 6px 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
}
.brand img{  height: 76px;
  width:auto;
  filter: drop-shadow(0 0 22px rgba(57,255,20,.18));
}

.userbox{
  display:flex;
  align-items:center;
  gap: 12px;
  color: rgba(233,251,255,.85);
}
.userbox .role{
  font-size:12px;
  opacity:.75;
}
.userbox .avatar{
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(7,18,34,.55);
  border: 1px solid rgba(57,255,20,.35);
  display:grid; place-items:center;
  box-shadow: 0 0 20px rgba(57,255,20,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-panel{
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
  background: var(--glass2);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 0 0 1px var(--stroke2) inset,
    0 25px 70px rgba(0,0,0,.45),
    0 0 44px rgba(57,255,20,.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ===== Neon pulse ===== */
@keyframes neonPulse{
  0%,100%{
    box-shadow:
      0 0 0 1px rgba(57,255,20,.18) inset,
      0 0 18px rgba(57,255,20,.12),
      0 0 34px rgba(57,255,20,.08);
    border-color: rgba(57,255,20,.42);
  }
  50%{
    box-shadow:
      0 0 0 1px rgba(57,255,20,.30) inset,
      0 0 28px rgba(57,255,20,.22),
      0 0 58px rgba(57,255,20,.14);
    border-color: rgba(57,255,20,.72);
  }
}

@keyframes neonGlowBg{
  0%,100%{ background: rgba(7,18,34,.55); }
  50%{ background: rgba(57,255,20,.10); }
}

/* ===== Right-side vertical menu (responsive) ===== */
/* Content area leaves room for the right menu on wide screens */
#container{ padding-right: 330px; }

#menu{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding: 0;
  margin: 0;

  position: fixed;
  right: 28px;
  top: 120px;
  width: 280px;
  z-index: 30;

  max-height: calc(100vh - 150px);
  overflow: auto;
  padding-right: 6px; /* scrollbar space */

  background: transparent;
  border: none;
  box-shadow: none;
}

#menu > li{ position:relative; }

/* Main button */
#menu > li > a{
  display:flex;
  align-items:center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  text-decoration:none;
  color: rgba(233,251,255,.92);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .9px;
  text-transform: uppercase;

  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.28)) , rgba(7,18,34,.62);
  border: 1px solid rgba(57,255,20,.38);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 18px 55px rgba(0,0,0,.38),
    0 0 34px rgba(57,255,20,.12);
  /* both-side chamfer so the "kesik" is always visible */
  clip-path: polygon(0% 0%, 92% 0%, 100% 50%, 92% 100%, 0% 100%, 6% 50%);

  animation: neonPulse 1.75s ease-in-out infinite;
  transition: transform .12s ease, filter .12s ease;
}

/* extra stroke to make chamfer visible */
#menu > li > a::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 14px;
  clip-path: polygon(0% 0%, 92% 0%, 100% 50%, 92% 100%, 0% 100%, 6% 50%);
  box-shadow: 0 0 0 1px rgba(57,255,20,.18) inset;
  pointer-events:none;
}

#menu > li > a:hover{ transform: translateY(-1px); filter: brightness(1.12); }

#menu > li.active > a{
  border-color: rgba(57,255,20,.92);
  box-shadow:
    0 0 0 1px rgba(57,255,20,.30) inset,
    0 0 34px rgba(57,255,20,.22),
    0 0 78px rgba(57,255,20,.14);
}

/* icon box */
#menu .mi{
  width: 22px; height: 22px;
  display:inline-grid; place-items:center;
  border-radius: 8px;
  border: 1px solid rgba(57,255,20,.35);
  animation: neonGlowBg 2.2s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(57,255,20,.12);
}

/* Dropdown now expands downward (pushes items) on click */
#menu li ul{
  list-style:none;
  position: static;
  width: 100%;
  margin: 10px 0 0 0;
  padding: 0;

  max-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(7,18,34,.70);
  border: 1px solid rgba(57,255,20,.22);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: max-height .35s ease;
}

#menu li.open ul{ max-height: 360px; }

#menu li ul li a{
  display:block;
  padding: 12px 14px;
  font-weight: 800;
  color: rgba(233,251,255,.84);
  border-top: 1px solid rgba(255,255,255,.06);
  border-radius: 0;
  clip-path: none;
  animation: none;
  background: transparent;
}

#menu li ul li a:hover{ color: rgba(57,255,20,1); background: rgba(57,255,20,.10); }

/* Mobile: menu becomes normal flow, stacked, full width */
@media (max-width: 980px){
  #container{ padding-right: 18px; }
  #menu{
    position: static;
    width: 100%;
    right: auto;
    top: auto;
    margin: 12px 0 6px 0;
  }
}

/* ===== Bootstrap overrides for neon buttons ===== */
.btn, .form-control, .form-select{
  border-radius: 12px !important;
}
.form-control, .form-select{
  background: rgba(7,18,34,.55) !important;
  border: 1px solid rgba(57,255,20,.22) !important;
  color: rgba(233,251,255,.92) !important;
  box-shadow: 0 0 0 1px rgba(57,255,20,.10) inset;
}
.form-control::placeholder{ color: rgba(233,251,255,.55) !important; }

.btn-dark{
  background: rgba(57,255,20,.12) !important;
  border: 1px solid rgba(57,255,20,.55) !important;
  color: rgba(233,251,255,.96) !important;
  animation: neonPulse 1.6s ease-in-out infinite;
}
.btn-outline-dark{
  background: rgba(7,18,34,.45) !important;
  border: 1px solid rgba(57,255,20,.35) !important;
  color: rgba(233,251,255,.92) !important;
  animation: neonPulse 1.9s ease-in-out infinite;
}
.btn-outline-dark:hover{ filter: brightness(1.12); }

/* tables/cards */
.table, .card, .table-responsive{
  background: rgba(8,20,38,.30) !important;
  border-color: rgba(255,255,255,.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.table thead{ background: rgba(8,20,38,.42) !important; }
.table td, .table th{ color: rgba(233,251,255,.90) !important; }
.table a{ color: rgba(57,255,20,.95); }

/* chat bubbles */
.chat-bubble{ max-width: 92%; padding: .65rem .8rem; border-radius: 1rem; border:1px solid rgba(255,255,255,.10); }
.chat-in{ background: rgba(7,18,34,.55); box-shadow: 0 0 18px rgba(57,255,20,.06); }
.chat-out{ background: rgba(57,255,20,.10); margin-left:auto; box-shadow: 0 0 22px rgba(57,255,20,.10); }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.tag-pill{ border-radius:999px; }

@media (max-width: 520px){
  .brand .logo3d, .brand-left .logo3d{ width: 170px; height: 92px; border-radius: 24px; }
  .brand img.brand-logo, .brand-left img.brand-logo{ width:auto; height:auto; max-width: 82%; max-height: 70%; object-fit: contain; object-position: center; }
  .brand .brand-title{ font-size: 13px; letter-spacing: .8px; 
  animation: neonTextPulse 2.6s ease-in-out infinite;
}
  .userbox .role{ display:none; }
}



/* =========================================================
   PRO OKUNABİLİRLİK + LED NEON YEŞİL DOKUNUŞLAR (override)
   - Sol içerik paneli daha koyu / yazılar net
   - Sağ menü butonları: radius + "kesik" çizgiler net
   ========================================================= */

:root{
  --neon:#39ff14;          /* daha LED mavi */
  --neon2:#00ff7f;
  --glassStrong: rgba(3,10,18,.62);
  --glassStrong2: rgba(6,16,28,.52);
}

/* Sol panel yazı okunurluğu */
.glass-panel{
  background: linear-gradient(180deg, var(--glassStrong), var(--glassStrong2)) !important;
  box-shadow:
    0 0 0 1px rgba(57,255,20,.18) inset,
    0 30px 90px rgba(0,0,0,.55),
    0 0 70px rgba(57,255,20,.10) !important;
  backdrop-filter: blur(18px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.05) !important;
}
.glass-panel::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  pointer-events:none;
  background:
    radial-gradient(900px 300px at 15% 10%, rgba(57,255,20,.10), transparent 55%),
    radial-gradient(700px 260px at 80% 20%, rgba(0,204,85,.08), transparent 60%);
  opacity:.9;
}
.glass-panel{ position:relative; }
.glass-panel > *{ position:relative; z-index:1; }

.glass-panel h1, .glass-panel .h1, .glass-panel .h2, .glass-panel .h3, .glass-panel .h4{
  color: rgba(233,251,255,.96) !important;
  text-shadow: 0 0 18px rgba(57,255,20,.12);
}

/* Input / select / button uyumu */
.form-control, .form-select{
  background: rgba(7,18,34,.55) !important;
  border: 1px solid rgba(57,255,20,.22) !important;
  color: rgba(233,251,255,.92) !important;
  box-shadow: 0 0 0 1px rgba(57,255,20,.08) inset;
}
.form-control::placeholder{ color: rgba(233,251,255,.55) !important; }
.form-control:focus, .form-select:focus{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(57,255,20,.12) !important;
  border-color: rgba(57,255,20,.65) !important;
}

.btn, .btn-outline-dark{
  border-color: rgba(57,255,20,.28) !important;
  color: rgba(233,251,255,.92) !important;
  background: rgba(7,18,34,.40) !important;
}
.btn:hover, .btn-outline-dark:hover{
  border-color: rgba(57,255,20,.72) !important;
  background: rgba(57,255,20,.08) !important;
}

/* Tabloyu beyazdan kurtar (okunur + pro) */
.table{
  color: rgba(233,251,255,.90) !important;
  border-color: rgba(255,255,255,.08) !important;
}
.table thead, .table-light{
  background: rgba(7,18,34,.55) !important;
}
.table thead th{
  color: rgba(57,255,20,.92) !important;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 12px;
  border-bottom: 1px solid rgba(57,255,20,.18) !important;
}
.table tbody td{
  background: rgba(0,0,0,.00) !important;
  border-color: rgba(255,255,255,.06) !important;
}
.table-hover tbody tr:hover td{
  background: rgba(57,255,20,.06) !important;
}

/* Logo yanında başlık */
.brandtext{ display:flex; align-items:center; }
.brandtitle{
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(233,251,255,.96);
  text-shadow:
    0 0 14px rgba(57,255,20,.18),
    0 0 34px rgba(57,255,20,.10);
  white-space: nowrap;
}

/* Sağ menü: arka plaka ekle ki kesikler net görünsün */
#menu{
  padding: 14px !important;
  border-radius: 18px !important;
  background: rgba(3,10,18,.34) !important;
  border: 1px solid rgba(57,255,20,.14) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 18px 70px rgba(0,0,0,.45), 0 0 38px rgba(57,255,20,.06);
}

/* LED blink: border glow */
@keyframes ledBlink{
  0%{ filter: brightness(1); }
  100%{ filter: brightness(1.15); }
}

/* Buton: radius + kesik çizgiler (pseudo ile) */
#menu > li > a{
  clip-path: none !important;     /* radius'u koru */
  border-radius: 18px !important;
  overflow: visible !important;
  background: linear-gradient(180deg, rgba(9,22,40,.55), rgba(6,14,26,.42)) !important;
  border: 1px solid rgba(57,255,20,.28) !important;
  animation: neonPulse 1.6s ease-in-out infinite, ledBlink 1.1s ease-in-out infinite alternate !important;
}

/* Kesik/chamfer çizgisi (daha belirgin) */
#menu > li > a::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: 18px;
  clip-path: polygon(12px 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 12px 100%, 0 50%);
  box-shadow:
    0 0 0 1px rgba(57,255,20,.55) inset,
    0 0 18px rgba(57,255,20,.18),
    0 0 44px rgba(57,255,20,.10);
  pointer-events:none;
  opacity:.95;
}

/* Köşe "kesik" vurguları (LED şerit gibi) */
#menu > li > a::after{
  content:"";
  position:absolute;
  inset: 6px;
  border-radius: 14px;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(57,255,20,.0), rgba(57,255,20,.65), rgba(57,255,20,.0)) top/100% 1px no-repeat,
    linear-gradient(90deg, rgba(57,255,20,.0), rgba(57,255,20,.35), rgba(57,255,20,.0)) bottom/100% 1px no-repeat,
    linear-gradient(180deg, rgba(57,255,20,.0), rgba(57,255,20,.35), rgba(57,255,20,.0)) left/1px 100% no-repeat,
    linear-gradient(180deg, rgba(57,255,20,.0), rgba(57,255,20,.25), rgba(57,255,20,.0)) right/1px 100% no-repeat;
  opacity:.55;
}

/* Mobil: sağ menü sayfa içine girsin, alt alta full */
@media (max-width: 980px){
  #menu{
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    margin: 12px 0 0 0 !important;
  }
}


/* ===== v3 UI fixes (readability + 3D glass + logo spin) ===== */

/* Table header: remove white bar, make it thin dark + neon */
.table{
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.table thead,
.table thead tr,
.table thead th{
  background: rgba(2,10,16,.55) !important;
}
.table thead th{
  color: rgba(57,255,20,.98) !important;
  font-weight: 900 !important;
  letter-spacing: .9px !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(57,255,20,.35) !important;
}
.table tbody td{
  background: rgba(5,14,26,.40) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}
.table tbody tr:hover td{
  background: rgba(57,255,20,.05) !important;
}

/* Right menu buttons: more 3D glass, visible radius + segmented neon border */
#menu > li > a{
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(18,40,70,.42), rgba(7,18,34,.55)) !important;
  box-shadow:
    0 0 0 1px rgba(57,255,20,.22) inset,
    0 10px 26px rgba(0,0,0,.35),
    0 0 22px rgba(57,255,20,.10) !important;
  position: relative !important;
  overflow: hidden !important;
  transform: translateZ(0);
}

/* glass shine */
#menu > li > a .shine,
#menu > li > a::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  pointer-events:none;
}
#menu > li > a::before{
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.18), transparent 35%),
    radial-gradient(circle at 70% 0%, rgba(57,255,20,.12), transparent 45%);
  opacity:.75;
  mix-blend-mode: screen;
}

/* segmented neon ring (works on modern browsers) */
#menu > li > a::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 18px;
  padding: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(57,255,20,.95) 0 18px,
    rgba(57,255,20,0) 18px 30px
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity:.38;
  pointer-events:none;
  filter: drop-shadow(0 0 10px rgba(57,255,20,.20));
}

#menu > li > a:hover{
  filter: brightness(1.16);
  transform: translateY(-1px) translateZ(0);
}
#menu > li.active > a{
  box-shadow:
    0 0 0 1px rgba(57,255,20,.35) inset,
    0 14px 34px rgba(0,0,0,.38),
    0 0 34px rgba(57,255,20,.18) !important;
}
#menu .mi{
  border-radius: 10px !important;
  background: rgba(2,10,16,.35);
  box-shadow:
    0 0 0 1px rgba(57,255,20,.28) inset,
    0 0 18px rgba(57,255,20,.12);
}

/* Header logo: 3D glass + 360° spin */
.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  perspective: 1000px;
}
.brand .logo3d{
  width: 112px;
  height: 112px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(7,18,34,.55), rgba(7,18,34,.28));
  border: 1px solid rgba(57,255,20,.28);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.09) inset,
    0 28px 70px rgba(0,0,0,.45),
    0 0 44px rgba(57,255,20,.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  transform-style: preserve-3d;
  animation: spin3d 7.5s linear infinite;
}
.brand .logo3d::before{
  /* "extrude" back-face: same logo pushed backwards (glass thickness illusion) */
  content:"";
  position:absolute;
  inset: 18px;
  background-image: var(--logo-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translateZ(-26px) scale(.98);
  opacity: .52;
  filter:
    saturate(1.15)
    contrast(1.12)
    drop-shadow(0 0 18px rgba(57,255,20,.18))
    drop-shadow(2px 2px 0 rgba(57,255,20,.06))
    drop-shadow(4px 4px 0 rgba(57,255,20,.04));
  pointer-events:none;
}
.brand .logo3d::after{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    linear-gradient(115deg, rgba(255,255,255,.35), transparent 45%, rgba(57,255,20,.18));
  transform: translateZ(22px) rotate(20deg);
  opacity:.30;
  pointer-events:none;
}
.brand img.brand-logo, .brand-left img.brand-logo{ width:auto; height:auto; max-width: 82%; max-height: 70%; object-fit: contain; object-position: center; }
@keyframes spin3d{
  0%{ transform: rotateY(0deg) rotateX(14deg); }
  100%{ transform: rotateY(360deg) rotateX(14deg); }
}
.brand .brand-title{
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(57,255,20,.90);
  text-shadow: 0 0 22px rgba(57,255,20,.35), 0 0 60px rgba(57,255,20,.14);
}
.brand .brand-title span{
  color: rgba(57,255,20,.98);
}


/* ===== Table readability fix (remove white bars) ===== */
.table, table{
  background: rgba(3,10,18,.28) !important;
  color: rgba(233,255,244,.92) !important;
}
.table thead, .table thead tr{
  background: rgba(0,0,0,.52) !important;
}
.table thead th{
  background: rgba(0,0,0,.52) !important;
  color: rgba(57,255,20,.95) !important;
  border-bottom: 1px solid rgba(57,255,20,.22) !important;
}
.table td, .table th{
  border-color: rgba(255,255,255,.08) !important;
}
.table tbody tr{
  background: rgba(0,0,0,.18) !important;
}
.table tbody tr:hover{
  background: rgba(57,255,20,.06) !important;
}
.table tbody td{
  color: rgba(233,255,244,.90) !important;
}


/* =========================================================
   v6 HEADER LAYOUT + LOGO 3D EXTRUDE (STRONGER)
   - Logo bigger + thicker "glass" extrusion (multi-layer)
   - Title centered on topbar (LED green)
   ========================================================= */

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.brand-left{
  display:flex;
  align-items:center;
  gap: 14px;
  perspective: 1200px;
}

.app-title{
  flex: 1 1 auto;
  text-align:center;
  font-weight: 950;
  font-size: 18px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(57,255,20,1);
  text-shadow:
    0 0 10px rgba(57,255,20,.65),
    0 0 26px rgba(57,255,20,.55),
    0 0 58px rgba(57,255,20,.35);
  
  animation: neonTextPulse 2.6s ease-in-out infinite;
}

@media (max-width: 980px){
  .topbar{ flex-wrap:wrap; justify-content:center; }
  .brand-left{ order:1; }
  .app-title{ order:2; width:100%; margin-top: 6px; font-size: 16px; }
  .userbox{ order:3; width:100%; justify-content:center; margin-top: 8px; }
}

/* Stronger extrude: bigger logo + multi depth layers */
.brand .logo3d, .brand-left .logo3d{
  width: 220px;
  height: 120px;
  border-radius: 30px;
  position: relative;
  overflow:hidden;

  /* thick glass frame */
  background:
    radial-gradient(120% 120% at 20% 18%, rgba(255,255,255,.12), transparent 45%),
    radial-gradient(120% 120% at 80% 30%, rgba(57,255,20,.10), transparent 55%),
    linear-gradient(180deg, rgba(7,18,34,.55), rgba(3,10,18,.70));
  border: 1px solid rgba(57,255,20,.38);

  box-shadow:
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 0 0 2px rgba(57,255,20,.12) inset,
    0 18px 60px rgba(0,0,0,.45),
    0 0 44px rgba(57,255,20,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transform-style: preserve-3d;
  animation: spin3d 9.5s linear infinite;
}

.brand .logo3d::before, .brand-left .logo3d::before{
  /* inner glass border shimmer */
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: 24px;
  border: 1px solid rgba(57,255,20,.22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 24px rgba(57,255,20,.10);
  transform: translateZ(8px);
  pointer-events:none;
}

.brand .logo3d::after, .brand-left .logo3d::after{
  /* moving gloss */
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(115deg, rgba(255,255,255,.35), transparent 45%, rgba(57,255,20,.10));
  transform: translateZ(44px) rotate(22deg);
  opacity: .26;
  pointer-events:none;
}

.logo3d .logo-depth{
  position:absolute;
  inset: 20px;
  background-image: var(--logo-url);
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  border-radius: 14px;
  pointer-events:none;
}

.logo3d .logo-depth.d1{
  transform: translateZ(-34px) scale(.99);
  opacity:.45;
  filter:
    saturate(1.15) contrast(1.1)
    blur(.2px)
    drop-shadow(2px 2px 0 rgba(57,255,20,.06))
    drop-shadow(4px 4px 0 rgba(57,255,20,.04));
}
.logo3d .logo-depth.d2{
  transform: translateZ(-64px) scale(.985);
  opacity:.28;
  filter:
    saturate(1.1) contrast(1.08)
    blur(.6px)
    drop-shadow(6px 6px 0 rgba(57,255,20,.03));
}

.logo3d .logo-gloss{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.22), transparent 42%),
    radial-gradient(circle at 70% 35%, rgba(57,255,20,.08), transparent 55%);
  transform: translateZ(50px);
  opacity:.22;
  pointer-events:none;
}

.brand img.brand-logo, .brand-left img.brand-logo{
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 70%;
  object-fit: contain;
  object-position: center;
  display:block;
  position:absolute;
  inset:0;
  margin:auto;
  transform: translateZ(54px) scale(.99);
  transform-style: preserve-3d;
  filter:
    drop-shadow(0 0 22px rgba(57,255,20,.28))
    drop-shadow(2px 2px 0 rgba(57,255,20,.10))
    drop-shadow(4px 4px 0 rgba(57,255,20,.07));
}

/* slower, more premium tilt */
@keyframes spin3d{
  0%{ transform: rotateY(0deg) rotateX(10deg); }
  50%{ transform: rotateY(180deg) rotateX(12deg); }
  100%{ transform: rotateY(360deg) rotateX(10deg); }
}

@media (max-width: 520px){
  .brand .logo3d, .brand-left .logo3d{ width: 170px; height: 92px; border-radius: 24px; }
  .brand img.brand-logo, .brand-left img.brand-logo{ width:auto; height:auto; max-width: 82%; max-height: 70%; object-fit: contain; object-position: center; }
  .app-title{ font-size: 14px; letter-spacing: 1.1px; }
}


@keyframes neonTextPulse{
  0%,100%{ text-shadow: 0 0 10px rgba(57,255,20,.55), 0 0 24px rgba(57,255,20,.45), 0 0 54px rgba(57,255,20,.25); }
  50%{ text-shadow: 0 0 14px rgba(57,255,20,.75), 0 0 34px rgba(57,255,20,.60), 0 0 78px rgba(57,255,20,.38); }
}
