/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
/* - Removed heavy animations and effects that cause lag */
/* - Simplified gradients and shadows */
/* - Used transform instead of left/right for animations */
/* - Reduced backdrop-filter usage */
/* - Optimized will-change properties */

:root{
  --bg0:#0a0b0f;
  --bg1:#13151a;
  --panel:#1e1f26;
  --muted:#b9bbbe;
  --accent:#5865F2;
  --accent2:#06b6d4;
  --accent-glow: rgba(88, 101, 242, 0.4);
  --glass: rgba(255,255,255,0.05);
  --card-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

/* ==================== OPTIMIZED BACKGROUND ==================== */
html {
  height: 100%;
  background: var(--bg0);
}

body{
  font-family:'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg0);
  color:#e3e5e8;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  min-height:100vh;
  position:relative;
  margin:0;
  padding:0;
}

/* Simplified background - removed animated particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(ellipse at top, #1a1d29 0%, var(--bg0) 60%);
  pointer-events: none;
  z-index: 0;
}

.page{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px 40px 24px;
  position:relative;
  z-index:1;
  background:var(--bg0);
}

/* ==================== OPTIMIZED HEADER ==================== */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 24px;
  background:rgba(30, 31, 38, 0.8);
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 8px 32px rgba(0,0,0,0.5);
  margin-bottom:0;
  animation:slideDown 0.8s ease-out;
  position:sticky;
  top:20px;
  z-index:1000;
  min-height:85px;
  /* Removed backdrop-filter for better performance */
}

@keyframes slideDown {
  from { opacity:0; transform:translateY(-30px); }
  to { opacity:1; transform:translateY(0); }
}

.site-header .left{
  display:flex;
  gap:16px;
  align-items:center;
}

.avatar-wrapper{
  position:relative;
  display:inline-block;
}

.avatar-decoration{
  position:absolute;
  bottom:-2px;
  right:-2px;
  width:28px;
  height:28px;
  background:rgba(30,31,38,0.95);
  border-radius:50%;
  display:none;
  align-items:center;
  justify-content:center;
  border:2px solid var(--bg0);
  font-size:16px;
  z-index:2;
  box-shadow:0 2px 8px rgba(0,0,0,0.4);
  line-height:1;
}

.avatar-decoration[style*="display: flex"] {
  display: flex !important;
}

.avatar-decoration img{
  width:20px;
  height:20px;
  object-fit:contain;
  display:block;
}

.avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  border:2px solid var(--accent);
  box-shadow:0 0 20px var(--accent-glow);
  transition:transform 0.2s ease;
}

.avatar:hover{
  transform:scale(1.05);
}

.meta h1{
  font-size:22px;
  font-weight:700;
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:2px;
}

.role{
  color:var(--muted);
  margin:4px 0;
  font-size:13px;
  font-weight:500;
}

.status{
  display:flex;
  align-items:center;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}

.status .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  margin-right:6px;
  background:#3ba55d;
  box-shadow:0 0 8px #3ba55d;
}

/* Removed blink animation for better performance */

.nav{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex:1;
  margin-left:20px;
  position:relative;
}

@media (min-width:769px){
  .nav{
    display:flex !important;
    position:relative !important;
  }
  
  .mobile-menu-toggle{
    display:none !important;
  }
}

.nav-menu{
  display:flex;
  gap:6px;
  align-items:center;
  flex:1;
  justify-content:center;
}

.nav-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.nav-menu a{
  color:var(--muted);
  text-decoration:none;
  padding:8px 16px;
  border-radius:10px;
  font-weight:600;
  font-size:14px;
  transition:all 0.2s ease;
  position:relative;
  border:1px solid transparent;
}

.nav-btn{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 16px;
  border-radius:10px;
  font-weight:600;
  font-size:14px;
  text-decoration:none;
  transition:all 0.2s ease;
  border:1px solid transparent;
}

.nav-btn.discord-btn{
  background:rgba(88,101,242,0.15);
  border-color:rgba(88,101,242,0.3);
  color:#fff;
}

.nav-btn.discord-btn:hover{
  background:rgba(88,101,242,0.25);
  border-color:rgba(88,101,242,0.5);
  transform:translateY(-1px);
}

.nav-btn.discord-btn img{
  width:18px;
  height:18px;
  filter:brightness(0) invert(1);
}

.nav-btn.profile-btn{
  background:linear-gradient(135deg, rgba(88,101,242,0.2), rgba(6,182,212,0.2));
  border-color:rgba(88,101,242,0.3);
  color:#fff;
}

.nav-btn.profile-btn:hover{
  background:linear-gradient(135deg, rgba(88,101,242,0.3), rgba(6,182,212,0.3));
  transform:translateY(-1px);
}

/* Removed complex animations on nav menu items */
.nav-menu a:hover{
  color:#fff;
  background:rgba(88,101,242,0.12);
  border-color:rgba(88,101,242,0.2);
  transform:translateY(-1px);
}

/* ==================== MAIN CONTENT ==================== */
main {
  position:relative;
  z-index:1;
  background:var(--bg0);
}

/* Simplified hero grid - static instead of animated */
.hero-grid {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  background-image:
    linear-gradient(rgba(88, 101, 242, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 101, 242, 0.2) 1px, transparent 1px);
  background-size:30px 30px;
  pointer-events:none;
  z-index:0;
  opacity:0.6;
}

@media (max-width:768px){
  .hero-grid {
    background-size:25px 25px;
    opacity:0.4;
  }
}

.hero{
  padding:140px 0 80px 0;
  text-align:center;
  animation:fadeInUp 1s ease-out 0.2s both;
  position:relative;
  margin-left:calc(-50vw + 50%);
  margin-right:calc(-50vw + 50%);
  width:100vw;
  margin-top:-100px;
  margin-bottom:60px;
  z-index:1;
  background:radial-gradient(ellipse at top, #1a1d29 0%, #13151a 50%, #0f1115 100%);
  overflow:hidden;
}

@media (max-width:768px){
  .hero{
    margin-top:-100px !important;
    padding-top:150px !important;
  }
}

.hero-inner {
  position:relative;
  z-index:1;
  max-width:900px;
  margin:0 auto;
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(40px); }
  to { opacity:1; transform:translateY(0); }
}

.typing{
  font-weight:700;
  font-size:48px;
  background:linear-gradient(90deg, var(--accent) 0%, var(--accent2) 50%, #fff 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:20px;
  line-height:1.2;
  position:relative;
  display:inline-block;
  z-index:1;
}

.typing::after {
  content:'|';
  position:absolute;
  right:-12px;
  animation:blink-cursor 1s step-end infinite;
  color:var(--accent);
}

@keyframes blink-cursor {
  50% { opacity:0; }
}

.lead{
  color:var(--muted);
  font-size:20px;
  line-height:1.6;
  margin:24px 0;
  font-weight:400;
  position:relative;
  z-index:1;
}

.cta{
  display:flex;
  gap:16px;
  justify-content:center;
  margin:32px 0;
  position:relative;
  z-index:1;
}

.btn-primary{
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  padding:14px 28px;
  border-radius:10px;
  color:white;
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  box-shadow:0 4px 15px rgba(88,101,242,0.4);
  transition:all 0.2s ease;
  border:none;
  cursor:pointer;
  display:inline-block;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(88,101,242,0.5);
}

.btn-primary:active{
  transform:translateY(0);
}

.btn-ghost{
  background:rgba(255,255,255,0.05);
  padding:14px 28px;
  border-radius:12px;
  border:2px solid rgba(255,255,255,0.1);
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  transition:all 0.2s ease;
  cursor:pointer;
}

.btn-ghost:hover{
  background:rgba(255,255,255,0.1);
  border-color:var(--accent);
  color:#fff;
  transform:translateY(-2px);
}

/* ==================== SOCIALS ==================== */
.socials{
  display:flex;
  gap:16px;
  justify-content:center;
  margin-top:40px;
  position:relative;
  z-index:1;
}

.socials a{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  transition:all 0.2s ease;
  position:relative;
}

.socials img{
  width:24px;
  height:24px;
  filter:invert(1);
  position:relative;
  z-index:1;
  transition:transform 0.2s ease;
}

.socials a:hover{
  transform:translateY(-5px) scale(1.1);
  box-shadow:0 8px 24px rgba(88,101,242,0.3);
  border-color:var(--accent);
}

.socials a:hover img{
  transform:scale(1.1);
}

/* ==================== SECTIONS ==================== */
.section{
  margin-top:48px;
  padding:40px;
  border-radius:20px;
  background:rgba(15, 17, 21, 0.95);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 8px 32px rgba(0,0,0,0.5);
  animation:fadeInUp 0.8s ease-out both;
  transition:transform 0.2s ease;
  position:relative;
  z-index:1;
}

.section:hover{
  transform:translateY(-3px);
}

.section h3{
  font-size:32px;
  font-weight:700;
  margin-bottom:24px;
  background:linear-gradient(135deg, #fff, var(--accent2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.about p{
  font-size:18px;
  line-height:1.8;
  color:var(--muted);
}

/* ==================== GRID & CARDS ==================== */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
  margin-top:24px;
}

.card{
  background:rgba(30, 31, 38, 0.6);
  padding:20px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 4px 16px rgba(0,0,0,0.3);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
  position:relative;
  overflow:hidden;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,0.4);
  border-color:rgba(88,101,242,0.3);
}

.card-top{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  margin-bottom:20px;
}

.card-top img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:12px;
  transition:opacity 0.2s ease;
}

.card:hover .card-top img{
  opacity:0.9;
}

.card h4{
  font-size:20px;
  margin-bottom:8px;
  color:#fff;
}

.muted{
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.tech{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0;
}

.tag{
  background:rgba(88,101,242,0.15);
  padding:6px 12px;
  border-radius:8px;
  font-size:13px;
  color:var(--accent2);
  font-weight:600;
  border:1px solid rgba(88,101,242,0.2);
}

.card-actions{
  display:flex;
  gap:12px;
  margin-top:20px;
}

.btn-invite, .btn-detail{
  flex:1;
  text-align:center;
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  transition:all 0.2s ease;
}

.btn-invite{
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  box-shadow:0 4px 16px rgba(88,101,242,0.3);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.btn-invite:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(88,101,242,0.4);
}

.btn-invite img{
  width:16px;
  height:16px;
  filter:brightness(0) invert(1);
}

.btn-detail{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  color:var(--muted);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.btn-detail:hover{
  background:rgba(255,255,255,0.1);
  color:#fff;
  border-color:var(--accent);
  transform:translateY(-2px);
}

/* Bot card enhancements */
.card.active {
  border:2px solid rgba(88, 101, 242, 0.3);
}

.card-badge {
  position:absolute;
  top:12px;
  right:12px;
  padding:6px 12px;
  border-radius:20px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  z-index:2;
}

.card.active .card-badge {
  background:linear-gradient(135deg, #10b981, #059669);
  color:white;
}

.card.coming-soon {
  opacity:0.6;
}

.card.coming-soon .card-badge {
  background:linear-gradient(135deg, #f59e0b, #d97706);
  color:white;
}

.card-overlay {
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
}

.online-status, .offline-status {
  padding:4px 8px;
  border-radius:12px;
  font-size:11px;
  font-weight:600;
}

.online-status {
  background:rgba(16, 185, 129, 0.2);
  border:1px solid rgba(16, 185, 129, 0.4);
  color:#10b981;
}

.offline-status {
  background:rgba(107, 114, 128, 0.2);
  border:1px solid rgba(107, 114, 128, 0.4);
  color:#6b7280;
}

.bot-stats {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:16px 0;
}

.stat {
  text-align:center;
  padding:12px;
  background:rgba(255, 255, 255, 0.03);
  border-radius:10px;
  border:1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  display:block;
  font-size:18px;
  font-weight:700;
  color:var(--accent2);
  margin-bottom:4px;
}

.stat-label {
  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.5px;
}

.progress-info {
  margin:16px 0;
}

.progress-bar {
  width:100%;
  height:6px;
  background:rgba(255, 255, 255, 0.1);
  border-radius:10px;
  overflow:hidden;
  margin-bottom:8px;
}

.progress {
  height:100%;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius:10px;
  transition:width 0.3s ease;
}

.progress-text {
  font-size:12px;
  color:var(--muted);
  text-align:center;
  display:block;
}

.btn-disabled {
  flex:2;
  padding:12px 16px;
  background:rgba(107, 114, 128, 0.2);
  border:1px solid rgba(107, 114, 128, 0.3);
  color:#6b7280;
  border-radius:10px;
  font-weight:600;
  font-size:14px;
  cursor:not-allowed;
  opacity:0.7;
}

/* ==================== SERVERS ==================== */
.server-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:20px;
  margin-top:24px;
}

.server{
  display:flex;
  gap:16px;
  align-items:center;
  padding:20px;
  border-radius:16px;
  background:rgba(30, 31, 38, 0.6);
  border:1px solid rgba(255,255,255,0.08);
  transition:all 0.2s ease;
}

.server:hover{
  transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,0.4);
  border-color:rgba(88,101,242,0.3);
}

.server img{
  width:70px;
  height:70px;
  border-radius:14px;
  border:2px solid rgba(255,255,255,0.1);
  flex-shrink:0;
  object-fit:cover;
}

.server-info{
  flex:1;
  min-width:0;
}

.server-info h4{
  font-size:18px;
  margin-bottom:6px;
  color:#fff;
  font-weight:600;
}

.server-info p.muted{
  font-size:14px;
  margin-bottom:8px;
  line-height:1.4;
}

.server .meta{
  color:var(--accent2);
  font-weight:600;
  font-size:13px;
  margin:6px 0;
}

.server .meta span{
  color:#fff;
  font-size:16px;
  font-weight:700;
}

.btn-join{
  display:inline-block;
  margin-top:8px;
  padding:8px 20px;
  border-radius:8px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  text-decoration:none;
  font-weight:600;
  font-size:13px;
  transition:all 0.2s ease;
}

.btn-join:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 16px rgba(88,101,242,0.4);
}

/* ==================== CONTACT FORM ==================== */
.contact-card {
  background:#1a1b20;
  padding:2rem;
  border-radius:12px;
  max-width:800px;
  margin:0 auto;
  box-shadow:0 0 20px rgba(88, 101, 242, 0.15);
}

.contact-card h3 {
  font-size:1.5rem;
  color:#fff;
  margin-bottom:0.5rem;
}

.contact-card p {
  color:#a0a0a0;
  margin-bottom:1.5rem;
}

.contact form{
  display:grid;
  gap:16px;
  margin-top:24px;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

input, textarea{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  padding:16px;
  border-radius:12px;
  color:#fff;
  font-size:15px;
  outline:none;
  transition:all 0.2s ease;
  font-family:inherit;
  width:100%;
}

input:focus, textarea:focus{
  background:rgba(255,255,255,0.08);
  border-color:var(--accent);
  box-shadow:0 0 20px rgba(88,101,242,0.2);
}

input::placeholder, textarea::placeholder{
  color:var(--muted);
}

textarea{
  resize:vertical;
  min-height:150px;
}

/* ==================== FOOTER ==================== */
.site-footer{
  margin-top:60px;
  padding:32px;
  text-align:center;
  color:var(--muted);
  font-size:15px;
  border-top:1px solid rgba(255,255,255,0.08);
  background:rgba(10, 11, 15, 0.98);
  border-radius:16px;
  position:relative;
  z-index:1;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  z-index:1001;
  flex-shrink:0;
}

.mobile-menu-toggle span{
  width:24px;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:all 0.3s ease;
  display:block;
}

.mobile-menu-toggle.active span:nth-child(1){
  transform:rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2){
  opacity:0;
  transform:scale(0);
}

.mobile-menu-toggle.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px, -6px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width:768px){
  .site-header{
    flex-wrap:nowrap;
    padding:14px 16px;
    position:relative;
    align-items:center;
    height:85px;
    min-height:85px;
    max-height:85px;
    overflow:visible;
    flex-shrink:0;
  }
  
  .site-header .left{
    flex:1;
    min-width:0;
    overflow:hidden;
    flex-shrink:1;
  }
  
  .mobile-menu-toggle{
    display:flex;
    margin-left:12px;
    flex-shrink:0;
  }
  
  .site-header .nav{
    display:flex !important;
    position:fixed !important;
    top:calc(20px + 85px) !important;
    left:20px !important;
    right:20px !important;
    width:calc(100% - 40px) !important;
    flex-direction:column !important;
    gap:8px;
    padding:20px;
    border-radius:16px;
    background:rgba(20, 22, 28, 0.98);
    box-shadow:0 8px 32px rgba(0,0,0,0.5);
    border:1px solid rgba(255,255,255,0.1);
    z-index:998 !important;
    max-height:calc(100vh - 120px);
    overflow-y:auto;
    margin:0 !important;
    margin-left:0 !important;
    margin-top:12px !important;
    flex:0 0 auto !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    height:auto !important;
    min-height:auto !important;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-10px);
    transition:opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }
  
  .site-header .nav.active{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) !important;
  }
  
  .nav-menu{
    flex-direction:column;
    gap:4px;
    width:100%;
  }
  
  .nav-menu a {
    padding:10px 16px;
    font-size:14px;
    width:100%;
    text-align:left;
    border-radius:8px;
  }
  
  .nav-actions{
    flex-direction:column;
    gap:8px;
    width:100%;
  }
  
  .nav-btn{
    width:100%;
    justify-content:center;
    font-size:14px;
    padding:10px 16px;
  }
  
  .typing{
    font-size:28px;
  }
  
  .lead{
    font-size:16px;
  }
  
  .form-row{
    grid-template-columns:1fr;
  }
  
  .cta{
    flex-direction:column;
    gap:12px;
    align-items:center;
  }
  
  .btn-primary,
  .btn-ghost{
    padding:12px 20px;
    font-size:14px;
    width:auto;
    max-width:90%;
    text-align:center;
  }
  
  .section{
    padding:20px;
  }
  
  .grid{
    grid-template-columns:1fr;
  }
  
  .server-grid{
    grid-template-columns:1fr;
  }
  
  .server{
    flex-direction:column;
    text-align:center;
    gap:12px;
  }
  
  .server img{
    width:80px;
    height:80px;
    margin:0 auto;
  }
  
  .server-info{
    width:100%;
  }
  
  .bot-stats {
    grid-template-columns:1fr;
  }
  
  .card-actions {
    flex-direction:column;
  }
  
  .btn-invite, .btn-detail, .btn-disabled {
    flex:none;
    width:100%;
  }
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-track{
  background:var(--bg0);
}

::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
  background:var(--accent);
}

/* ==================== MODAL STYLES ==================== */
#botModal {
  display:none;
  position:fixed;
  inset:0;
  justify-content:center;
  align-items:center;
  z-index:10000;
  backdrop-filter:blur(8px);
  background:rgba(0, 0, 0, 0.5);
  animation:fadeOverlay 0.3s ease;
}

.modal-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.modal-content {
  background:rgba(20, 22, 28, 0.95);
  border-radius:20px;
  padding:35px 40px;
  width:95%;
  max-width:560px;
  box-shadow:0 0 40px rgba(0, 0, 0, 0.6);
  transform:scale(0.9);
  animation:popUp 0.3s ease forwards;
  position:relative;
  border:1px solid rgba(88, 101, 242, 0.15);
}

.modal-close {
  position:absolute;
  top:18px;
  right:22px;
  font-size:22px;
  background:none;
  border:none;
  color:#ccc;
  cursor:pointer;
  transition:color 0.2s ease;
}

.modal-close:hover {
  color:white;
}

.bot-header {
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
  padding-bottom:15px;
  border-bottom:1px solid rgba(255,255,255,0.1);
}

.bot-icon {
  width:72px;
  height:72px;
  border-radius:14px;
  object-fit:cover;
  box-shadow:0 0 20px rgba(88, 101, 242, 0.5);
  transition:transform 0.3s ease;
}

.bot-icon:hover {
  transform:scale(1.05);
}

.bot-header h2 {
  font-size:1.8rem;
  background:linear-gradient(90deg, #7289da, #06b6d4);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:700;
  letter-spacing:0.5px;
  margin-bottom:6px;
}

.bot-header p {
  color:#c9c9c9;
  font-size:0.95rem;
}

.commands-list {
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:15px;
}

.command-item {
  background:linear-gradient(145deg, #1e2027, #16181d);
  border-radius:10px;
  padding:12px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid rgba(88, 101, 242, 0.15);
  transition:all 0.2s ease;
}

.command-item:hover {
  background:linear-gradient(145deg, #22242d, #191b22);
  border-color:rgba(88, 101, 242, 0.35);
  transform:translateY(-2px);
}

.command-item code {
  font-family:'JetBrains Mono', monospace;
  font-weight:600;
  font-size:0.9rem;
  color:#a5b4fc;
  background:rgba(88, 101, 242, 0.15);
  padding:5px 10px;
  border-radius:6px;
}

.command-item span {
  color:#e2e2e2;
  font-size:0.92rem;
}

.bot-actions-modal {
  display:flex;
  gap:12px;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid rgba(255, 255, 255, 0.1);
}

.btn-invite-modal,
.btn-contact-modal {
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  transition:all 0.2s ease;
}

.btn-invite-modal {
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:white;
  box-shadow:0 4px 12px rgba(88, 101, 242, 0.3);
}

.btn-invite-modal:hover {
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(88, 101, 242, 0.4);
}

.btn-contact-modal {
  background:rgba(255, 255, 255, 0.05);
  border:1px solid rgba(255, 255, 255, 0.1);
  color:#fff;
}

.btn-contact-modal:hover {
  background:rgba(255, 255, 255, 0.1);
  border-color:var(--accent);
}

.btn-invite-modal img {
  width:18px;
  height:18px;
  filter:brightness(0) invert(1);
}

.bot-stats-modal {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:8px;
}

.bot-stats-modal span {
  font-size:13px;
  color:var(--muted);
  padding:4px 8px;
  background:rgba(88, 101, 242, 0.1);
  border-radius:6px;
}

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

@keyframes popUp {
  from { opacity:0; transform:translateY(30px) scale(0.9); }
  to { opacity:1; transform:translateY(0) scale(1); }
}

/* ==================== NOTIFICATION STYLES ==================== */
.contact-notification {
  position:fixed;
  top:20px;
  right:20px;
  z-index:10001;
  background:rgba(30, 31, 38, 0.95);
  border-radius:12px;
  padding:16px 20px;
  box-shadow:0 8px 32px rgba(0, 0, 0, 0.5);
  border:1px solid rgba(255, 255, 255, 0.1);
  transform:translateX(400px);
  opacity:0;
  transition:all 0.3s ease;
  max-width:400px;
}

.contact-notification.show {
  transform:translateX(0);
  opacity:1;
}

.notification-content {
  display:flex;
  align-items:center;
  gap:12px;
}

.notification-icon {
  font-size:20px;
  flex-shrink:0;
}

.notification-message {
  color:#e3e5e8;
  font-size:14px;
  line-height:1.5;
}

.contact-notification.success {
  border-color:rgba(16, 185, 129, 0.3);
}

.contact-notification.success .notification-icon {
  color:#10b981;
}

.contact-notification.error {
  border-color:rgba(239, 68, 68, 0.3);
}

.contact-notification.error .notification-icon {
  color:#ef4444;
}

.contact-notification.info {
  border-color:rgba(59, 130, 246, 0.3);
}

.contact-notification.info .notification-icon {
  color:#3b82f6;
}

.btn-primary.btn-validating,
.btn-primary.btn-checking,
.btn-primary.btn-sending {
  background:linear-gradient(135deg, #6b7280, #4b5563);
  cursor:wait;
  pointer-events:none;
}

.btn-primary.btn-success {
  background:linear-gradient(135deg, #10b981, #059669);
  cursor:default;
}

.btn-primary.btn-error {
  background:linear-gradient(135deg, #ef4444, #dc2626);
}

@media (max-width:768px) {
  .contact-notification {
    right:10px;
    left:10px;
    max-width:none;
  }
  
  .modal-content {
    max-width:95%;
    max-height:90vh;
    margin:10px;
  }
  
  .bot-header {
    flex-direction:column;
    text-align:center;
    gap:12px;
  }
  
  .bot-icon {
    margin:0 auto;
  }
  
  .command-item {
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  
  .command-item code {
    width:100%;
  }
  
  .bot-actions-modal {
    flex-direction:column;
  }
  
  .btn-invite-modal,
  .btn-contact-modal {
    width:100%;
  }
}
