/* =========================
   GLOBAL VARIABLES
========================= */
:root{
  --bg:#050505;
  --bg2:#0b0b0b;
  --red:var(--red);
  --red-glow:var(--red-glow);
  --red-rgb:0,105,148;
  --red-glow-rgb:0,191,255;
  --text:#e6e6e6;
  --muted:#9a9a9a;
  --card:#0f0f0f;
  --border:#1f1f1f;
}

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

body{
  font-family:"JetBrains Mono",monospace;
  background:radial-gradient(circle at top,var(--bg2),var(--bg));
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
  transition:scrollbar-color 0.3s ease;
}

/* Custom Scrollbar - Visible */
body::-webkit-scrollbar{
  width:12px;
  transition:all 0.3s ease;
}

body::-webkit-scrollbar-track{
  background:rgba(10,10,10,0.8);
  border-left:1px solid rgba(var(--red-rgb, 0,105,148),0.2);
}

body::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, var(--red), var(--red-glow));
  border-radius:10px;
  border:2px solid rgba(10,10,10,0.8);
  box-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),0.4);
}

body::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg, var(--red-glow), var(--red));
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),0.6);
}

/* Custom Scrollbar - Hidden */
body.hide-scrollbar::-webkit-scrollbar-thumb{
  background:transparent;
  box-shadow:none;
}

body.hide-scrollbar::-webkit-scrollbar-track{
  background:transparent;
  border:none;
}

/* Firefox Scrollbar */
body{
  scrollbar-width:thin;
  scrollbar-color:var(--red-glow) rgba(10,10,10,0.8);
}

body.hide-scrollbar{
  scrollbar-color:transparent transparent;
}

/* =========================
   CUSTOM CURSOR - POINTER DESIGN
========================= */
*{
  cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%2300bfff" stroke="%23000" stroke-width="0.5" d="M2 2l14 6-6 2 2 6-4-4-6 2z"/></svg>') 2 2, auto;
}

a, button, .inspect-btn, .auth-btn, .pagination a, input[type="button"], input[type="submit"], .modal-close, .comment-submit-btn, .copy-btn, .contact-submit-btn, .reply-btn, .footer-instagram, .auth-tab, .confirm-btn, .toast-close{
  cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><path fill="%2300bfff" stroke="%23000" stroke-width="0.6" d="M2 2l16 7-7 2.5 2.5 7-4.5-4.5-7 2.5z" filter="drop-shadow(0 0 2px %2300bfff)"/></svg>') 2 2, pointer !important;
}

a:active, button:active, .inspect-btn:active, .auth-btn:active, .pagination a:active, .modal-close:active, .comment-submit-btn:active, .copy-btn:active, .contact-submit-btn:active, .reply-btn:active, .footer-instagram:active, .auth-tab:active, .confirm-btn:active, .toast-close:active{
  cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%2300bfff" stroke="%23000" stroke-width="0.8" d="M2 2l14 6-6 2 2 6-4-4-6 2z" transform="scale(0.9) translate(1, 1)"><animate attributeName="opacity" values="1;0.7;1" dur="0.2s" repeatCount="1"/></path></svg>') 2 2, pointer !important;
}

a:hover, button:hover, .inspect-btn:hover, .auth-btn:hover, .pagination a:hover, .modal-close:hover, .comment-submit-btn:hover, .copy-btn:hover, .contact-submit-btn:hover, .reply-btn:hover, .footer-instagram:hover, .auth-tab:hover, .confirm-btn:hover, .toast-close:hover{
  cursor:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%2300bfff" stroke="%23000" stroke-width="0.6" d="M2 2l18 8-8 3 3 9-5-5-8 3z" filter="drop-shadow(0 0 4px %2300bfff)"/></svg>') 2 2, pointer !important;
}

input[type="text"], input[type="email"], input[type="password"], textarea, select{
  cursor:text !important;
}

/* =========================
   CUSTOM SCROLLBAR
========================= */
/* Webkit browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar{
  width:10px;
  height:10px;
}

*::-webkit-scrollbar-track{
  background:var(--bg);
  border-left:1px solid var(--border);
}

*::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--red),var(--red));
  border-radius:5px;
  border:2px solid var(--bg);
  box-shadow:0 0 8px rgba(var(--red-glow-rgb, 0,191,255),.3);
  transition:all .3s ease;
}

*::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,var(--red-glow),var(--red));
  box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.5);
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.2);
}

*::-webkit-scrollbar-thumb:active{
  background:var(--red);
  box-shadow:0 0 16px rgba(var(--red-glow-rgb, 0,191,255),.7);
}

*::-webkit-scrollbar-corner{
  background:var(--bg);
}

/* Firefox */
*{
  scrollbar-width:thin;
  scrollbar-color:var(--red) var(--bg);
}

/* =========================
   BACKGROUND EFFECTS
========================= */
.bg-grid{
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(rgba(var(--red-glow-rgb, 0,191,255),.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(var(--red-glow-rgb, 0,191,255),.03) 1px,transparent 1px);
  background-size:40px 40px;
  z-index:-2;
}

.bg-glow{
  position:fixed;
  top:-30%;
  left:50%;
  transform:translateX(-50%);
  width:900px;
  height:900px;
  background:radial-gradient(circle,var(--red-glow),transparent 65%);
  opacity:.15;
  filter:blur(120px);
  z-index:-1;
}

/* =========================
   NAVBAR
========================= */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  background:rgba(5,5,5,.85);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
  gap:15px;
  flex-wrap:nowrap;
  overflow:visible !important;
}

.navbar-right{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:auto;
}

.navbar *{
  position:relative;
}

.logo{
  font-size:20px;
  font-weight:700;
  letter-spacing:1px;
  position:relative;
  display:inline-block;
  cursor:pointer;
  transition:all .3s ease;
  overflow:hidden;
  padding:4px 8px;
  border-radius:8px;
}

.logo:hover{
  transform:scale(1.05) translateY(-2px);
  background:rgba(var(--red-glow-rgb, 0,191,255),.05);
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.2);
}

.logo-red{
  color:var(--red-glow);
  position:relative;
  display:inline-block;
  text-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.3);
  animation:logoRedPulse 2s ease-in-out infinite;
}

.logo-white{
  color:#fff;
  position:relative;
  display:inline-block;
  animation:logoWhiteShine 3s ease-in-out infinite;
}

@keyframes logoRedPulse{
  0%, 100%{
    text-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.3);
    transform:scale(1);
  }
  50%{
    text-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.8), 0 0 30px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 40px rgba(var(--red-glow-rgb, 0,191,255),.3);
    transform:scale(1.02);
  }
}

@keyframes logoWhiteShine{
  0%, 100%{
    opacity:1;
    text-shadow:0 0 5px rgba(255,255,255,.3);
  }
  50%{
    opacity:.9;
    text-shadow:0 0 15px rgba(255,255,255,.5), 0 0 25px rgba(255,255,255,.3);
  }
}

/* Logo için gradient animasyon efekti */
.logo::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  animation:logoShine 4s ease-in-out infinite;
}

@keyframes logoShine{
  0%{
    left:-100%;
  }
  50%, 100%{
    left:100%;
  }
}

/* =========================
   KATEGORILER MENU SİSTEMİ
========================= */

/* Kategoriler Toggle Button */
.categories-toggle{
  background:linear-gradient(135deg,rgba(var(--red-rgb, 0,105,148),.2),rgba(var(--red-rgb, 0,105,148),.05));
  border:1px solid var(--border);
  color:#fff;
  padding:8px 16px;
  border-radius:10px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  font-weight:500;
  transition:all .3s ease;
  white-space:nowrap;
  height:40px;
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  user-select:none;
  -webkit-user-select:none;
}

.categories-toggle:hover{
  background:linear-gradient(135deg,rgba(var(--red-rgb, 0,105,148),.3),rgba(var(--red-rgb, 0,105,148),.1));
  border-color:var(--red);
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
  transform:translateY(-1px);
}

.categories-toggle:active{
  transform:translateY(0);
}

.categories-toggle i{
  font-size:16px;
}

/* Kategoriler Sidebar */
.categories-sidebar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:999999;
  pointer-events:none;
}

.categories-sidebar.active{
  pointer-events:auto;
}

/* Overlay */
.categories-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.7);
  backdrop-filter:blur(4px);
  opacity:0;
  transition:opacity .3s ease;
}

.categories-sidebar.active .categories-overlay{
  opacity:1;
}

/* Panel */
.categories-panel{
  position:absolute;
  top:0;
  left:-100%;
  width:320px;
  max-width:85%;
  height:100%;
  background:linear-gradient(180deg,#0a0a0a,#050505);
  border-right:1px solid var(--border);
  box-shadow:4px 0 40px rgba(var(--red-glow-rgb, 0,191,255),.2);
  transition:left .4s cubic-bezier(0.4,0,0.2,1);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  display:flex;
  flex-direction:column;
}

.categories-sidebar.active .categories-panel{
  left:0;
}

/* Header */
.categories-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px;
  border-bottom:1px solid var(--border);
  background:rgba(var(--red-rgb, 0,105,148),.08);
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(10px);
  flex-shrink:0;
}

.categories-header h3{
  font-size:18px;
  font-weight:600;
  color:#fff;
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
}

.categories-header h3 i{
  color:var(--red);
  font-size:20px;
}

.categories-close{
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  color:#fff;
  width:36px;
  height:36px;
  border-radius:8px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .3s ease;
  font-size:18px;
}

.categories-close:hover{
  background:rgba(var(--red-rgb, 0,105,148),.2);
  border-color:var(--red);
  transform:rotate(90deg);
}

/* Kategori Listesi */
.categories-list{
  padding:12px;
  display:flex !important;
  flex-direction:column;
  gap:8px;
  flex:1;
  overflow-y:auto;
}

.category-item{
  display:flex !important;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  background:rgba(255,255,255,.02);
  border:1px solid transparent;
  border-radius:12px;
  color:#dcdcdc;
  text-decoration:none;
  font-size:15px;
  font-weight:500;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
  visibility:visible !important;
  opacity:1 !important;
}

.category-item::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg,transparent,rgba(var(--red-rgb, 0,105,148),.1),transparent);
  transition:left .5s ease;
}

.category-item:hover::before{
  left:100%;
}

.category-item:hover{
  background:rgba(var(--red-rgb, 0,105,148),.1);
  border-color:var(--border);
  color:#fff;
  transform:translateX(4px);
}

.category-item:active{
  transform:translateX(2px) scale(.98);
}

.category-item > i:first-child{
  width:24px;
  text-align:center;
  color:var(--red);
  font-size:18px;
  flex-shrink:0;
}

.category-item > span{
  flex:1;
}

.category-item > i:last-child{
  color:#666;
  font-size:14px;
  opacity:1;
  margin-left:auto;
  transition:all .3s ease;
}

.category-item:hover > i:last-child{
  color:var(--red);
  transform:translateX(4px);
}

/* Scrollbar Styling */
.categories-panel::-webkit-scrollbar{
  width:6px;
}

.categories-panel::-webkit-scrollbar-track{
  background:transparent;
}

.categories-panel::-webkit-scrollbar-thumb{
  background:rgba(var(--red-rgb, 0,105,148),.3);
  border-radius:3px;
}

.categories-panel::-webkit-scrollbar-thumb:hover{
  background:rgba(var(--red-rgb, 0,105,148),.5);
}

/* =========================
   DOWNLOAD LIMIT BADGE
========================= */
.download-limit-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  background:#2a2a2a;
  border:none;
  border-radius:8px;
  font-size:13px;
  color:#fff;
  white-space:nowrap;
  transition:all .2s ease;
  box-shadow:0 2px 6px rgba(0, 0, 0, .3);
  font-weight:500;
}

.download-limit-badge:hover{
  background:#333;
  box-shadow:0 3px 8px rgba(0, 0, 0, .4);
}

.download-limit-badge i{
  color:#fff;
  font-size:15px;
}

.download-limit-badge .download-count{
  display:flex;
  align-items:center;
  gap:4px;
  font-weight:500;
  color:#fff;
}

.download-limit-badge .download-count strong{
  color:#fff;
  font-size:15px;
  font-weight:700;
}

/* Mobil için badge */
@media(max-width:768px){
  /* Navbar mobil düzenlemesi */
  .navbar{
    padding:12px 16px;
    gap:10px;
  }
  
  .logo{
    font-size:18px;
    flex-shrink:0;
  }
  
  /* Kategoriler butonu tablet */
  .categories-toggle{
    padding:8px 14px;
    height:38px;
    font-size:13px;
  }
  
  .categories-toggle i{
    font-size:15px;
  }
  
  .navbar-right{
    gap:8px;
  }
  
  .download-limit-badge{
    padding:8px 14px;
    font-size:12px;
    gap:8px;
    border-radius:8px;
  }
  
  .download-limit-badge i{
    font-size:14px;
  }
  
  .download-limit-badge .download-count strong{
    font-size:14px;
  }
}

@media(max-width:600px){
  /* Navbar mobil düzenlemesi */
  .navbar{
    padding:10px 12px;
    gap:8px;
  }
  
  .navbar-right{
    gap:6px;
  }
  
  /* Auth butonları mobil - Icon ve yazı */
  .auth-btn{
    padding:6px 10px;
    font-size:11px;
    height:32px;
    white-space:nowrap;
  }
  
  .auth-btn i{
    font-size:12px;
  }
  
  /* Kategoriler butonu mobil - Sadece icon */
  .categories-toggle{
    padding:8px 12px;
    height:32px;
  }
  
  .categories-text{
    display:none;
  }
  
  .categories-toggle i{
    font-size:18px;
  }
  
  /* Kategoriler panel mobil */
  .categories-panel{
    width:280px;
    max-width:90%;
  }
  
  .categories-header{
    padding:16px;
  }
  
  .categories-header h3{
    font-size:16px;
  }
  
  .category-item{
    padding:12px 14px;
    font-size:14px;
  }
  
  .category-item > i:first-child{
    font-size:16px;
  }
  
  .logo{
    font-size:16px;
    letter-spacing:0.5px;
  }
  
  .navbar-right{
    gap:6px;
  }
  
  .download-limit-badge{
    padding:6px 12px;
    font-size:11px;
    gap:6px;
    border-radius:6px;
  }
  
  .download-limit-badge i{
    font-size:13px;
  }
  
  .download-limit-badge .download-count strong{
    font-size:13px;
  }
}

/* =========================
   MAIN LAYOUT
========================= */
.container{
  max-width:1300px;
  margin:70px auto;
  padding:0 24px;
}

/* =========================
   POSTS GRID (Big Grid Style)
========================= */
.posts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(380px,1fr));
  gap:32px;
}

@media(max-width:1200px){
  .posts-grid{
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  }
}

@media(max-width:768px){
  .posts-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }
  
  .post-card{
    border-radius:16px;
  }
  
  .post-content{
    padding:16px;
    gap:10px;
  }
  
  .post-title{
    font-size:16px;
  }
  
  .post-desc{
    font-size:13px;
  }
  
  .post-category{
    font-size:10px;
    padding:5px 12px;
  }
  
  .view-count{
    font-size:11px;
    padding:5px 10px;
  }
  
  .inspect-btn{
    padding:12px 18px;
    font-size:12px;
  }
}

@media(max-width:600px){
  .posts-grid{
    grid-template-columns:1fr;
    gap:20px;
  }
  
  .post-title{
    font-size:18px;
  }
  
  .post-desc{
    font-size:14px;
    -webkit-line-clamp:3;
  }
}

.pagination{
  margin:50px auto 20px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.pagination a{
  min-width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid #1f1f1f;
  background:#0b0b0b;
  color:#fff;
  text-decoration:none;
  transition:.25s;
}

.pagination a:hover{
  border-color:var(--red-glow);
  box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.6);
}

.pagination a.active{
  background:var(--red);
  border-color:var(--red-glow);
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.8);
}
/* =========================
   POST CARD - BIG GRID STYLE
========================= */
.post-card{
  background:linear-gradient(180deg, rgba(10,10,10,.95), rgba(5,5,5,.98));
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.1);
  border-radius:20px;
  overflow:hidden;
  transition:all .4s cubic-bezier(0.4, 0, 0.2, 1);
  position:relative;
  scroll-margin-top:120px;
  display:flex;
  flex-direction:column;
  box-shadow:
    0 8px 32px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.post-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),.2), transparent, rgba(var(--red-glow-rgb, 0,191,255),.2));
  opacity:0;
  transition:opacity .4s ease;
  z-index:0;
}

.post-card:hover::before{
  opacity:1;
}

.post-card:hover{
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.3);
  transform:translateY(-8px);
  box-shadow:
    0 16px 48px rgba(var(--red-glow-rgb, 0,191,255),.3),
    0 0 40px rgba(var(--red-glow-rgb, 0,191,255),.15),
    inset 0 1px 0 rgba(255,255,255,.05);
}

/* Image Section */
.post-image{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:linear-gradient(135deg, #000, #0a0a0a);
  flex-shrink:0;
}

.post-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 0%, rgba(0,0,0,.4) 100%);
  opacity:0;
  transition:opacity .4s ease;
  z-index:2;
}

.post-card:hover .post-image::after{
  opacity:1;
}

.post-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  transition:all .6s cubic-bezier(0.4, 0, 0.2, 1);
  filter:brightness(.85) contrast(1.1);
}

.post-card:hover .post-image img{
  transform:scale(1.05);
  filter:brightness(1) contrast(1.2);
}

/* Content Section */
.post-content{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
  position:relative;
  z-index:1;
}

.post-category{
  font-size:11px;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:1.2px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),.8), rgba(var(--red-rgb, 0,105,148),.6));
  padding:7px 14px;
  border-radius:20px;
  box-shadow:0 2px 10px rgba(var(--red-glow-rgb, 0,191,255),.3);
  transition:all .3s ease;
  width:fit-content;
}

.post-card:hover .post-category{
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),.9), rgba(var(--red-rgb, 0,105,148),.7));
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.5);
}

.post-category i{
  font-size:12px;
  filter:drop-shadow(0 0 4px rgba(255,255,255,.6));
}

.post-title{
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  color:#fff;
  margin:0;
  transition:all .3s ease;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.post-card:hover .post-title{
  color:var(--red-glow);
  text-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}

.post-desc{
  font-size:14px;
  color:rgba(255,255,255,.6);
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  margin:0;
  transition:color .3s ease;
}

.post-card:hover .post-desc{
  color:rgba(255,255,255,.75);
}

.post-stats{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:8px;
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.05);
}

.view-count{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:rgba(255,255,255,.5);
  font-weight:600;
  padding:6px 12px;
  background:rgba(0,0,0,.3);
  border-radius:12px;
  transition:all .3s ease;
}

.post-card:hover .view-count{
  color:rgba(255,255,255,.7);
  background:rgba(var(--red-glow-rgb, 0,191,255),.1);
}

.view-count i{
  color:var(--red-glow);
  font-size:13px;
}

.inspect-btn{
  margin-top:12px;
  padding:14px 24px;
  border-radius:10px;
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.3);
  background:linear-gradient(135deg, rgba(var(--red-rgb, 0,105,148),.2), rgba(var(--red-rgb, 0,105,148),.1));
  color:#fff;
  cursor:pointer;
  transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight:600;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  text-transform:uppercase;
  letter-spacing:1px;
  position:relative;
  overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.3);
  text-decoration:none;
}

.inspect-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(var(--red-glow-rgb, 0,191,255),.3), transparent);
  transition:left .5s ease;
}

.inspect-btn:hover::before{
  left:100%;
}

.inspect-btn:hover{
  background:linear-gradient(135deg, rgba(var(--red-rgb, 0,105,148),.4), rgba(var(--red-rgb, 0,105,148),.3));
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.6);
  box-shadow:
    0 4px 20px rgba(var(--red-glow-rgb, 0,191,255),.4),
    0 0 30px rgba(var(--red-glow-rgb, 0,191,255),.2);
  transform:translateY(-2px);
}

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

.inspect-btn i{
  font-size:12px;
  transition:transform .3s ease;
}

.inspect-btn:hover i{
  transform:translateX(3px);
}

/* =========================
   MODAL
========================= */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(6px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
}

.modal.active{display:flex}

/* ðŸ"¥ MOBÄ°L SCROLL DÃœZELTMESÄ° */
.modal-box{
  width:min(900px,95%);
  max-height:90vh;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;

  background:linear-gradient(180deg,#0e0e0e,#050505);
  border:1px solid var(--border);
  border-radius:18px;
  padding:28px;
  box-shadow:0 0 45px rgba(var(--red-glow-rgb, 0,191,255),.25);
  position:relative;
  animation:pop .35s ease;
}

/* PC için daha geniş modal */
@media(min-width:1024px){
  .modal-box{
    width:min(1100px,95%);
    padding:32px;
  }
}

/* Mobil için optimize */
@media(max-width:768px){
  .modal-box{
    width:95%;
    padding:20px;
    max-height:95vh;
  }
}

/* =========================
   MODAL LOADER
========================= */
.modal-loader{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(14,14,14,.95),rgba(5,5,5,.95));
  border-radius:18px;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:10;
  backdrop-filter:blur(4px);
}

.modal-loader-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}

.modal-loader-spinner{
  width:50px;
  height:50px;
  border:4px solid rgba(var(--red-glow-rgb, 0,191,255),.2);
  border-top-color:var(--red-glow);
  border-radius:50%;
  animation:spin 1s linear infinite;
  box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.3);
}

.modal-loader-text{
  color:var(--red-glow);
  font-size:16px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  animation:pulse-text 1.5s ease-in-out infinite;
  text-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.5);
}

@keyframes spin{
  to{transform:rotate(360deg);}
}

@keyframes pulse-text{
  0%,100%{opacity:1;transform:scale(1);}
  50%{opacity:0.7;transform:scale(1.05);}
}

.modal-box::-webkit-scrollbar{
  width:8px;
}

.modal-box::-webkit-scrollbar-track{
  background:rgba(0,0,0,.3);
  border-radius:4px;
}

.modal-box::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--red-glow),var(--red));
  border-radius:4px;
  box-shadow:0 0 6px rgba(var(--red-glow-rgb, 0,191,255),.4);
}

.modal-box::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,var(--red-glow),var(--red));
  box-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.6);
}

@keyframes pop{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}

.modal-close{
  position:absolute;
  top:16px;
  right:18px;
  font-size:26px;
  color:#aaa;
  cursor:pointer;
}

.modal-close:hover{color:#fff}

.modal-box pre{
  background:#020617;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:14px;
  font-size:13px;
  line-height:1.6;
  white-space:pre-wrap;
  word-wrap:break-word;
  overflow-wrap:break-word;
  overflow-x:hidden;
  margin-bottom:20px;
}

/* PASSWORD */
.modal-password{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}

.password-box{
  padding:6px 12px;
  border-radius:8px;
  background:#0b0b0b;
  border:1px solid var(--red);
  color:var(--red-glow);
  font-weight:600;
}

/* DOWNLOAD */
.download-btn{
  display:block;
  text-align:center;
  padding:14px 0;
  border-radius:12px;
  border:1px solid var(--red);
  color:#fff;
  text-decoration:none;
  transition:.3s;
}

.download-btn:hover{
  background:var(--red);
  box-shadow:0 0 18px rgba(var(--red-glow-rgb, 0,191,255),.6);
}

/* =========================
   FOOTER
========================= */
.footer{
  margin-top:80px;
  border-top:1px solid var(--border);
  background:#050505;
}

.footer-inner{
  max-width:1200px;
  margin:auto;
  padding:32px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-inner p{
  font-size:13px;
  color:var(--muted);
}

.footer-inner small{
  font-size:12px;
  color:#666;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){
  .navbar{
    padding:10px 16px;
    gap:8px;
    flex-wrap:nowrap;
    overflow-x:visible;
  }
  .container{margin:40px auto}
  .logo{
    font-size:17px;
    padding:4px 6px;
    flex-shrink:0;
  }
  .navbar-right{
    gap:6px;
    flex-wrap:nowrap;
  }
  .menu-btn{
    padding:6px 10px;
    font-size:11px;
    gap:5px;
    height:32px;
    white-space:nowrap;
    flex-shrink:0;
  }
  .auth-buttons{
    gap:6px;
    flex-shrink:0;
  }
  .auth-btn{
    padding:6px 10px;
    font-size:11px;
    gap:4px;
    height:32px;
    flex-shrink:0;
  }
  .auth-btn i{
    font-size:11px;
  }
  .notification-container{
    height:32px;
    flex-shrink:0;
  }
  
  .notification-btn{
    width:32px;
    height:32px;
    padding:6px;
  }
  
  .notification-btn i{
    font-size:14px;
  }
  
  .notification-badge{
    font-size:9px;
    padding:1px 5px;
    min-width:16px;
    height:16px;
    top:-3px;
    right:-3px;
  }
  
  .notification-dropdown{
    width:calc(100vw - 32px);
    max-width:320px;
    max-height:400px;
    right:16px;
    left:auto;
    transform:translateX(0);
  }
  .notification-container{
    position:relative;
    display:inline-flex;
  }
  
  .notification-header{
    padding:12px 14px;
  }
  
  .notification-header h3{
    font-size:14px;
  }
  
  .notification-mark-all-read{
    padding:4px 8px;
    font-size:10px;
  }
  
  .notification-item{
    padding:10px;
    gap:10px;
  }
  
  .notification-icon{
    width:32px;
    height:32px;
    font-size:14px;
  }
  
  .notification-title{
    font-size:13px;
  }
  
  .notification-message{
    font-size:12px;
  }
  
  .notification-date{
    font-size:10px;
  }
  
  .user-menu{
    gap:8px;
    height:32px;
  }
  .user-name{
    font-size:12px;
  }
  .logout-link{
    font-size:11px;
    padding:5px 8px;
    height:28px;
  }
  /* Dropdown tablet/mobil - kategori isimleri görünür */
  .dropdown{
    width:260px;
  }
  .dropdown a{
    font-size:13px;
    white-space:nowrap;
    overflow:visible;
  }
}

@media(max-width:600px){
  .modal{align-items:flex-end}
  .modal-box{
    max-height:95vh;
    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
  }
  .navbar{
    padding:8px 12px;
    gap:6px;
    overflow:visible;
  }
  .logo{
    font-size:15px;
    padding:3px 5px;
    flex-shrink:0;
  }
  .navbar-right{
    gap:4px;
  }
  .menu-btn{
    padding:5px 8px;
    font-size:10px;
    gap:4px;
    height:28px;
    white-space:nowrap;
    flex-shrink:0;
  }
  .menu-btn .arrow{
    display:none;
  }
  .auth-buttons{
    gap:4px;
    flex-shrink:0;
  }
  .auth-btn{
    padding:5px 8px;
    font-size:10px;
    gap:3px;
    height:28px;
    flex-shrink:0;
  }
  .auth-btn i{
    margin:0;
    font-size:11px;
  }
  /* Modal içindeki butonlar her zaman yazılı kalacak */
  .login-required .auth-btn,
  .comment-login-required .auth-btn,
  .auth-modal .auth-btn,
  .modal .auth-btn{
    font-size:14px !important;
    padding:12px 24px !important;
    min-width:160px !important;
  }
  .login-required .auth-btn i,
  .comment-login-required .auth-btn i,
  .auth-modal .auth-btn i,
  .modal .auth-btn i{
    font-size:14px !important;
    margin:0 !important;
  }
  .notification-container{
    height:28px;
    flex-shrink:0;
  }
  .notification-btn{
    width:28px;
    height:28px;
    padding:5px;
  }
  .notification-btn i{
    font-size:13px;
  }
  .user-menu{
    gap:4px;
    height:28px;
    flex-shrink:0;
  }
  .user-menu-toggle{
    padding:2px 5px;
    gap:5px;
  }
  .user-avatar-img,
  .user-avatar-placeholder{
    width:22px;
    height:22px;
    font-size:11px;
  }
  .user-name{
    font-size:10px;
    max-width:60px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .user-menu-arrow{
    font-size:8px;
  }
  .user-dropdown{
    min-width:160px;
    right:0;
    top:calc(100% + 8px);
  }
  .user-dropdown-item{
    padding:10px 14px;
    font-size:13px;
  }
  .logout-link{
    font-size:10px;
    padding:4px 6px;
    height:28px;
  }
  .captcha-question{
    font-size:10px;
    padding:4px 8px;
    right:10px;
  }
  .captcha-field input{
    padding-right:140px;
  }
  /* Dropdown mobil düzeltmesi - kategori isimleri görünür olacak */
  .dropdown{
    width:calc(100vw - 24px);
    max-width:280px;
    right:0;
    left:auto;
    top:38px !important;
    z-index:99999 !important;
    pointer-events:auto;
    position:absolute !important;
  }
  .dropdown a{
    font-size:13px;
    padding:12px 14px;
    white-space:nowrap;
    overflow:visible;
    text-overflow:clip;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  .dropdown a i{
    flex-shrink:0;
    width:20px;
  }
}
/* =========================
   PAGE LOADER
========================= */
#pageLoader{
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--red-rgb, 0,105,148),0.15), transparent 50%),
    radial-gradient(circle at top, var(--bg2), var(--bg));
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  transition:opacity .6s ease, visibility .6s ease;
  overflow:hidden;
}

#pageLoader::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(var(--red-rgb, 0,105,148),.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--red-rgb, 0,105,148),.03) 1px, transparent 1px);
  background-size:40px 40px;
  animation:gridMove 20s linear infinite;
}

@keyframes gridMove{
  0%{
    transform:translate(0, 0);
  }
  100%{
    transform:translate(40px, 40px);
  }
}

#pageLoader.hide{
  opacity:0;
  visibility:hidden;
}

.loader-inner{
  position:relative;
  font-size:48px;
  font-weight:700;
  letter-spacing:4px;
  animation:loaderPulse 2s ease-in-out infinite;
  z-index:1;
  padding:30px 40px;
  background:rgba(5,5,5,0.8);
  border:2px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:16px;
  backdrop-filter:blur(10px);
  box-shadow:
    0 0 60px rgba(var(--red-glow-rgb, 0,191,255),0.4),
    0 0 120px rgba(var(--red-glow-rgb, 0,191,255),0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.loader-inner::before{
  content:'';
  position:absolute;
  inset:-2px;
  background:linear-gradient(45deg,
    var(--red-glow),
    transparent 30%,
    transparent 70%,
    var(--red-glow)
  );
  border-radius:16px;
  opacity:0.6;
  animation:loaderRotate 3s linear infinite;
  z-index:-1;
}

.loader-inner::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,
    rgba(var(--red-rgb, 0,105,148),0.1),
    transparent
  );
  border-radius:16px;
  pointer-events:none;
}

@keyframes loaderRotate{
  from{
    transform:rotate(0deg);
  }
  to{
    transform:rotate(360deg);
  }
}

.loader-red{
  color:var(--red-glow);
  text-shadow:
    0 0 20px rgba(var(--red-glow-rgb, 0,191,255),0.8),
    0 0 40px rgba(var(--red-glow-rgb, 0,191,255),0.6),
    0 0 60px rgba(var(--red-glow-rgb, 0,191,255),0.4),
    0 0 80px rgba(var(--red-glow-rgb, 0,191,255),0.2);
  animation:glowPulse 1.5s ease-in-out infinite alternate;
}

.loader-white{
  color:#fff;
  text-shadow:
    0 0 10px rgba(255,255,255,0.5),
    0 0 20px rgba(255,255,255,0.3);
}

@keyframes loaderPulse{
  0%, 100%{
    transform:scale(1);
    filter:brightness(1);
  }
  50%{
    transform:scale(1.05);
    filter:brightness(1.2);
  }

}

@keyframes glowPulse{
  from{
    text-shadow:
      0 0 20px rgba(var(--red-glow-rgb, 0,191,255),0.6),
      0 0 40px rgba(var(--red-glow-rgb, 0,191,255),0.4),
      0 0 60px rgba(var(--red-glow-rgb, 0,191,255),0.2);
  }
  to{
    text-shadow:
      0 0 30px rgba(var(--red-glow-rgb, 0,191,255),1),
      0 0 60px rgba(var(--red-glow-rgb, 0,191,255),0.8),
      0 0 90px rgba(var(--red-glow-rgb, 0,191,255),0.6),
      0 0 120px rgba(var(--red-glow-rgb, 0,191,255),0.4);
  }
}

/* Loader Content Container */
.loader-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:40px;
  position:relative;
}

/* Glitch Wrapper */
.glitch-wrapper{
  position:relative;
  padding:20px 0;
}

/* Main Glitch Text */
.glitch-text{
  font-size:72px;
  font-weight:900;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:8px;
  position:relative;
  text-shadow:
    0 0 10px rgba(var(--red-glow-rgb, 0,191,255),0.8),
    0 0 20px rgba(var(--red-glow-rgb, 0,191,255),0.6),
    0 0 30px rgba(var(--red-glow-rgb, 0,191,255),0.4);
  animation:glitchSkew 2s infinite linear alternate-reverse;
}

/* Glitch RGB Split Effect */
.glitch-text::before,
.glitch-text::after{
  content:attr(data-text);
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0.8;
}

.glitch-text::before{
  color:var(--red-glow);
  animation:glitchTop 1.5s infinite linear alternate-reverse;
  clip-path:polygon(0 0, 100% 0, 100% 45%, 0 45%);
  text-shadow:2px 0 #00ff00;
}

.glitch-text::after{
  color:#00ffff;
  animation:glitchBottom 1.8s infinite linear alternate-reverse;
  clip-path:polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  text-shadow:-2px 0 #ff00ff;
}

/* Glitch Animations */
@keyframes glitchTop{
  0%{
    transform:translate(2px, -2px);
    opacity:0.8;
  }
  10%{
    transform:translate(-2px, 1px);
  }
  20%{
    transform:translate(1px, 1px);
  }
  30%{
    transform:translate(-1px, -1px);
  }
  40%{
    transform:translate(2px, 0);
  }
  50%{
    transform:translate(-2px, 2px);
    opacity:1;
  }
  60%{
    transform:translate(0, 1px);
  }
  70%{
    transform:translate(3px, -1px);
  }
  80%{
    transform:translate(-1px, 2px);
  }
  90%{
    transform:translate(2px, 1px);
  }
  100%{
    transform:translate(1px, 0);
    opacity:0.8;
  }
}

@keyframes glitchBottom{
  0%{
    transform:translate(-2px, 2px);
    opacity:0.8;
  }
  10%{
    transform:translate(2px, -1px);
  }
  20%{
    transform:translate(-1px, -1px);
  }
  30%{
    transform:translate(1px, 1px);
  }
  40%{
    transform:translate(-2px, 0);
  }
  50%{
    transform:translate(2px, -2px);
    opacity:1;
  }
  60%{
    transform:translate(0, -1px);
  }
  70%{
    transform:translate(-3px, 1px);
  }
  80%{
    transform:translate(1px, -2px);
  }
  90%{
    transform:translate(-2px, -1px);
  }
  100%{
    transform:translate(-1px, 0);
    opacity:0.8;
  }
}

@keyframes glitchSkew{
  0%{
    transform:skew(0deg);
  }
  10%{
    transform:skew(-2deg);
  }
  20%{
    transform:skew(2deg);
  }
  30%{
    transform:skew(0deg);
  }
  40%{
    transform:skew(1deg);
  }
  50%{
    transform:skew(-1deg);
  }
  60%{
    transform:skew(0deg);
  }
  70%{
    transform:skew(2deg);
  }
  80%{
    transform:skew(-2deg);
  }
  90%{
    transform:skew(1deg);
  }
  100%{
    transform:skew(0deg);
  }
}

/* Loading Text with Glitch */
.glitch-loading{
  font-size:24px;
  font-weight:600;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:6px;
  position:relative;
  opacity:0.9;
  animation:glitchFlicker 3s infinite;
}

.glitch-loading::before{
  content:attr(data-text);
  position:absolute;
  top:0;
  left:0;
  color:var(--red-glow);
  overflow:hidden;
  animation:glitchLoadingShift 2.5s infinite linear;
  opacity:0.7;
}

@keyframes glitchFlicker{
  0%, 100%{
    opacity:0.9;
  }
  5%{
    opacity:0.5;
  }
  10%{
    opacity:1;
  }
  15%{
    opacity:0.7;
  }
  20%{
    opacity:0.9;
  }
}

@keyframes glitchLoadingShift{
  0%{
    transform:translate(0, 0);
    clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  10%{
    transform:translate(-3px, 0);
    clip-path:polygon(0 20%, 100% 20%, 100% 80%, 0 80%);
  }
  20%{
    transform:translate(3px, 0);
    clip-path:polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
  }
  30%{
    transform:translate(0, 0);
    clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  40%{
    transform:translate(2px, 0);
    clip-path:polygon(0 30%, 100% 30%, 100% 70%, 0 70%);
  }
  50%{
    transform:translate(-2px, 0);
    clip-path:polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
  }
  60%{
    transform:translate(0, 0);
    clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  70%{
    transform:translate(-3px, 0);
    clip-path:polygon(0 0, 100% 0, 100% 50%, 0 50%);
  }
  80%{
    transform:translate(3px, 0);
    clip-path:polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  }
  90%{
    transform:translate(0, 0);
    clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  100%{
    transform:translate(0, 0);
    clip-path:polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Glitch Loading Bars */
.glitch-bars{
  display:flex;
  gap:8px;
  align-items:center;
}

.glitch-bars span{
  width:4px;
  height:30px;
  background:linear-gradient(180deg, var(--red-glow), var(--red-glow), var(--red));
  animation:glitchBarPulse 1s infinite ease-in-out;
  box-shadow:
    0 0 10px rgba(var(--red-glow-rgb, 0,191,255),0.8),
    0 0 20px rgba(var(--red-glow-rgb, 0,191,255),0.4);
}

.glitch-bars span:nth-child(1){
  animation-delay:0s;
}

.glitch-bars span:nth-child(2){
  animation-delay:0.2s;
  height:40px;
}

.glitch-bars span:nth-child(3){
  animation-delay:0.4s;
}

@keyframes glitchBarPulse{
  0%, 100%{
    transform:scaleY(1);
    opacity:0.5;
  }
  50%{
    transform:scaleY(1.5);
    opacity:1;
  }
}

/* Scan Line Effect */
#pageLoader::after{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,
    transparent,
    rgba(var(--red-glow-rgb, 0,191,255),0.8),
    transparent
  );
  animation:scanLine 3s linear infinite;
  opacity:0.6;
  z-index:10000;
}

@keyframes scanLine{
  0%{
    transform:translateY(0);
  }
  100%{
    transform:translateY(100vh);
  }
}

/* Responsive Loader */
@media(max-width:768px){
  .loader-inner{
    font-size:36px;
    letter-spacing:3px;
    padding:25px 35px;
  }
  
  .glitch-text{
    font-size:48px;
    letter-spacing:6px;
  }
  
  .glitch-loading{
    font-size:18px;
    letter-spacing:4px;
  }
  
  .glitch-bars span{
    width:3px;
    height:24px;
  }
  
  .glitch-bars span:nth-child(2){
    height:32px;
  }
  
  .loader-content{
    gap:30px;
  }
}

@media(max-width:480px){
  .navbar{
    padding:6px 10px;
    gap:4px;
  }
  .logo{
    font-size:14px;
    padding:3px 4px;
  }
  .navbar-right{
    gap:3px;
  }
  .menu-btn{
    padding:4px 6px;
    font-size:9px;
    gap:3px;
    height:26px;
  }
  .auth-btn{
    padding:4px 6px;
    font-size:9px;
    gap:2px;
    height:26px;
  }
  .auth-btn i{
    font-size:10px;
  }
  .notification-container{
    height:26px;
  }
  .notification-btn{
    width:26px;
    height:26px;
    padding:4px;
  }
  .notification-btn i{
    font-size:12px;
  }
  .user-menu{
    height:26px;
    gap:3px;
  }
  .user-menu-toggle{
    padding:2px 4px;
    gap:4px;
  }
  .user-avatar-img,
  .user-avatar-placeholder{
    width:20px;
    height:20px;
    font-size:10px;
  }
  .user-name{
    font-size:9px;
    max-width:50px;
  }
  .user-menu-arrow{
    font-size:7px;
  }
  .loader-inner{
    font-size:28px;
    letter-spacing:2px;
    padding:20px 30px;
  }
  
  .glitch-text{
    font-size:36px;
    letter-spacing:4px;
  }
  
  .glitch-loading{
    font-size:14px;
    letter-spacing:3px;
  }
  
  .glitch-bars span{
    width:3px;
    height:20px;
  }
  
  .glitch-bars span:nth-child(2){
    height:26px;
  }
  
  .loader-content{
    gap:25px;
  }
}
/* MODAL IMAGE SLIDER */
.modal-gallery{
  margin:20px 0;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--border);
  position:relative;
}

.gallery-track{
  display:flex;
  transition:.4s ease;
}

.gallery-img{
  width:100%;
  flex-shrink:0;
  max-height:60vh;
  min-height:350px;
  object-fit:contain;
  cursor:pointer;
  background:#0a0a0a;
  transition:transform .3s ease;
}

.gallery-img:hover{
  transform:scale(1.02);
}

/* PC için optimize görüntüleme */
@media(min-width:1024px){
  .gallery-img{
    max-height:65vh;
    min-height:420px;
  }
}

/* Mobil için optimize */
@media(max-width:768px){
  .gallery-img{
    max-height:60vh;
    min-height:300px;
    object-fit:cover;
  }
}

.gallery-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:10px;
  background:#050505;
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#444;
}

.dot.active{
  background:var(--red-glow);
  box-shadow:0 0 8px rgba(var(--red-glow-rgb, 0,191,255),.8);
}

/* FULLSCREEN IMAGE */
.image-viewer{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.95);
  backdrop-filter:blur(8px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
  padding:20px;
}

.image-viewer.active{display:flex}

.image-viewer img{
  max-width:95%;
  max-height:95vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 0 60px rgba(var(--red-glow-rgb, 0,191,255),.5);
  animation:imageZoomIn .3s ease;
}

@keyframes imageZoomIn{
  from{
    opacity:0;
    transform:scale(0.9);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

.image-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:36px;
  color:#fff;
  cursor:pointer;
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(var(--red-rgb, 0,105,148),.3);
  border-radius:50%;
  transition:all .3s ease;
  z-index:100000;
  border:2px solid rgba(var(--red-glow-rgb, 0,191,255),.5);
}

.image-close:hover{
  background:rgba(var(--red-rgb, 0,105,148),.6);
  transform:rotate(90deg);
  box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.8);
}

/* Mobil için kapat butonu */
@media(max-width:768px){
  .image-close{
    top:15px;
    right:15px;
    width:45px;
    height:45px;
    font-size:28px;
  }
  
  .image-viewer img{
    max-width:98%;
    max-height:90vh;
  }
}
/* =========================
   FLAG BADGE (CARD CORNER)
========================= */
.post-image{
  position:relative;
}

.flag-badge{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:22px;
  border-radius:6px;
  overflow:hidden;
  background:#000;
  box-shadow:0 4px 12px rgba(0,0,0,.6);
  z-index:3;
}

.flag-badge img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pricing-badge{
  position:absolute;
  top:10px;
  left:10px;
  padding:6px 14px;
  border-radius:20px;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  display:flex;
  align-items:center;
  gap:6px;
  z-index:4;
  box-shadow:0 4px 12px rgba(0,0,0,.4);
  animation:pulse-badge 2s ease-in-out infinite;
  font-family:"JetBrains Mono",monospace;
}

.pricing-badge i{
  font-size:10px;
}

.pricing-badge-paid{
  background:linear-gradient(135deg,#fbbf24,#f59e0b);
  color:#1e293b;
  box-shadow:0 4px 16px rgba(251,191,36,.5),0 0 20px rgba(251,191,36,.3);
}

.pricing-badge-free{
  background:linear-gradient(135deg,#10b981,#059669);
  color:#fff;
  box-shadow:0 4px 16px rgba(16,185,129,.5),0 0 20px rgba(16,185,129,.3);
}

@keyframes pulse-badge{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.05);}
}
/* =========================
   SECURE DOWNLOAD PANEL
========================= */
.secure-download{
  margin-top:24px;
  background:linear-gradient(180deg,#0a0a0a,#050505);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.25);
  border-radius:18px;
  padding:18px;
  box-shadow:0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.15);
}

.secure-header{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  color:var(--red-glow);
  margin-bottom:14px;
}

.secure-header i{
  text-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.8);
}

.secure-password .label{
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
  display:block;
}

.password-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.password-value{
  flex:1;
  padding:10px 14px;
  background:#0b0b0b;
  border:1px solid var(--red);
  border-radius:12px;
  color:var(--red-glow);
  font-weight:600;
  letter-spacing:.5px;
}

.copy-btn{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#080808;
  color:#fff;
  cursor:pointer;
  transition:.3s;
}

.copy-btn:hover{
  border-color:var(--red);
  box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.6);
}

.secure-download-btn{
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 0;
  border-radius:14px;
  border:1px solid var(--red);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
}

.secure-download-btn:hover{
  background:var(--red);
  box-shadow:0 0 18px rgba(var(--red-glow-rgb, 0,191,255),.6);
}
.footer-instagram{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:16px auto 0;
  width:40px;
  height:40px;
  font-size:18px;
  color:#fff;
  background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border-radius:12px;
  text-decoration:none;
  transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:0 4px 12px rgba(225,48,108,.3);
  position:relative;
  overflow:hidden;
}

.footer-instagram::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  opacity:0;
  transition:opacity .3s;
  border-radius:12px;
}

.footer-instagram i{
  position:relative;
  z-index:1;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.footer-instagram:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 8px 24px rgba(225,48,108,.5),0 0 20px rgba(225,48,108,.3);
}

.footer-instagram:hover::before{
  opacity:1;
}

.footer-instagram:active{
  transform:translateY(-1px) scale(1.02);
  box-shadow:0 4px 12px rgba(225,48,108,.4);
}
/* =========================
   SEARCH BAR
========================= */
.search-wrapper{
  max-width:1300px;
  margin:30px auto -30px;
  padding:0 24px;
}

.search-box{
  position:relative;
  display:flex;
  align-items:center;
  background:linear-gradient(180deg,#0e0e0e,#050505);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px 18px;
  box-shadow:0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.2);
}

.search-box i{
  color:var(--red-glow);
  margin-right:12px;
}

.search-box input{
  flex:1;
  background:transparent;
  border:none;
  outline:none;
  color:#fff;
  font-size:14px;
}

.search-box input::placeholder{
  color:#777;
}

.search-clear{
  font-size:20px;
  cursor:pointer;
  color:#777;
  padding-left:10px;
}

.search-clear:hover{
  color:#fff;
}

/* NO RESULT */
.no-result{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  grid-column:1/-1;
  padding:40px 0;
  color:#777;
}

.no-result i{
  font-size:28px;
  color:var(--red-glow);
}
.search-preview{
  max-width:1100px;
  margin:0 auto 20px;
  margin-top: 35px;
  display:none;
  background:#0b0b0b;
  border:1px solid #1f1f1f;
  border-radius:10px;
  overflow:hidden;
}

.preview-item{
  padding:12px 16px;
  border-bottom:1px solid #1f1f1f;
  cursor:pointer;
  transition:.2s;
}

.preview-item:last-child{
  border-bottom:none;
}

.preview-item:hover{
  background:#141414;
}

.preview-title{
  font-weight:600;
}

.preview-category{
  font-size:12px;
  opacity:.6;
}

.post-highlight{
  outline:2px solid var(--red-glow);
  box-shadow:0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.6);
  transition:.4s;
}
#aiBubble{
  position:fixed !important;
  right:22px !important;
  bottom:22px !important;
  width:64px;
  height:64px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--red), var(--red-glow));
  color:#fff;
  display:flex !important;
  align-items:center;
  justify-content:center;
  font-size:32px;
  line-height:1;
  cursor:pointer;
  box-shadow:
    0 0 30px rgba(var(--red-glow-rgb, 0,191,255),.8),
    0 0 60px rgba(var(--red-glow-rgb, 0,191,255),.4),
    0 8px 24px rgba(0,0,0,.4),
    inset 0 2px 0 rgba(255,255,255,.1);
  z-index:99999 !important;
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border:2px solid rgba(var(--red-glow-rgb, 0,191,255),.3);
  overflow:visible;
  animation:aiBubbleFloat 3s ease-in-out infinite;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}

#aiBubble > * {
  position:relative;
  z-index:2;
}

#aiBubble::before{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:50%;
  padding:2px;
  background:linear-gradient(135deg, var(--red-glow), var(--red), var(--red-glow));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity .4s ease;
  animation:aiBubbleRotate 3s linear infinite;
}

#aiBubble:hover::before{
  opacity:1;
}

#aiBubble::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,.3), transparent 70%);
  opacity:0;
  transition:opacity .3s ease;
  z-index:1;
  pointer-events:none;
}

#aiBubble:hover::after{
  opacity:1;
}

#aiBubble:hover{
  transform:scale(1.1) translateY(-4px) !important;
  animation:aiBubbleHoverPulse 2s ease-in-out infinite !important;
  box-shadow:
    0 0 40px rgba(var(--red-glow-rgb, 0,191,255),1),
    0 0 80px rgba(var(--red-glow-rgb, 0,191,255),.6),
    0 12px 32px rgba(0,0,0,.5),
    inset 0 2px 0 rgba(255,255,255,.2);
}

#aiBubble:active{
  transform:scale(.95) translateY(-2px) !important;
  transition:all .15s ease;
}

#aiBubble.open{
  transform:scale(.9) rotate(90deg) translateY(0) !important;
  opacity:.8 !important;
  animation:none !important;
}

@keyframes aiBubbleFloat{
  0%, 100%{
    transform:translateY(0) scale(1);
  }
  50%{
    transform:translateY(-8px) scale(1);
  }
}

@keyframes aiBubbleRotate{
  0%{
    transform:rotate(0deg);
  }
  100%{
    transform:rotate(360deg);
  }
}

@keyframes aiBubbleHoverPulse{
  0%, 100%{
    box-shadow:
      0 0 40px rgba(var(--red-glow-rgb, 0,191,255),1),
      0 0 80px rgba(var(--red-glow-rgb, 0,191,255),.6),
      0 12px 32px rgba(0,0,0,.5),
      inset 0 2px 0 rgba(255,255,255,.2);
  }
  50%{
    box-shadow:
      0 0 50px rgba(var(--red-glow-rgb, 0,191,255),1.2),
      0 0 100px rgba(var(--red-glow-rgb, 0,191,255),.8),
      0 12px 32px rgba(0,0,0,.5),
      inset 0 2px 0 rgba(255,255,255,.2);
  }
}

/* AI Bubble bildirim efekti */
#aiBubble .notification-dot{
  position:absolute;
  top:-4px;
  right:-4px;
  width:18px;
  height:18px;
  background:var(--red-glow);
  border-radius:50%;
  border:3px solid #050505;
  animation:aiBubblePulse 1.5s ease-in-out infinite;
  box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.8);
  z-index:10000;
  display:none;
}

#aiBubble.hasNotification .notification-dot{
  display:block;
}

@keyframes aiBubblePulse{
  0%, 100%{
    transform:scale(1);
    opacity:1;
  }
  50%{
    transform:scale(1.3);
    opacity:.7;
  }
}

#aiPanel{
  position:fixed;
  right:22px;
  bottom:90px;
  width:360px;
  max-height:580px;
  background:linear-gradient(180deg, #0f0f0f, #0a0a0a, #050505);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.25);
  border-radius:20px;
  display:none;
  flex-direction:column;
  z-index:9999;
  opacity:0;
  transform:scale(.85) translateY(20px);
  transform-origin:bottom right;
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 20px 60px rgba(0,0,0,.9),
    0 0 40px rgba(var(--red-glow-rgb, 0,191,255),.2),
    inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden;
  backdrop-filter:blur(10px);
}

#aiPanel::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg, transparent, var(--red-glow), transparent);
  opacity:0;
  transition:opacity .4s ease;
}

#aiPanel.open{
  display:flex;
  opacity:1;
  transform:scale(1) translateY(0);
  animation:aiPanelSlideIn .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#aiPanel.open::before{
  opacity:1;
  animation:aiPanelGlowLine 2s ease-in-out infinite;
}

@keyframes aiPanelSlideIn{
  0%{
    opacity:0;
    transform:scale(.8) translateY(40px);
  }
  60%{
    transform:scale(1.02) translateY(-4px);
  }
  100%{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}

@keyframes aiPanelGlowLine{
  0%, 100%{
    opacity:.5;
    transform:translateX(-100%);
  }
  50%{
    opacity:1;
    transform:translateX(100%);
  }
}

.aiHeader{
  padding:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(var(--red-glow-rgb, 0,191,255),.15);
  background:rgba(var(--red-glow-rgb, 0,191,255),.03);
  position:relative;
  opacity:0;
  transform:translateY(-10px);
  animation:aiElementFadeIn .4s ease forwards;
  animation-delay:.1s;
}

#aiPanel.open .aiHeader{
  animation:aiElementFadeIn .4s ease forwards;
}

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

.aiHeaderIcon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--red-glow), rgba(var(--red-glow-rgb),.7));
  border-radius:12px;
  box-shadow:0 4px 12px rgba(var(--red-glow-rgb),.3);
  animation:aiIconPulse 2s ease-in-out infinite;
}

.aiHeaderIcon i{
  font-size:20px;
  color:#fff;
}

@keyframes aiIconPulse{
  0%, 100%{
    box-shadow:0 4px 12px rgba(var(--red-glow-rgb),.3);
  }
  50%{
    box-shadow:0 4px 20px rgba(var(--red-glow-rgb),.5);
  }
}

.aiHeaderText h3{
  margin:0;
  font-size:16px;
  font-weight:700;
  color:#fff;
  line-height:1.2;
}

.aiHeaderSubtitle{
  display:block;
  font-size:11px;
  color:rgba(255,255,255,.5);
  margin-top:2px;
  font-weight:400;
}

.aiCloseBtn{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.7);
  cursor:pointer;
  transition:all .3s ease;
  font-size:16px;
}

.aiCloseBtn:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.2);
  color:#fff;
  transform:scale(1.05);
}

.aiCloseBtn:active{
  transform:scale(.95);
}

/* Eski #aiClose için fallback */
#aiClose{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.7);
  cursor:pointer;
  transition:all .3s ease;
  font-size:16px;
}

#aiClose:hover{
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.2);
  color:#fff;
  transform:scale(1.05);
}

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

/* =========================
   AI ACTION BUTTONS
========================= */
.aiQuickActions .aiActionButtons{
  display:flex;
  gap:10px;
}

.aiActionButtons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.aiActionBtn{
  flex:1;
  min-width:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:11px 16px;
  border:none;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}

.aiActionBtn::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(var(--red-glow-rgb, 0,191,255),.15);
  transform:translate(-50%,-50%);
  transition:width .6s ease, height .6s ease;
}

.aiActionBtn:hover::before{
  width:300px;
  height:300px;
}

.aiActionBtn:hover{
  background:rgba(255,255,255,.1);
  border-color:var(--red-glow);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(var(--red-glow-rgb, 0,191,255),.3);
  color:var(--red-glow);
}

.aiActionBtn:active{
  transform:translateY(0) scale(0.98);
}

.aiActionBtn i{
  font-size:14px;
  position:relative;
  z-index:1;
  transition:transform .3s ease;
}

.aiActionBtn:hover i{
  transform:scale(1.1);
}

.aiActionBtn span{
  position:relative;
  z-index:1;
}

@keyframes aiButtonPulse{
  0%, 100%{
    box-shadow:0 0 0 0 rgba(var(--red-glow-rgb, 0,191,255),.4);
  }
  50%{
    box-shadow:0 0 0 4px rgba(var(--red-glow-rgb, 0,191,255),.1);
  }
}

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

/* =========================
   AI THEME BUTTONS
========================= */
.aiContent{
  flex:1;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.aiThemeSection{
  border-bottom:1px solid rgba(var(--red-glow-rgb, 0,191,255),.1);
}

#aiPanel .theme-selector-label{
  padding:16px 16px 8px 16px;
  margin-bottom:0;
  opacity:0;
  transform:translateY(-10px);
  animation:aiElementFadeIn .4s ease forwards;
  animation-delay:.2s;
}

#aiPanel.open .theme-selector-label{
  animation:aiElementFadeIn .4s ease forwards;
}

.aiThemeButtons{
  display:flex;
  gap:10px;
  padding:0 16px 16px 16px;
  flex-wrap:wrap;
  justify-content:center;
  opacity:0;
  transform:translateY(-10px);
  animation:aiElementFadeIn .4s ease forwards;
  animation-delay:.3s;
}

#aiPanel.open .aiThemeButtons{
  animation:aiElementFadeIn .4s ease forwards;
}

.aiThemeBtn{
  position:relative;
  width:38px;
  height:38px;
  border:none;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
  padding:0;
  transition:all .3s ease;
  overflow:hidden;
}

.aiThemeBtn::before{
  content:'';
  position:absolute;
  inset:0;
  border:2px solid transparent;
  border-radius:10px;
  transition:all .3s ease;
  z-index:1;
}

.aiThemeBtn:hover::before{
  border-color:rgba(255,255,255,.3);
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}

.aiThemeBtn.active::before{
  border-color:rgba(255,255,255,.5);
  border-width:2px;
  box-shadow:0 4px 16px rgba(0,0,0,.4);
}

.aiThemeBtn .theme-preview{
  display:block;
  width:100%;
  height:100%;
  border-radius:8px;
  transition:transform .3s ease;
  position:relative;
  z-index:0;
}

.aiThemeBtn:hover .theme-preview{
  transform:scale(1.1);
}

.aiThemeBtn.active .theme-preview{
  transform:scale(1.05);
}

.theme-check{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%) scale(0);
  width:20px;
  height:20px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  transition:transform .3s ease;
  box-shadow:0 2px 8px rgba(0,0,0,.3);
}

.theme-check i{
  font-size:10px;
  color:#000;
}

.aiThemeBtn.active .theme-check{
  transform:translate(-50%, -50%) scale(1);
}

@keyframes aiThemePulse{
  0%, 100%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.05);
  }
}

@keyframes aiThemeGlow{
  0%, 100%{
    box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.4);
  }
  50%{
    box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.7);
  }
}

@keyframes aiThemeActive{
  0%, 100%{
    box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.6), inset 0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.2);
  }
  50%{
    box-shadow:0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.9), inset 0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.4);
  }
}

@keyframes aiThemeRotate{
  0%{
    transform:scale(1.1) rotate(0deg);
  }
  100%{
    transform:scale(1.1) rotate(360deg);
  }
}

.aiMessages{
  flex:1;
  padding:16px;
  overflow-y:auto;
  font-size:13px;
  opacity:0;
  transform:translateY(-10px);
  animation:aiElementFadeIn .4s ease forwards;
  animation-delay:.4s;
  min-height:120px;
  max-height:180px;
}

#aiMessages{
  flex:1;
  padding:16px;
  overflow-y:auto;
  font-size:13px;
  opacity:0;
  transform:translateY(-10px);
  animation:aiElementFadeIn .4s ease forwards;
  animation-delay:.4s;
  min-height:120px;
  max-height:180px;
}

#aiPanel.open #aiMessages,
#aiPanel.open .aiMessages{
  animation:aiElementFadeIn .4s ease forwards;
}

.aiWelcomeMessage{
  text-align:center;
  padding:20px 10px;
  color:rgba(255,255,255,.6);
}

.aiWelcomeIcon{
  width:48px;
  height:48px;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(var(--red-glow-rgb),.15);
  border-radius:50%;
  animation:aiWelcomeIconPulse 2s ease-in-out infinite;
}

.aiWelcomeIcon i{
  font-size:20px;
  color:var(--red-glow);
}

@keyframes aiWelcomeIconPulse{
  0%, 100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(var(--red-glow-rgb),.4);
  }
  50%{
    transform:scale(1.05);
    box-shadow:0 0 0 8px rgba(var(--red-glow-rgb),.0);
  }
}

.aiWelcomeMessage p{
  margin:0;
  font-size:14px;
  line-height:1.5;
}

.msg{margin-bottom:12px;line-height:1.6}
.msg.user{text-align:right;color:#fff}
.msg.bot{color:#ccc}

.aiQuickActions{
  padding:16px;
  border-top:1px solid rgba(var(--red-glow-rgb, 0,191,255),.1);
  opacity:0;
  transform:translateY(-10px);
  animation:aiElementFadeIn .4s ease forwards;
  animation-delay:.45s;
}

#aiPanel.open .aiQuickActions{
  animation:aiElementFadeIn .4s ease forwards;
}

.aiQuickActionsLabel{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:10px;
  font-size:11px;
  color:rgba(255,255,255,.5);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.5px;
}

.aiQuickActionsLabel i{
  font-size:12px;
  color:var(--red-glow);
}

.aiInputContainer{
  border-top:1px solid rgba(var(--red-glow-rgb, 0,191,255),.15);
  background:rgba(0,0,0,.2);
  opacity:0;
  transform:translateY(-10px);
  animation:aiElementFadeIn .4s ease forwards;
  animation-delay:.5s;
}

#aiPanel.open .aiInputContainer{
  animation:aiElementFadeIn .4s ease forwards;
}

.aiInput{
  display:flex;
  align-items:center;
  padding:12px 16px;
  gap:8px;
}

.aiInput input{
  flex:1;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:10px;
  padding:10px 14px;
  color:#fff;
  font-size:13px;
  transition:all .3s ease;
}

.aiInput input::placeholder{
  color:rgba(255,255,255,.4);
}

.aiInput input:focus{
  background:rgba(255,255,255,.08);
  border-color:var(--red-glow);
  outline:none;
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb),.1);
}

.aiInput button{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--red-glow), rgba(var(--red-glow-rgb),.7));
  border:none;
  border-radius:10px;
  color:#fff;
  cursor:pointer;
  transition:all .3s ease;
  font-size:14px;
}

.aiInput button:hover{
  transform:scale(1.05);
  box-shadow:0 4px 12px rgba(var(--red-glow-rgb),.4);
}

.aiInput button:active{
  transform:scale(.95);
}

.aiCard{
  display:flex;
  gap:12px;
  margin-top:10px;
  padding:12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  cursor:pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.aiCard::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ai-primary, #eab308) 0%, var(--ai-glow, #fbbf24) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.aiCard:hover{
  border-color: var(--ai-primary, #eab308);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px rgba(234, 179, 8, 0.15);
}

.aiCard:hover::before{
  opacity: 0.05;
}

.aiCard-image{
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

.aiCard-image img{
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.aiCard:hover .aiCard-image img{
  border-color: var(--ai-primary, #eab308);
}

.aiCard-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.aiCard-overlay i{
  color: #fff;
  font-size: 18px;
  transform: translateX(-5px);
  transition: transform 0.3s ease;
}

.aiCard:hover .aiCard-overlay{
  opacity: 1;
}

.aiCard:hover .aiCard-overlay i{
  transform: translateX(0);
}

.aiCard-content{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  z-index: 1;
}

.aiCard-title{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aiCard-desc{
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.aiCard-action{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--ai-primary, #eab308);
  font-weight: 500;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
}

.aiCard:hover .aiCard-action{
  opacity: 1;
  transform: translateY(0);
}

.aiCard-action i{
  font-size: 10px;
}

/* AI Contact Card - Instagram Link */
.ai-contact-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 8px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 1px solid rgba(79, 172, 254, 0.2);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.ai-contact-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.1), transparent);
  transition: left 0.5s ease;
}

.ai-contact-card:hover::before{
  left: 100%;
}

.ai-contact-card:hover{
  border-color: rgba(79, 172, 254, 0.5);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 30px rgba(15, 52, 96, 0.4), 
              0 0 20px rgba(79, 172, 254, 0.15),
              inset 0 1px 0 rgba(255,255,255,0.1);
}

.ai-contact-icon{
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
  transition: all 0.3s ease;
}

.ai-contact-card:hover .ai-contact-icon{
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.ai-contact-icon i{
  font-size: 20px;
  color: #fff;
}

.ai-contact-info{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ai-contact-label{
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.ai-contact-link{
  font-size: 15px;
  font-weight: 600;
  color: #4facfe;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ai-contact-link:hover{
  color: #00f2fe;
  text-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.ai-contact-arrow{
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 172, 254, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.ai-contact-arrow i{
  font-size: 12px;
  color: #4facfe;
  transition: all 0.3s ease;
}

.ai-contact-card:hover .ai-contact-arrow{
  background: rgba(79, 172, 254, 0.2);
}

.ai-contact-card:hover .ai-contact-arrow i{
  transform: translate(2px, -2px);
  color: #00f2fe;
}

#aiPanel,
#aiPanel *{
  pointer-events: auto;
}

.aiInput input{
  pointer-events: auto;
  user-select: text;
  z-index: 1;
}
.bg-grid,
.bg-glow{
  pointer-events: none;
}
/* =========================
   AI TARGET HIGHLIGHT (STRONG)
========================= */
.post-focus{
  position:relative;
  z-index:5;
  animation: aiFocusPulse 1.8s ease;
  border:2px solid var(--red-glow) !important;
  box-shadow:
    0 0 0 4px rgba(var(--red-glow-rgb, 0,191,255),.18),
    0 0 45px rgba(var(--red-glow-rgb, 0,191,255),.85),
    inset 0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.35);
}

@keyframes aiFocusPulse{
  0%{
    transform:scale(.96);
    filter:brightness(1);
  }
  35%{
    transform:scale(1.02);
    filter:brightness(1.25);
  }
  70%{
    transform:scale(1);
    filter:brightness(1.1);
  }
  100%{
    transform:scale(1);
    filter:brightness(1);
  }
}

.aiOptions{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.aiOptions button{
  flex:1;
  background:#0b0b0b;
  border:1px solid #1f1f1f;
  color:#fff;
  padding:8px;
  border-radius:10px;
  cursor:pointer;
  transition:.25s;
}

.aiOptions button:hover{
  border-color:var(--red-glow);
  box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.6);
}

.aiWarning{
  margin-top:10px;
  font-size:12px;
  color:#ff4d4d;
  background:rgba(var(--red-glow-rgb, 0,191,255),.08);
  border-left:3px solid var(--red-glow);
  padding:8px;
  border-radius:6px;
}
.page-loading{
  position:fixed;
  inset:0;
  background:rgba(5,5,5,.85);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none; /* 🔥 TIKLAMA ENGELİNİ KALDIRIR */
  z-index:99999;
  transition:opacity .3s ease;
}
.page-loading.active{
  opacity:1;
  pointer-events:auto; /* sadece aktifken tıklamayı engeller */
}

.page-loading .spinner{
  width:54px;
  height:54px;
  border:4px solid rgba(255,255,255,.15);
  border-top:4px solid var(--red-glow);
  border-radius:50%;
  animation:spin 1s linear infinite;
  box-shadow:0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.6);
}
@keyframes spin{to{transform:rotate(360deg)}}

/* =========================
   AUTH MODAL
========================= */
.auth-buttons{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:nowrap;
}
.auth-btn{
  padding:7px 14px;
  border-radius:8px;
  border:none;
  font-family:"JetBrains Mono",monospace;
  font-weight:600;
  font-size:12px;
  cursor:pointer;
  transition:all .3s ease;
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  height:36px;
  box-sizing:border-box;
}
.auth-btn i{
  font-size:11px;
}
.login-btn{
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
}
.login-btn:hover{
  background:var(--card);
  border-color:var(--red);
}
.register-btn{
  background:var(--red);
  color:#fff;
  box-shadow:0 4px 15px rgba(var(--red-rgb, 0,105,148),.4);
}
.register-btn:hover{
  background:var(--red-glow);
  box-shadow:0 6px 20px rgba(var(--red-rgb, 0,105,148),.6);
  transform:translateY(-2px);
}
.notification-container{
  position:relative;
  display:inline-flex;
  align-items:center;
  height:36px;
  flex-shrink:0;
}

.notification-btn{
  position:relative;
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .3s ease;
  width:36px;
  height:36px;
  box-sizing:border-box;
}

.notification-btn:hover{
  border-color:var(--red);
  background:rgba(var(--red-rgb, 0,105,148),.1);
  box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.3);
}

.notification-btn i{
  font-size:16px;
}

.notification-badge{
  position:absolute;
  top:-4px;
  right:-4px;
  background:linear-gradient(135deg, var(--red-glow), var(--red));
  color:#fff;
  font-size:10px;
  font-weight:700;
  padding:2px 6px;
  border-radius:10px;
  min-width:18px;
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 2px 8px rgba(var(--red-glow-rgb, 0,191,255),.5);
  border:2px solid var(--bg);
  animation:notificationPulse 2s ease-in-out infinite;
}

@keyframes notificationPulse{
  0%, 100%{
    transform:scale(1);
    box-shadow:0 2px 8px rgba(var(--red-glow-rgb, 0,191,255),.5);
  }
  50%{
    transform:scale(1.1);
    box-shadow:0 3px 12px rgba(var(--red-glow-rgb, 0,191,255),.7);
  }
}

.notification-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:380px;
  max-width:min(90vw, 380px);
  max-height:500px;
  background:linear-gradient(180deg, #0e0e0e, #050505);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 8px 32px rgba(0,0,0,.6), 0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.2);
  display:none;
  flex-direction:column;
  overflow:hidden;
  z-index:100;
  animation:notificationDropdown .3s ease;
  transform-origin:top right;
  white-space:normal;
}

@keyframes notificationDropdown{
  from{
    opacity:0;
    transform:translateY(-10px) scale(0.95);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media(max-width:768px){
  .notification-dropdown{
    transform-origin:top right;
  }
}

@media(max-width:480px){
  .notification-dropdown{
    transform-origin:top right;
  }
}

.notification-dropdown.active{
  display:flex;
}

.notification-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid var(--border);
  background:rgba(var(--red-rgb, 0,105,148),.05);
}

.notification-header h3{
  color:var(--text);
  font-size:16px;
  font-weight:700;
  margin:0;
}

.notification-mark-all-read{
  background:transparent;
  border:1px solid var(--border);
  color:var(--muted);
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
  font-size:11px;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:6px;
  transition:all .3s;
  font-family:"JetBrains Mono",monospace;
}

.notification-mark-all-read:hover{
  border-color:var(--red);
  color:var(--red);
  background:rgba(var(--red-rgb, 0,105,148),.1);
}

.notification-list{
  overflow-y:auto;
  max-height:400px;
  padding:8px;
}

.notification-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px;
  border-radius:10px;
  cursor:pointer;
  transition:all .3s;
  position:relative;
  margin-bottom:6px;
}

.notification-item:hover{
  background:rgba(var(--red-rgb, 0,105,148),.1);
}

.notification-item.unread{
  background:rgba(255,215,0,.05);
  border-left:3px solid rgba(255,215,0,.5);
}

.notification-item.unread:hover{
  background:rgba(255,215,0,.1);
}

.notification-icon{
  flex-shrink:0;
  width:36px;
  height:36px;
  border-radius:50%;
  background:linear-gradient(135deg, rgba(255,215,0,.2), rgba(255,193,7,.1));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ffd700;
  font-size:16px;
}

.notification-content{
  flex:1;
  min-width:0;
}

.notification-title{
  color:var(--text);
  font-weight:600;
  font-size:14px;
  margin-bottom:4px;
}

.notification-message{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  margin-bottom:6px;
}

.notification-date{
  color:var(--muted);
  font-size:11px;
  opacity:0.7;
}

.notification-unread-dot{
  position:absolute;
  top:12px;
  right:12px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--red-glow);
  box-shadow:0 0 8px rgba(var(--red-glow-rgb, 0,191,255),.6);
  animation:notificationDotPulse 1.5s ease-in-out infinite;
}

@keyframes notificationDotPulse{
  0%, 100%{
    opacity:1;
    transform:scale(1);
  }
  50%{
    opacity:0.7;
    transform:scale(1.2);
  }
}

.notification-empty{
  padding:40px 20px;
  text-align:center;
  color:var(--muted);
}

.notification-empty i{
  font-size:48px;
  margin-bottom:16px;
  opacity:0.5;
}

.notification-empty p{
  font-size:14px;
  margin:0;
}

.notification-loading{
  padding:40px 20px;
  text-align:center;
  color:var(--muted);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}

.spinner-small{
  width:24px;
  height:24px;
  border:3px solid rgba(var(--red-rgb, 0,105,148),.2);
  border-top-color:var(--red-glow);
  border-radius:50%;
  animation:spin .8s linear infinite;
}

.user-menu{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
  height:40px;
}
.user-menu-toggle{
  display:flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg, rgba(var(--red-rgb, 0,105,148),.08), rgba(var(--red-glow-rgb, 0,191,255),.05));
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.2);
  cursor:pointer;
  padding:6px 12px 6px 6px;
  border-radius:20px;
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position:relative;
  overflow:hidden;
}
.user-menu-toggle::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),.15), rgba(var(--red-rgb, 0,105,148),.1));
  opacity:0;
  transition:opacity .4s ease;
}
.user-menu-toggle:hover{
  background:linear-gradient(135deg, rgba(var(--red-rgb, 0,105,148),.15), rgba(var(--red-glow-rgb, 0,191,255),.1));
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.4);
  box-shadow:0 4px 20px rgba(var(--red-glow-rgb, 0,191,255),.2),
              0 0 0 1px rgba(var(--red-glow-rgb, 0,191,255),.1);
  transform:translateY(-1px);
}
.user-menu-toggle:hover::before{
  opacity:1;
}
.user-menu-toggle.active{
  background:linear-gradient(135deg, rgba(var(--red-rgb, 0,105,148),.2), rgba(var(--red-glow-rgb, 0,191,255),.15));
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.5);
  box-shadow:0 6px 25px rgba(var(--red-glow-rgb, 0,191,255),.3),
              0 0 0 1px rgba(var(--red-glow-rgb, 0,191,255),.2),
              inset 0 1px 0 rgba(255,255,255,.1);
}
.user-menu-toggle.active::before{
  opacity:1;
}
.user-avatar-img{
  width:32px;
  height:32px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(var(--red-glow-rgb, 0,191,255),.6);
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.4),
             0 2px 8px rgba(0,0,0,.3);
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position:relative;
  z-index:1;
}
.user-menu-toggle:hover .user-avatar-img{
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.8);
  box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.5),
             0 4px 12px rgba(0,0,0,.4);
  transform:scale(1.05);
}
.user-menu-toggle.active .user-avatar-img{
  border-color:var(--red-glow);
  box-shadow:0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.6),
             0 4px 15px rgba(0,0,0,.5);
  transform:scale(1.08);
}
.user-avatar-placeholder{
  width:32px;
  height:32px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:15px;
  border:2px solid rgba(var(--red-glow-rgb, 0,191,255),.6);
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.4),
             0 2px 8px rgba(0,0,0,.3);
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position:relative;
  z-index:1;
}
.user-menu-toggle:hover .user-avatar-placeholder{
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.8);
  box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.5),
             0 4px 12px rgba(0,0,0,.4);
  transform:scale(1.05);
}
.user-menu-toggle.active .user-avatar-placeholder{
  border-color:var(--red-glow);
  box-shadow:0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.6),
             0 4px 15px rgba(0,0,0,.5);
  transform:scale(1.08);
}
.user-name{
  color:var(--text);
  font-weight:600;
  font-size:13px;
  white-space:nowrap;
  display:flex;
  align-items:center;
  height:100%;
  position:relative;
  z-index:1;
  letter-spacing:0.3px;
  transition:color .3s ease;
}
.user-menu-toggle:hover .user-name{
  color:var(--red-glow);
  text-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.user-menu-arrow{
  font-size:11px;
  color:var(--muted);
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:rgba(var(--red-glow-rgb, 0,191,255),.1);
}
.user-menu-toggle:hover .user-menu-arrow{
  color:var(--red-glow);
  background:rgba(var(--red-glow-rgb, 0,191,255),.2);
  transform:translateY(2px);
}
.user-menu-toggle.active .user-menu-arrow{
  transform:rotate(180deg);
  color:var(--red-glow);
  background:rgba(var(--red-glow-rgb, 0,191,255),.25);
  box-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.user-dropdown{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  background:rgba(10,10,10,.98);
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.2);
  border-radius:16px;
  min-width:240px;
  max-width:calc(100vw - 20px);
  box-shadow:0 20px 60px rgba(0,0,0,.8),
             0 0 0 1px rgba(var(--red-glow-rgb, 0,191,255),.1),
             inset 0 1px 0 rgba(255,255,255,.05);
  opacity:0;
  visibility:hidden;
  transform:translateY(-15px) scale(0.95);
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index:10000;
  overflow:hidden;
  padding:8px;
}
.user-dropdown.active{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
  animation:userDropdownSlideIn .4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes userDropdownSlideIn{
  0%{
    opacity:0;
    transform:translateY(-15px) scale(0.95);
  }
  60%{
    transform:translateY(2px) scale(1.02);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}
.user-dropdown-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  color:var(--text);
  text-decoration:none;
  transition:all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius:10px;
  margin:2px 0;
  position:relative;
  overflow:hidden;
  font-size:14px;
  font-weight:500;
}
.user-dropdown-item::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:100%;
  background:linear-gradient(180deg,var(--red),var(--red-glow));
  transform:scaleY(0);
  transition:transform .3s ease;
  border-radius:0 3px 3px 0;
}
.user-dropdown-item:hover{
  background:linear-gradient(90deg, rgba(var(--red-glow-rgb, 0,191,255),.15), rgba(var(--red-rgb, 0,105,148),.1));
  color:var(--red-glow);
  transform:translateX(4px);
  box-shadow:0 4px 12px rgba(var(--red-glow-rgb, 0,191,255),.2);
}
.user-dropdown-item:hover::before{
  transform:scaleY(1);
}
.user-dropdown-item.logout-item:hover{
  background:linear-gradient(90deg, rgba(255,77,77,.15), rgba(255,26,26,.1));
  color:#ff4d4d;
  box-shadow:0 4px 12px rgba(255,77,77,.25);
}
.user-dropdown-item.logout-item::before{
  background:linear-gradient(180deg,#ff4d4d,#ff1a1a);
}
.user-dropdown-item i{
  font-size:15px;
  width:20px;
  text-align:center;
  transition:all .3s ease;
  position:relative;
  z-index:1;
}
.user-dropdown-item:hover i{
  transform:scale(1.15);
  filter:drop-shadow(0 0 8px rgba(var(--red-glow-rgb, 0,191,255),.6));
}
.user-dropdown-item.logout-item:hover i{
  filter:drop-shadow(0 0 8px rgba(255,77,77,.6));
}

/* =========================
   TEMA RENK SEÇİCİ
========================= */
.theme-selector-divider{
  height:1px;
  background:linear-gradient(90deg, transparent, var(--border), transparent);
  margin:8px 0;
}

.theme-selector-section{
  padding:14px 16px;
  margin:4px 0;
  border-radius:10px;
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),.03), rgba(var(--red-rgb, 0,105,148),.02));
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.1);
}

.theme-selector-label{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  font-size:11px;
  color:var(--muted);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
}

.theme-selector-label i{
  font-size:14px;
  color:var(--red-glow);
  filter:drop-shadow(0 0 6px rgba(var(--red-glow-rgb, 0,191,255),.5));
  transition:transform .3s ease;
}
.theme-selector-section:hover .theme-selector-label i{
  transform:rotate(15deg) scale(1.1);
}

.theme-colors{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.theme-color-btn{
  position:relative;
  width:100%;
  aspect-ratio:1;
  border:none;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
  padding:0;
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow:hidden;
}

.theme-color-btn::before{
  content:'';
  position:absolute;
  inset:0;
  border:2px solid transparent;
  border-radius:10px;
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index:1;
}

.theme-color-btn:hover::before{
  border-color:rgba(255,255,255,.6);
  box-shadow:0 0 15px rgba(255,255,255,.3),
             0 4px 12px rgba(0,0,0,.3);
  transform:scale(1.05);
}

.theme-color-btn.active::before{
  border-color:#fff;
  border-width:3px;
  box-shadow:0 0 20px rgba(255,255,255,.5),
             0 6px 16px rgba(0,0,0,.4),
             inset 0 0 15px rgba(255,255,255,.2);
  transform:scale(1.08);
}

.theme-color-btn .color-preview{
  display:block;
  width:100%;
  height:100%;
  border-radius:8px;
  transition:transform .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),
             inset 0 -1px 0 rgba(0,0,0,.2);
}

.theme-color-btn:hover .color-preview{
  transform:scale(1.12);
}

.theme-color-btn.active .color-preview{
  transform:scale(1.08);
  box-shadow:inset 0 2px 4px rgba(255,255,255,.3),
             inset 0 -2px 4px rgba(0,0,0,.3);
}

/* Mobil için user dropdown pozisyonu */
@media(max-width:768px){
  .user-dropdown{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    left:auto;
    min-width:180px;
    max-width:calc(100vw - 24px);
    margin-top:0;
  }
  
  .theme-colors{
    grid-template-columns:repeat(4,1fr);
    gap:6px;
  }
  
  .theme-color-btn{
    border-radius:6px;
  }
}

@media(max-width:480px){
  .user-dropdown{
    top:calc(100% + 8px);
    right:0;
    max-width:calc(100vw - 20px);
    min-width:160px;
  }
}
.logout-link{
  color:var(--muted);
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:5px;
  transition:color .3s;
  font-size:12px;
  padding:6px 10px;
  border-radius:6px;
  border:1px solid var(--border);
  height:32px;
  box-sizing:border-box;
}
.logout-link:hover{
  color:var(--red);
  border-color:var(--red);
}
.auth-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(10px);
  z-index:10000;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  transition:opacity .3s ease;
}
.auth-modal.active{
  display:flex;
  animation:authModalFadeIn .4s ease forwards;
}
.auth-modal-content{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:20px;
  padding:30px;
  max-width:450px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  position:relative;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
  opacity:0;
  transform:scale(.85) translateY(30px);
  transition:all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.auth-modal.active .auth-modal-content{
  opacity:1;
  transform:scale(1) translateY(0);
  animation:authModalSlideIn .5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Auth Modal Scrollbar Styling */
.auth-modal-content::-webkit-scrollbar{
  width:8px;
}

.auth-modal-content::-webkit-scrollbar-track{
  background:rgba(0,0,0,.3);
  border-radius:4px;
}

.auth-modal-content::-webkit-scrollbar-thumb{
  background:rgba(var(--red-glow-rgb, 0,191,255),.5);
  border-radius:4px;
  transition:background .3s;
}

.auth-modal-content::-webkit-scrollbar-thumb:hover{
  background:rgba(var(--red-glow-rgb, 0,191,255),.7);
}

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

@keyframes authModalSlideIn{
  0%{
    opacity:0;
    transform:scale(.8) translateY(50px);
  }
  60%{
    transform:scale(1.02) translateY(-5px);
  }
  100%{
    opacity:1;
    transform:scale(1) translateY(0);
  }
}
.auth-close{
  position:absolute;
  top:15px;
  right:15px;
  font-size:28px;
  color:var(--muted);
  cursor:pointer;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  transition:all .3s;
  opacity:0;
  transform:rotate(0deg) scale(.8);
  z-index:10;
}
.auth-modal.active .auth-close{
  opacity:1;
  transform:rotate(0deg) scale(1);
  animation:authCloseFadeIn .4s ease forwards;
  animation-delay:.2s;
}
.auth-close:hover{
  background:rgba(var(--red-glow-rgb, 0,191,255),.1);
  color:var(--red-glow);
  transform:rotate(90deg) scale(1.1);
  box-shadow:0 0 12px rgba(var(--red-glow-rgb, 0,191,255),.3);
}

@keyframes authCloseFadeIn{
  from{
    opacity:0;
    transform:scale(.8);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}
.auth-tabs{
  display:flex;
  gap:10px;
  margin-bottom:25px;
  border-bottom:1px solid var(--border);
}
.auth-tab{
  flex:1;
  padding:12px;
  background:none;
  border:none;
  color:var(--muted);
  font-family:"JetBrains Mono",monospace;
  font-weight:600;
  font-size:16px;
  cursor:pointer;
  border-bottom:2px solid transparent;
  transition:all .3s;
  margin-bottom:-1px;
}
.auth-tab.active{
  color:var(--red);
  border-bottom-color:var(--red);
  animation:authTabActive .3s ease;
}

@keyframes authTabActive{
  0%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-2px);
  }
  100%{
    transform:translateY(0);
  }
}
.auth-form{
  display:none;
  opacity:0;
  transform:translateX(20px);
  transition:all .3s ease;
}
.auth-form.active{
  display:block;
  animation:authFormSlideIn .4s ease forwards;
}

@keyframes authFormSlideIn{
  from{
    opacity:0;
    transform:translateX(20px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}
.auth-form h2{
  margin-bottom:20px;
  color:var(--text);
  font-size:24px;
}
.auth-field{
  position:relative;
  margin-bottom:18px;
  opacity:0;
  transform:translateY(10px);
  animation:authFieldFadeIn .4s ease forwards;
}
.auth-modal.active .auth-field:nth-child(1){
  animation-delay:.1s;
}
.auth-modal.active .auth-field:nth-child(2){
  animation-delay:.15s;
}
.auth-modal.active .auth-field:nth-child(3){
  animation-delay:.2s;
}
.auth-modal.active .auth-field:nth-child(4){
  animation-delay:.25s;
}
.auth-modal.active .auth-field:nth-child(5){
  animation-delay:.3s;
}

@keyframes authFieldFadeIn{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.auth-field i{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
}
.auth-field input{
  width:100%;
  padding:14px 14px 14px 45px;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:10px;
  color:var(--text);
  font-family:"JetBrains Mono",monospace;
  font-size:14px;
  transition:all .3s;
}
.auth-field input:focus{
  border-color:var(--red-glow);
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb, 0,191,255),.1), 0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.2);
  outline:none;
  transform:translateY(-2px);
}
.auth-field input:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(var(--red-rgb, 0,105,148),.1);
}
.auth-submit-btn{
  width:100%;
  padding:14px;
  background:var(--red);
  color:#fff;
  border:none;
  border-radius:10px;
  font-family:"JetBrains Mono",monospace;
  font-weight:600;
  font-size:16px;
  cursor:pointer;
  transition:all .3s;
  box-shadow:0 4px 15px rgba(var(--red-rgb, 0,105,148),.4);
  opacity:0;
  transform:translateY(10px);
  animation:authButtonFadeIn .4s ease forwards;
  animation-delay:.35s;
}
.auth-modal.active .auth-submit-btn{
  animation:authButtonFadeIn .4s ease forwards;
}
.auth-submit-btn:hover{
  background:var(--red-glow);
  box-shadow:0 6px 20px rgba(var(--red-glow-rgb, 0,191,255),.6);
  transform:translateY(-2px);
}
.auth-submit-btn:active{
  transform:translateY(0);
}

@keyframes authButtonFadeIn{
  from{
    opacity:0;
    transform:translateY(10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.auth-error{
  background:rgba(var(--red-rgb, 0,105,148),.2);
  border:1px solid var(--red);
  color:var(--red);
  padding:12px;
  border-radius:8px;
  margin-bottom:20px;
  font-size:14px;
}
.auth-warning{
  display:flex;
  align-items:flex-start;
  gap:10px;
  background:rgba(255,193,7,.1);
  border:1px solid rgba(255,193,7,.3);
  color:#ffc107;
  padding:12px;
  border-radius:8px;
  margin-bottom:18px;
  font-size:13px;
  line-height:1.5;
}
.auth-extra{
  margin-top:16px;
  text-align:center;
}
.auth-link-btn{
  background:none;
  border:none;
  color:var(--muted);
  font-family:"JetBrains Mono",monospace;
  font-size:13px;
  cursor:pointer;
  padding:8px 12px;
  border-radius:6px;
  transition:all .3s;
  text-decoration:underline;
  text-decoration-color:transparent;
}
.auth-link-btn:hover{
  color:var(--red);
  text-decoration-color:var(--red);
  background:rgba(var(--red-rgb, 0,105,148),.1);
}
#forgotStatus{
  margin-top:12px;
  font-size:13px;
  color:#f1f5f9;
  text-align:center;
  padding:8px;
  border-radius:6px;
  min-height:20px;
}
.auth-warning i{
  margin-top:2px;
  flex-shrink:0;
}
.auth-warning span{
  flex:1;
}
.captcha-field{
  position:relative;
}
.captcha-question{
  position:absolute;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  background:rgba(var(--red-rgb, 0,105,148),.1);
  border:1px solid rgba(var(--red-rgb, 0,105,148),.3);
  color:var(--red);
  padding:6px 12px;
  border-radius:6px;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  pointer-events:none;
  font-family:"JetBrains Mono",monospace;
}
.captcha-field input{
  padding-right:180px;
}
.login-required{
  text-align:center;
  padding:40px 30px;
  color:var(--muted);
  background:linear-gradient(180deg,rgba(var(--red-rgb, 0,105,148),.05),rgba(var(--red-rgb, 0,105,148),.02));
  border-radius:16px;
  border:1px solid rgba(var(--red-rgb, 0,105,148),.2);
}
.login-required i{
  font-size:56px;
  color:var(--red);
  margin-bottom:20px;
  display:block;
  filter:drop-shadow(0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.4));
}
.login-required p{
  margin-bottom:30px;
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  max-width:400px;
  margin-left:auto;
  margin-right:auto;
}
.login-required .auth-btn{
  margin:0 auto;
  padding:14px 28px;
  font-size:15px;
  font-weight:700;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  border:none;
  color:#fff;
  border-radius:12px;
  box-shadow:0 6px 25px rgba(var(--red-rgb, 0,105,148),.5);
  transition:all .3s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:180px;
  line-height:1;
  height:48px;
  box-sizing:border-box;
}
.login-required .auth-btn i{
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:16px;
  width:auto;
  height:auto;
  flex-shrink:0;
  color:#fff;
}
.login-required .auth-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 35px rgba(var(--red-rgb, 0,105,148),.7);
  background:linear-gradient(135deg,var(--red-glow),var(--red));
}
.login-required .auth-btn:active{
  transform:translateY(-1px);
}
.login-required .auth-btn i{
  font-size:16px;
  margin:0;
  animation:none;
  filter:none;
}

/* =========================
   CONFIRM MODAL
========================= */
.confirm-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10000;
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease,visibility .3s ease;
}

.confirm-modal.active{
  opacity:1;
  visibility:visible;
}

.confirm-modal-content{
  background:linear-gradient(180deg,#0e0e0e,#050505);
  border:1px solid var(--border);
  border-radius:18px;
  padding:32px;
  max-width:420px;
  width:90%;
  box-shadow:0 0 45px rgba(var(--red-glow-rgb, 0,191,255),.25);
  transform:scale(.9);
  transition:transform .3s ease;
  text-align:center;
}

.confirm-modal.active .confirm-modal-content{
  transform:scale(1);
}

.confirm-icon{
  width:80px;
  height:80px;
  margin:0 auto 24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(var(--red-rgb, 0,105,148),.2);
  border:2px solid var(--red);
  border-radius:50%;
}

.confirm-icon i{
  font-size:40px;
  color:var(--red-glow);
  filter:drop-shadow(0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.5));
}

.confirm-title{
  font-size:24px;
  font-weight:700;
  color:var(--text);
  margin:0 0 16px;
  letter-spacing:.5px;
}

.confirm-message{
  font-size:15px;
  color:var(--muted);
  line-height:1.6;
  margin:0 0 32px;
}

.confirm-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
}

.confirm-btn{
  padding:12px 24px;
  border-radius:10px;
  font-family:"JetBrains Mono",monospace;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  gap:8px;
  border:none;
  min-width:120px;
  justify-content:center;
}

.confirm-cancel{
  background:var(--card);
  border:1px solid var(--border);
  color:var(--text);
}

.confirm-cancel:hover{
  background:var(--bg2);
  border-color:var(--muted);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}

.confirm-ok{
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  color:#fff;
  box-shadow:0 4px 15px rgba(var(--red-rgb, 0,105,148),.4);
}

.confirm-ok:hover{
  background:linear-gradient(135deg,var(--red-glow),var(--red));
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(var(--red-rgb, 0,105,148),.6);
}

.confirm-ok:active{
  transform:translateY(0);
}

.confirm-btn i{
  font-size:14px;
}

@media(max-width:600px){
  .confirm-modal-content{
    padding:24px;
    max-width:90%;
  }
  
  .confirm-icon{
    width:60px;
    height:60px;
    margin-bottom:20px;
  }
  
  .confirm-icon i{
    font-size:30px;
  }
  
  .confirm-title{
    font-size:20px;
  }
  
  .confirm-message{
    font-size:14px;
    margin-bottom:24px;
  }
  
  .confirm-buttons{
    flex-direction:column;
  }
  
  .confirm-btn{
    width:100%;
    min-width:auto;
  }
}

/* =========================
   TOAST NOTIFICATIONS
========================= */
.toast-container{
  position:fixed;
  top:20px;
  right:20px;
  z-index:10001;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-width:400px;
}
.toast{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 8px 30px rgba(0,0,0,.5);
  animation:slideInRight .3s ease;
  position:relative;
  overflow:hidden;
}
.toast::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
}
.toast.success{
  border-left-color:#10b981;
}
.toast.success::before{
  background:#10b981;
}
.toast.error{
  border-left-color:var(--red);
}
.toast.error::before{
  background:var(--red);
}
.toast-icon{
  font-size:20px;
  flex-shrink:0;
}
.toast.success .toast-icon{
  color:#10b981;
}
.toast.error .toast-icon{
  color:var(--red);
}
.toast-content{
  flex:1;
}
.toast-title{
  font-weight:600;
  font-size:14px;
  margin-bottom:4px;
  color:var(--text);
}
.toast-message{
  font-size:13px;
  color:var(--muted);
  line-height:1.4;
}
.toast-close{
  background:none;
  border:none;
  color:var(--muted);
  font-size:18px;
  cursor:pointer;
  padding:4px;
  line-height:1;
  transition:color .3s;
  flex-shrink:0;
}
.toast-close:hover{
  color:var(--text);
}
@keyframes slideInRight{
  from{
    transform:translateX(100%);
    opacity:0;
  }
  to{
    transform:translateX(0);
    opacity:1;
  }
}
.toast.hiding{
  animation:slideOutRight .3s ease forwards;
}
@keyframes slideOutRight{
  to{
    transform:translateX(100%);
    opacity:0;
  }
}

/* =========================
   AVATAR MODAL
========================= */
.avatar-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(10px);
  z-index:10000;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.avatar-modal.active{
  display:flex;
}
.avatar-modal-content{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  width:100%;
  max-width:500px;
  max-height:90vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 20px 60px rgba(0,0,0,.7);
  animation:pop .3s ease;
}
.avatar-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid var(--border);
}
.avatar-modal-header h3{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  font-size:18px;
  font-weight:600;
  margin:0;
}
.avatar-modal-header h3 i{
  color:var(--red);
  font-size:20px;
}
.avatar-modal-close{
  background:none;
  border:none;
  color:var(--muted);
  font-size:24px;
  cursor:pointer;
  padding:4px;
  line-height:1;
  transition:color .3s;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
}
.avatar-modal-close:hover{
  color:var(--text);
  background:rgba(255,255,255,.05);
}
.avatar-modal-body{
  padding:24px;
  overflow-y:auto;
}
.avatar-input-group{
  margin-bottom:20px;
}
.avatar-input-group label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  font-size:14px;
  font-weight:600;
  margin-bottom:10px;
}
.avatar-input-group label i{
  color:var(--red);
  font-size:16px;
}
.avatar-input-group input{
  width:100%;
  background:rgba(5,5,5,0.8);
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:12px;
  padding:12px 16px;
  color:var(--text);
  font-size:14px;
  transition:all .3s;
  box-sizing:border-box;
}
.avatar-input-group input:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb, 0,191,255),.1);
}
.avatar-help-text{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:12px;
  margin-top:8px;
}
.avatar-help-text i{
  font-size:11px;
}
.avatar-preview-container{
  margin-bottom:20px;
  padding:16px;
  background:rgba(5,5,5,0.5);
  border:1px solid var(--border);
  border-radius:12px;
}
.avatar-preview-container label{
  display:block;
  color:var(--text);
  font-size:13px;
  font-weight:600;
  margin-bottom:12px;
}
.avatar-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:120px;
  border-radius:8px;
  overflow:hidden;
  background:rgba(0,0,0,.3);
}
.avatar-preview img{
  max-width:100%;
  max-height:200px;
  border-radius:8px;
  object-fit:contain;
}
.avatar-preview-error{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:var(--muted);
  padding:20px;
}
.avatar-preview-error i{
  font-size:32px;
  color:var(--red);
}
.avatar-form-actions{
  display:flex;
  gap:12px;
  margin-top:24px;
}
.avatar-btn-cancel,
.avatar-btn-save{
  flex:1;
  padding:12px 20px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
}
.avatar-btn-cancel{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid var(--border);
}
.avatar-btn-cancel:hover{
  background:rgba(255,255,255,.1);
  border-color:var(--muted);
}
.avatar-btn-save{
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  color:#fff;
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.avatar-btn-save:hover:not(:disabled){
  background:linear-gradient(135deg,var(--red-glow),var(--red));
  box-shadow:0 6px 20px rgba(var(--red-glow-rgb, 0,191,255),.5);
  transform:translateY(-2px);
}
.avatar-btn-save:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.avatar-btn-spinner{
  display:none;
}

@media(max-width:600px){
  .avatar-modal-content{
    max-width:100%;
    max-height:95vh;
    border-radius:16px 16px 0 0;
  }
  .avatar-modal-header{
    padding:16px 20px;
  }
  .avatar-modal-header h3{
    font-size:16px;
  }
  .avatar-modal-body{
    padding:20px;
  }
  .avatar-form-actions{
    flex-direction:column;
  }
  .avatar-btn-cancel,
  .avatar-btn-save{
    width:100%;
  }
  .user-dropdown{
    right:0;
    min-width:180px;
  }
}

/* =========================
   PROFILE MODAL
========================= */
.profile-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(10px);
  z-index:10000;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.profile-modal.active{
  display:flex;
}
.profile-modal-content{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  width:100%;
  max-width:600px;
  max-height:90vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 20px 60px rgba(0,0,0,.7);
  animation:pop .3s ease;
}
.profile-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid var(--border);
}
.profile-modal-header h3{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  font-size:18px;
  font-weight:600;
  margin:0;
}
.profile-modal-header h3 i{
  color:var(--red);
  font-size:20px;
}
.profile-modal-close{
  background:none;
  border:none;
  color:var(--muted);
  font-size:24px;
  cursor:pointer;
  padding:4px;
  line-height:1;
  transition:color .3s;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
}
.profile-modal-close:hover{
  color:var(--text);
  background:rgba(255,255,255,.05);
}
.profile-modal-body{
  padding:24px;
  overflow-y:auto;
}
.profile-info-section,
.profile-password-section{
  margin-bottom:30px;
}
.profile-password-section{
  padding-top:30px;
  border-top:1px solid var(--border);
}
.profile-change-password-btn{
  width:100%;
  padding:14px 20px;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  border:1px solid var(--red);
  border-radius:12px;
  color:#fff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.profile-change-password-btn:hover{
  background:linear-gradient(135deg,var(--red-glow),var(--red));
  box-shadow:0 6px 20px rgba(var(--red-glow-rgb, 0,191,255),.5);
  transform:translateY(-2px);
}
.profile-change-password-btn i{
  font-size:16px;
}
.profile-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  font-size:16px;
  font-weight:600;
  margin-bottom:20px;
}
.profile-section-title i{
  color:var(--red);
  font-size:18px;
}
.profile-info-item{
  margin-bottom:20px;
}
.profile-info-item label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
  margin-bottom:8px;
}
.profile-info-item label i{
  color:var(--red);
  font-size:14px;
}
.profile-info-value{
  color:var(--text);
  font-size:15px;
  padding:12px 16px;
  background:rgba(5,5,5,0.5);
  border:1px solid var(--border);
  border-radius:10px;
  font-weight:500;
}
.profile-input-group{
  margin-bottom:20px;
}
.profile-input-group label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  font-size:14px;
  font-weight:600;
  margin-bottom:10px;
}
.profile-input-group label i{
  color:var(--red);
  font-size:16px;
}
.profile-input-group input{
  width:100%;
  background:rgba(5,5,5,0.8);
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:12px;
  padding:12px 16px;
  color:var(--text);
  font-size:14px;
  transition:all .3s;
  box-sizing:border-box;
}
.profile-input-group input:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb, 0,191,255),.1);
}
.profile-help-text{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:12px;
  margin-top:8px;
}
.profile-help-text i{
  font-size:11px;
}
.profile-captcha-group{
  margin-bottom:20px;
  position:relative;
}
.profile-captcha-group label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  font-size:14px;
  font-weight:600;
  margin-bottom:10px;
}
.profile-captcha-group label i{
  color:var(--red);
  font-size:16px;
}
.captcha-question-box{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
  padding:12px 16px;
  background:rgba(var(--red-rgb, 0,105,148),0.1);
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:10px;
}
.captcha-question{
  color:var(--text);
  font-size:16px;
  font-weight:600;
  font-family:"JetBrains Mono",monospace;
}
.captcha-refresh-btn{
  background:rgba(var(--red-glow-rgb, 0,191,255),.1);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.3);
  color:var(--red);
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  transition:all .3s;
  font-size:14px;
  margin-left:auto;
}
.captcha-refresh-btn:hover{
  background:rgba(var(--red-glow-rgb, 0,191,255),.2);
  border-color:var(--red);
  transform:rotate(180deg);
}
.profile-captcha-group input{
  width:100%;
  background:rgba(5,5,5,0.8);
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:12px;
  padding:12px 16px;
  color:var(--text);
  font-size:14px;
  transition:all .3s;
  box-sizing:border-box;
}
.profile-captcha-group input:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb, 0,191,255),.1);
}
.profile-form-actions{
  display:flex;
  gap:12px;
  margin-top:24px;
}
.profile-btn-cancel,
.profile-btn-save{
  flex:1;
  padding:12px 20px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
}
.profile-btn-cancel{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid var(--border);
}
.profile-btn-cancel:hover{
  background:rgba(255,255,255,.1);
  border-color:var(--muted);
}
.profile-btn-save{
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  color:#fff;
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.profile-btn-save:hover:not(:disabled){
  background:linear-gradient(135deg,var(--red-glow),var(--red));
  box-shadow:0 6px 20px rgba(var(--red-glow-rgb, 0,191,255),.5);
  transform:translateY(-2px);
}
.profile-btn-save:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.profile-btn-spinner{
  display:none;
}

@media(max-width:600px){
  .profile-modal-content{
    max-width:100%;
    max-height:95vh;
    border-radius:16px 16px 0 0;
  }
  .profile-modal-header{
    padding:16px 20px;
  }
  .profile-modal-header h3{
    font-size:16px;
  }
  .profile-modal-body{
    padding:20px;
  }
  .profile-form-actions{
    flex-direction:column;
  }
  .profile-btn-cancel,
  .profile-btn-save{
    width:100%;
  }
  .captcha-question-box{
    flex-direction:column;
    align-items:flex-start;
  }
  .captcha-refresh-btn{
    margin-left:0;
    width:100%;
  }
  .profile-change-password-btn{
    padding:12px 16px;
    font-size:14px;
  }
}

/* =========================
   CHANGE PASSWORD MODAL
========================= */
.change-password-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(10px);
  z-index:10001;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.change-password-modal.active{
  display:flex;
}
.change-password-modal-content{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  width:100%;
  max-width:500px;
  max-height:90vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 20px 60px rgba(0,0,0,.7);
  animation:pop .3s ease;
}
.change-password-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid var(--border);
}
.change-password-modal-header h3{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  font-size:18px;
  font-weight:600;
  margin:0;
}
.change-password-modal-header h3 i{
  color:var(--red);
  font-size:20px;
}
.change-password-modal-close{
  background:none;
  border:none;
  color:var(--muted);
  font-size:24px;
  cursor:pointer;
  padding:4px;
  line-height:1;
  transition:color .3s;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
}
.change-password-modal-close:hover{
  color:var(--text);
  background:rgba(255,255,255,.05);
}
.change-password-modal-body{
  padding:24px;
  overflow-y:auto;
}
.change-password-input-group{
  margin-bottom:20px;
}
.change-password-input-group label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  font-size:14px;
  font-weight:600;
  margin-bottom:10px;
}
.change-password-input-group label i{
  color:var(--red);
  font-size:16px;
}
.change-password-input-group input{
  width:100%;
  background:rgba(5,5,5,0.8);
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:12px;
  padding:12px 16px;
  color:var(--text);
  font-size:14px;
  transition:all .3s;
  box-sizing:border-box;
}
.change-password-input-group input:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb, 0,191,255),.1);
}
.change-password-help-text{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:12px;
  margin-top:8px;
}
.change-password-help-text i{
  font-size:11px;
}
.change-password-captcha-group{
  margin-bottom:24px;
  position:relative;
}
.change-password-captcha-group label{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  font-size:15px;
  font-weight:600;
  margin-bottom:16px;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.change-password-captcha-group label i{
  color:var(--red);
  font-size:18px;
  filter:drop-shadow(0 0 8px rgba(var(--red-glow-rgb, 0,191,255),0.5));
}
.change-password-captcha-group .captcha-question-box{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:16px;
  padding:18px 20px;
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),0.08), rgba(var(--red-rgb, 0,105,148),0.12));
  border:2px solid rgba(var(--red-glow-rgb, 0,191,255),0.25);
  border-radius:14px;
  position:relative;
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}
.change-password-captcha-group .captcha-question-box::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition:left 0.5s;
}
.change-password-captcha-group .captcha-question-box:hover::before{
  left:100%;
}
.change-password-captcha-group .captcha-question{
  color:#fff;
  font-size:20px;
  font-weight:700;
  font-family:"JetBrains Mono",monospace;
  flex:1;
  text-shadow:0 2px 8px rgba(var(--red-glow-rgb, 0,191,255),0.4);
  letter-spacing:1px;
}
.change-password-captcha-group .captcha-refresh-btn{
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),0.15), rgba(var(--red-rgb, 0,105,148),0.2));
  border:2px solid rgba(var(--red-glow-rgb, 0,191,255),0.4);
  color:var(--red);
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size:16px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:44px;
  box-shadow:0 2px 8px rgba(var(--red-glow-rgb, 0,191,255),0.2);
  position:relative;
  overflow:hidden;
}
.change-password-captcha-group .captcha-refresh-btn::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  transform:translate(-50%, -50%);
  transition:width 0.3s, height 0.3s;
}
.change-password-captcha-group .captcha-refresh-btn:hover::before{
  width:100%;
  height:100%;
}
.change-password-captcha-group .captcha-refresh-btn:hover{
  background:linear-gradient(135deg, rgba(var(--red-glow-rgb, 0,191,255),0.25), rgba(var(--red-rgb, 0,105,148),0.3));
  border-color:var(--red);
  transform:rotate(180deg) scale(1.05);
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),0.4);
}
.change-password-captcha-group .captcha-refresh-btn:active{
  transform:rotate(180deg) scale(0.95);
}
.change-password-captcha-group .captcha-refresh-btn i{
  position:relative;
  z-index:1;
  transition:transform 0.3s;
}
.change-password-captcha-group input[type="number"],
.change-password-captcha-group input[type="text"],
.change-password-captcha-group #captchaInput{
  width:100%;
  background:linear-gradient(135deg, rgba(5,5,5,0.9), rgba(10,10,10,0.95));
  border:2px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:12px;
  padding:14px 18px;
  color:#fff;
  font-size:16px;
  font-weight:500;
  transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing:border-box;
  font-family:"JetBrains Mono",monospace;
  letter-spacing:1px;
  box-shadow:0 2px 10px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.change-password-captcha-group input[type="number"]::placeholder,
.change-password-captcha-group input[type="text"]::placeholder,
.change-password-captcha-group #captchaInput::placeholder{
  color:rgba(255,255,255,0.4);
  font-weight:400;
  letter-spacing:0;
}
.change-password-captcha-group input[type="number"]:focus,
.change-password-captcha-group input[type="text"]:focus,
.change-password-captcha-group #captchaInput:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 4px rgba(var(--red-glow-rgb, 0,191,255),0.15), 0 4px 20px rgba(var(--red-glow-rgb, 0,191,255),0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  background:linear-gradient(135deg, rgba(10,10,10,0.95), rgba(15,15,15,1));
  transform:translateY(-1px);
}
.change-password-captcha-group input[type="number"]:hover:not(:focus),
.change-password-captcha-group input[type="text"]:hover:not(:focus),
.change-password-captcha-group #captchaInput:hover:not(:focus){
  border-color:rgba(var(--red-glow-rgb, 0,191,255),0.5);
  box-shadow:0 2px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.change-password-form-actions{
  display:flex;
  gap:12px;
  margin-top:24px;
}
.change-password-btn-cancel,
.change-password-btn-submit{
  flex:1;
  padding:12px 20px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
}
.change-password-btn-cancel{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid var(--border);
}
.change-password-btn-cancel:hover{
  background:rgba(255,255,255,.1);
  border-color:var(--muted);
}
.change-password-btn-submit{
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  color:#fff;
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.change-password-btn-submit:hover:not(:disabled){
  background:linear-gradient(135deg,var(--red-glow),var(--red));
  box-shadow:0 6px 20px rgba(var(--red-glow-rgb, 0,191,255),.5);
  transform:translateY(-2px);
}
.change-password-btn-submit:disabled{
  opacity:.6;
  cursor:not-allowed;
}

@media(max-width:600px){
  .change-password-modal-content{
    max-width:100%;
    max-height:95vh;
    border-radius:16px 16px 0 0;
  }
  .change-password-modal-header{
    padding:16px 20px;
  }
  .change-password-modal-header h3{
    font-size:16px;
  }
  .change-password-modal-body{
    padding:20px;
  }
  .change-password-captcha-group .captcha-question-box{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:16px;
  }
  .change-password-captcha-group .captcha-question{
    font-size:18px;
    width:100%;
  }
  .change-password-captcha-group .captcha-refresh-btn{
    width:100%;
    margin-top:0;
  }
  .change-password-captcha-group input[type="number"]{
    font-size:15px;
    padding:12px 16px;
  }
  .change-password-form-actions{
    flex-direction:column;
  }
  .change-password-btn-cancel,
  .change-password-btn-submit{
    width:100%;
  }
}

/* =========================
   PASSWORD CONFIRM MODAL
========================= */
.password-confirm-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  backdrop-filter:blur(10px);
  z-index:10001;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.password-confirm-modal.active{
  display:flex;
}
.password-confirm-modal-content{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  width:100%;
  max-width:500px;
  max-height:90vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 20px 60px rgba(0,0,0,.7);
  animation:pop .3s ease;
}
.password-confirm-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 24px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(135deg,rgba(var(--red-rgb, 0,105,148),.1),rgba(var(--red-glow-rgb, 0,191,255),.05));
}
.password-confirm-modal-header h3{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  font-size:18px;
  font-weight:600;
  margin:0;
}
.password-confirm-modal-header h3 i{
  color:var(--red);
  font-size:20px;
}
.password-confirm-modal-close{
  background:none;
  border:none;
  color:var(--muted);
  font-size:24px;
  cursor:pointer;
  padding:4px;
  line-height:1;
  transition:color .3s;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
}
.password-confirm-modal-close:hover{
  color:var(--text);
  background:rgba(255,255,255,.05);
}
.password-confirm-modal-body{
  padding:24px;
  overflow-y:auto;
}
.password-confirm-warning{
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:rgba(var(--red-glow-rgb, 0,191,255),.1);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.3);
  border-left:4px solid var(--red);
  border-radius:10px;
  padding:16px;
  margin-bottom:24px;
}
.password-confirm-warning i{
  color:var(--red);
  font-size:20px;
  flex-shrink:0;
  margin-top:2px;
}
.password-confirm-warning p{
  color:var(--text);
  font-size:14px;
  line-height:1.6;
  margin:0;
}
/* E-posta doğrulama container */
.email-verification-container{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-bottom:24px;
}
.email-info{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  background:rgba(var(--red-glow-rgb, 0,191,255),0.05);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),0.2);
  border-radius:10px;
  color:var(--text);
  font-size:14px;
  font-weight:500;
}
.email-info i{
  color:var(--red);
  font-size:16px;
}
.verification-code-group{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.verification-code-group label{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  font-size:14px;
  font-weight:600;
}
.verification-code-group label i{
  color:var(--red);
  font-size:16px;
}
.verification-code-group input{
  width:100%;
  padding:14px 16px;
  background:rgba(5,5,5,0.8);
  border:2px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:10px;
  color:#fff;
  font-size:18px;
  font-weight:600;
  font-family:"Courier New",monospace;
  letter-spacing:4px;
  text-align:center;
  transition:all .3s;
  box-sizing:border-box;
}
.verification-code-group input:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb, 0,191,255),.15);
  background:rgba(10,10,10,0.9);
}
.code-hint{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  background:rgba(255,255,255,0.03);
  border-radius:8px;
  font-size:12px;
  color:var(--muted);
}
.code-hint i{
  color:var(--red);
  font-size:14px;
}
.send-code-section{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.send-code-btn{
  width:100%;
  padding:14px 20px;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  border:none;
  border-radius:10px;
  color:#fff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.send-code-btn:hover:not(:disabled){
  background:linear-gradient(135deg,var(--red-glow),var(--red));
  box-shadow:0 6px 20px rgba(var(--red-glow-rgb, 0,191,255),.5);
  transform:translateY(-2px);
}
.send-code-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.send-code-btn-spinner{
  display:none;
}
.code-sent-info{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  background:rgba(0,255,0,0.1);
  border:1px solid rgba(0,255,0,0.3);
  border-radius:8px;
  color:#4ade80;
  font-size:13px;
}
.code-sent-info i{
  font-size:16px;
}
.resend-code-info{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
  text-align:center;
  justify-content:center;
}
.resend-code-btn{
  background:none;
  border:none;
  color:var(--red);
  cursor:pointer;
  font-weight:600;
  text-decoration:underline;
  transition:color .3s;
}
.resend-code-btn:hover{
  color:var(--red-glow);
}
.password-confirm-actions{
  display:flex;
  gap:12px;
  margin-top:24px;
}
.password-confirm-btn-cancel,
.password-confirm-btn-submit{
  flex:1;
  padding:12px 20px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
}
.password-confirm-btn-cancel{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid var(--border);
}
.password-confirm-btn-cancel:hover{
  background:rgba(255,255,255,.1);
  border-color:var(--muted);
}
.password-confirm-btn-submit{
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  color:#fff;
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}
.password-confirm-btn-submit:hover:not(:disabled){
  background:linear-gradient(135deg,var(--red-glow),var(--red));
  box-shadow:0 6px 20px rgba(var(--red-glow-rgb, 0,191,255),.5);
  transform:translateY(-2px);
}
.password-confirm-btn-submit:disabled{
  opacity:.6;
  cursor:not-allowed;
}
.password-confirm-btn-spinner{
  display:none;
}

@media(max-width:600px){
  .password-confirm-modal-content{
    max-width:100%;
    max-height:95vh;
    border-radius:16px 16px 0 0;
  }
  .password-confirm-modal-header{
    padding:16px 20px;
  }
  .password-confirm-modal-header h3{
    font-size:16px;
  }
  .password-confirm-modal-body{
    padding:20px;
  }
  .password-confirm-warning{
    padding:14px;
    flex-direction:column;
    gap:8px;
  }
  .password-confirm-warning i{
    font-size:18px;
  }
  .password-confirm-warning p{
    font-size:13px;
  }
  .email-verification-container{
    gap:16px;
  }
  .verification-code-group input{
    font-size:16px;
    letter-spacing:3px;
  }
  .send-code-btn{
    padding:12px 18px;
    font-size:14px;
  }
  .password-confirm-actions{
    flex-direction:column;
  }
  .password-confirm-btn-cancel,
  .password-confirm-btn-submit{
    width:100%;
  }
}

/* =========================
   EMPTY STATE
========================= */
.empty-state{
  grid-column:1/-1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:80px 30px;
  text-align:center;
  min-height:500px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  position:relative;
  overflow:hidden;
}
.empty-state::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--red-glow),transparent);
  opacity:.3;
}
.empty-state i{
  font-size:72px;
  color:var(--red-glow);
  margin-bottom:24px;
  opacity:.8;
  filter:drop-shadow(0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.2));
}
.empty-state h3{
  font-size:22px;
  font-weight:600;
  color:var(--text);
  letter-spacing:.5px;
  margin:0;
  text-shadow:0 2px 10px rgba(0,0,0,.5);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.empty-state h3 i{
  font-size:24px;
  color:var(--red-glow);
  opacity:.9;
}

/* =========================
   YORUMLAR BÖLÜMÜ
========================= */
.comments-section{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--border);
}

.comments-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:20px;
  font-size:18px;
  font-weight:600;
  color:var(--text);
}

.comments-header i{
  color:var(--red-glow);
  font-size:20px;
}

.comments-count{
  color:var(--muted);
  font-size:16px;
  font-weight:400;
}

.comments-list{
  max-height:400px;
  overflow-y:auto;
  min-height:100px;
}

/* Sayfalama Butonları */
.comments-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-top:20px;
  padding:15px 0;
  gap:8px;
}

.pagination-buttons{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  justify-content:center;
}

.pagination-btn{
  min-width:36px;
  height:36px;
  padding:0 12px;
  background:rgba(var(--red-rgb, 0,105,148),.1);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),.3);
  border-radius:8px;
  color:var(--text);
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"JetBrains Mono",monospace;
}

.pagination-btn:hover:not(.disabled):not(.active){
  background:rgba(var(--red-rgb, 0,105,148),.2);
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.5);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(var(--red-glow-rgb, 0,191,255),.3);
}

.pagination-btn.active{
  background:linear-gradient(135deg, var(--red-glow), var(--red));
  border-color:var(--red-glow);
  color:#fff;
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.5);
  cursor:default;
}

.pagination-btn.disabled{
  opacity:.4;
  cursor:not-allowed;
  background:rgba(var(--red-rgb, 0,105,148),.05);
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.1);
}

.pagination-dots{
  color:var(--muted);
  padding:0 4px;
  font-size:14px;
}

/* Mobil sayfalama */
@media(max-width:600px){
  .comments-pagination{
    margin-top:15px;
    padding:12px 0;
  }
  
  .pagination-btn{
    min-width:32px;
    height:32px;
    padding:0 8px;
    font-size:12px;
  }
  
  .pagination-buttons{
    gap:4px;
  }
}

.comments-list::-webkit-scrollbar{
  width:6px;
}

.comments-list::-webkit-scrollbar-track{
  background:var(--bg2);
  border-radius:3px;
}

.comments-list::-webkit-scrollbar-thumb{
  background:var(--border);
  border-radius:3px;
}

.comments-list::-webkit-scrollbar-thumb:hover{
  background:var(--red);
}

.comments-loading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:40px 20px;
  color:var(--muted);
  font-size:14px;
}

.spinner-small{
  width:20px;
  height:20px;
  border:2px solid var(--border);
  border-top-color:var(--red-glow);
  border-radius:50%;
  animation:spin .8s linear infinite;
}

@keyframes spin{
  to{transform:rotate(360deg);}
}

.comments-empty{
  text-align:center;
  padding:40px 20px;
  color:var(--muted);
  font-size:14px;
}

.comments-error{
  text-align:center;
  padding:40px 20px;
  color:var(--red);
  font-size:14px;
}

.comment-item{
  background:linear-gradient(180deg,rgba(15,15,15,.8),rgba(10,10,10,.6));
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 20px;
  margin-bottom:14px;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}

.comment-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:100%;
  background:linear-gradient(180deg,var(--red-glow),transparent);
  opacity:0;
  transition:opacity .3s;
}

.comment-item:hover{
  border-color:rgba(var(--red-glow-rgb, 0,191,255),.3);
  box-shadow:0 4px 20px rgba(var(--red-glow-rgb, 0,191,255),.15);
  transform:translateY(-2px);
}

.comment-item:hover::before{
  opacity:1;
}

.comment-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
  gap:16px;
  flex-wrap:nowrap;
}

.comment-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}

.comment-header-left{
  display:flex;
  align-items:center;
  gap:14px;
  flex:1;
  min-width:0;
}
.comment-author-avatar{
  flex-shrink:0;
  width:48px;
  height:48px;
  position:relative;
  transition:transform .3s ease;
}

.comment-author-avatar:hover{
  transform:scale(1.1);
}

.comment-avatar-img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid var(--red-glow);
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.3), inset 0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.2);
  display:block;
  transition:all .3s ease;
  position:relative;
}

.comment-avatar-img::after{
  content:"";
  position:absolute;
  top:-3px;
  left:-3px;
  right:-3px;
  bottom:-3px;
  border-radius:50%;
  border:2px solid rgba(var(--red-glow-rgb, 0,191,255),.4);
  animation:avatarGlow 2s ease-in-out infinite;
}

@keyframes avatarGlow{
  0%, 100%{
    opacity:0.5;
    transform:scale(1);
  }
  50%{
    opacity:1;
    transform:scale(1.05);
  }
}

.comment-avatar-img:hover{
  border-color:var(--red-glow);
  box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.7), 0 0 35px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 50px rgba(var(--red-glow-rgb, 0,191,255),.3), inset 0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
  transform:scale(1.05);
}

.comment-avatar-placeholder{
  width:48px;
  height:48px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--red-glow),var(--red),var(--red-glow));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:20px;
  border:3px solid var(--red-glow);
  box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.3), inset 0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.2);
  transition:all .3s ease;
  position:relative;
  animation:avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse{
  0%, 100%{
    box-shadow:0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 25px rgba(var(--red-glow-rgb, 0,191,255),.3), inset 0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.2);
  }
  50%{
    box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.7), 0 0 35px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 50px rgba(var(--red-glow-rgb, 0,191,255),.3), inset 0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
  }
}

.comment-avatar-placeholder:hover{
  border-color:var(--red-glow);
  box-shadow:0 0 20px rgba(var(--red-glow-rgb, 0,191,255),.7), 0 0 35px rgba(var(--red-glow-rgb, 0,191,255),.5), 0 0 50px rgba(var(--red-glow-rgb, 0,191,255),.3), inset 0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
  transform:scale(1.05);
}
.comment-author-info{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.comment-author-wrapper{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.comment-reply-btn{
  background:linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.05));
  border:1px solid rgba(255, 215, 0, 0.3);
  color:#ffd700;
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
  font-size:12px;
  font-weight:600;
  transition:all .3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex-shrink:0;
  position:relative;
  overflow:hidden;
}

.comment-reply-btn:hover{
  background:linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.15));
  border-color:rgba(255, 215, 0, 0.5);
  color:#ffed4e;
  transform:translateY(-1px);
  box-shadow:0 3px 12px rgba(255, 215, 0, 0.3);
}

.comment-reply-btn i{
  font-size:11px;
}

.comment-reply-btn span{
  font-size:11px;
}

.comment-delete-btn{
  background:transparent;
  border:1px solid rgba(var(--red-rgb, 0,105,148),.4);
  color:var(--red);
  padding:6px 10px;
  border-radius:8px;
  cursor:pointer;
  font-size:12px;
  transition:all .3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  height:32px;
  flex-shrink:0;
  position:relative;
  overflow:hidden;
}

.comment-delete-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--red);
  opacity:0;
  transition:opacity .3s;
}

.comment-delete-btn:hover{
  border-color:var(--red);
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 3px 12px rgba(var(--red-rgb, 0,105,148),.4);
}

.comment-delete-btn:hover::before{
  opacity:1;
}

.comment-delete-btn:hover i{
  position:relative;
  z-index:1;
}

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

.comment-delete-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
  transform:none;
}

.comment-delete-btn i{
  font-size:13px;
  transition:transform .3s;
}

.comment-delete-btn:hover i{
  transform:scale(1.1);
}

.comment-author{
  font-weight:600;
  color:var(--text);
  font-size:15px;
  line-height:1.2;
}

.admin-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 10px;
  background:linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
  border:1px solid rgba(255, 215, 0, 0.4);
  border-radius:12px;
  color:#ffd700;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  box-shadow:0 2px 8px rgba(255, 215, 0, 0.2), 0 0 12px rgba(255, 215, 0, 0.15);
  animation:adminBadgePulse 2s ease-in-out infinite;
  position:relative;
  overflow:hidden;
}

.admin-badge::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation:adminBadgeShine 3s ease-in-out infinite;
}

.admin-badge i{
  font-size:11px;
  filter:drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
  animation:adminBadgeIconRotate 4s ease-in-out infinite;
}

.admin-badge span{
  position:relative;
  z-index:1;
}

@keyframes adminBadgePulse{
  0%, 100%{
    box-shadow:0 2px 8px rgba(255, 215, 0, 0.2), 0 0 12px rgba(255, 215, 0, 0.15);
    transform:scale(1);
  }
  50%{
    box-shadow:0 2px 12px rgba(255, 215, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.25);
    transform:scale(1.02);
  }
}

@keyframes adminBadgeShine{
  0%{
    left:-100%;
  }
  50%, 100%{
    left:100%;
  }
}

@keyframes adminBadgeIconRotate{
  0%, 100%{
    transform:rotate(0deg) scale(1);
  }
  25%{
    transform:rotate(-5deg) scale(1.1);
  }
  75%{
    transform:rotate(5deg) scale(1.1);
  }
}

/* Bildirim mesajındaki admin-badge için hover ve tıklama efektleri */
.notification-message .admin-badge{
  transition:all .3s ease;
  cursor:pointer;
}

.notification-message .admin-badge:hover{
  background:linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 193, 7, 0.2));
  border-color:rgba(255, 215, 0, 0.6);
  box-shadow:0 4px 16px rgba(255, 215, 0, 0.4), 0 0 24px rgba(255, 215, 0, 0.3);
  transform:scale(1.05) translateY(-2px);
}

.notification-message .admin-badge:active{
  transform:scale(0.98) translateY(0);
}

/* Yorum highlight animasyonu */
@keyframes commentHighlight{
  0%{
    background:transparent;
    box-shadow:none;
  }
  50%{
    background:rgba(255, 215, 0, 0.1);
    box-shadow:0 0 20px rgba(255, 215, 0, 0.3);
    border-left:3px solid rgba(255, 215, 0, 0.6);
  }
  100%{
    background:transparent;
    box-shadow:none;
  }
}

.comment-date{
  color:var(--muted);
  font-size:13px;
  font-weight:400;
  white-space:nowrap;
  flex-shrink:0;
  padding-left:8px;
  position:relative;
}

.comment-date::before{
  content:"•";
  position:absolute;
  left:0;
  color:var(--border);
}

.comment-text{
  color:var(--text);
  font-size:14px;
  line-height:1.7;
  word-wrap:break-word;
  white-space:pre-wrap;
  padding-left:28px;
  position:relative;
}

.comment-reply-form{
  margin-top:14px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255, 215, 0, 0.08), rgba(255, 193, 7, 0.04));
  border:1px solid rgba(255, 215, 0, 0.25);
  border-radius:12px;
  box-shadow:0 2px 12px rgba(255, 215, 0, 0.1);
  position:relative;
  overflow:hidden;
}

.comment-reply-form::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:100%;
  background:linear-gradient(180deg, #ffd700, rgba(255, 215, 0, 0.5));
  opacity:0.6;
}

.comment-reply-input{
  width:100%;
  padding:14px 16px;
  background:var(--bg2);
  border:1px solid rgba(255, 215, 0, 0.3);
  border-radius:10px;
  color:var(--text);
  font-family:"JetBrains Mono",monospace;
  font-size:13px;
  resize:vertical;
  min-height:90px;
  max-height:200px;
  transition:all .3s ease;
  margin-bottom:12px;
  line-height:1.6;
  text-align:left !important;
  direction:ltr !important;
}

.comment-reply-input::placeholder{
  color:var(--muted);
  opacity:0.7;
  text-align:left !important;
}

.comment-reply-input:focus{
  outline:none;
  border-color:rgba(255, 215, 0, 0.6);
  box-shadow:0 0 0 3px rgba(255, 215, 0, 0.15), 0 2px 8px rgba(255, 215, 0, 0.2);
  background:var(--card);
}

.comment-reply-actions{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
}

.comment-reply-submit,
.comment-reply-cancel{
  padding:10px 18px;
  border-radius:10px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
  display:flex;
  align-items:center;
  gap:8px;
  font-family:"JetBrains Mono",monospace;
  position:relative;
  overflow:hidden;
}

.comment-reply-submit{
  background:linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 193, 7, 0.2));
  border:1px solid rgba(255, 215, 0, 0.5);
  color:#ffd700;
  box-shadow:0 2px 8px rgba(255, 215, 0, 0.2);
}

.comment-reply-submit::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
  opacity:0;
  transition:opacity .3s;
}

.comment-reply-submit:hover{
  background:linear-gradient(135deg, rgba(255, 215, 0, 0.35), rgba(255, 193, 7, 0.3));
  border-color:rgba(255, 215, 0, 0.7);
  color:#ffed4e;
  transform:translateY(-2px);
  box-shadow:0 4px 16px rgba(255, 215, 0, 0.4);
}

.comment-reply-submit:hover::before{
  opacity:1;
}

.comment-reply-submit:active{
  transform:translateY(0);
  box-shadow:0 2px 8px rgba(255, 215, 0, 0.3);
}

.comment-reply-submit i{
  position:relative;
  z-index:1;
  font-size:12px;
}

.comment-reply-submit span{
  position:relative;
  z-index:1;
}

.comment-reply-submit:disabled{
  opacity:0.6;
  cursor:not-allowed;
  transform:none;
}

.comment-reply-cancel{
  background:transparent;
  border:1px solid var(--border);
  color:var(--muted);
}

.comment-reply-cancel:hover{
  border-color:rgba(139, 0, 0, 0.5);
  color:var(--red);
  background:rgba(139, 0, 0, 0.1);
  transform:translateY(-1px);
}

.comment-reply-cancel:active{
  transform:translateY(0);
}

.comment-reply-cancel i{
  font-size:12px;
}

.comment-form{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px;
}

.comment-form textarea{
  width:100%;
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:8px;
  padding:12px;
  color:var(--text);
  font-family:"JetBrains Mono",monospace;
  font-size:14px;
  resize:vertical;
  min-height:80px;
  margin-bottom:12px;
  transition:border-color .3s;
  text-align:left !important;
  direction:ltr !important;
  text-align-last:left !important;
}

.comment-form textarea:focus{
  outline:none;
  border-color:var(--red-glow);
  box-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),.1);
  text-align:left !important;
}

.comment-form textarea::placeholder{
  text-align:left !important;
}

.comment-form-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.char-count{
  color:var(--muted);
  font-size:12px;
}

.comment-submit-btn{
  background:var(--red);
  border:none;
  color:#fff;
  padding:10px 20px;
  border-radius:8px;
  font-family:"JetBrains Mono",monospace;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
  transition:background .3s,transform .2s,box-shadow .3s;
}

.comment-submit-btn:hover:not(:disabled){
  background:var(--red-glow);
  transform:translateY(-1px);
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),.3);
}

.comment-submit-btn:active:not(:disabled){
  transform:translateY(0);
}

.comment-submit-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.comment-login-required{
  text-align:center;
  padding:40px 30px;
  color:var(--muted);
  background:linear-gradient(180deg,rgba(var(--red-rgb, 0,105,148),.05),rgba(var(--red-rgb, 0,105,148),.02));
  border-radius:16px;
  border:1px solid rgba(var(--red-rgb, 0,105,148),.2);
}

.comment-login-required i{
  font-size:56px;
  color:var(--red);
  margin-bottom:20px;
  display:block;
  filter:drop-shadow(0 0 15px rgba(var(--red-glow-rgb, 0,191,255),.4));
}

.comment-login-required p{
  margin-bottom:30px;
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  max-width:400px;
  margin-left:auto;
  margin-right:auto;
}

.comment-login-required .auth-btn{
  margin:0 auto;
  padding:14px 28px;
  font-size:15px;
  font-weight:700;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  border:none;
  color:#fff;
  border-radius:12px;
  box-shadow:0 6px 25px rgba(var(--red-rgb, 0,105,148),.5);
  transition:all .3s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:180px;
  line-height:1;
  height:48px;
  box-sizing:border-box;
}

.comment-login-required .auth-btn i{
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  font-size:16px;
  width:auto;
  height:auto;
  flex-shrink:0;
  color:#fff;
}

.comment-login-required .auth-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 35px rgba(var(--red-rgb, 0,105,148),.7);
  background:linear-gradient(135deg,var(--red-glow),var(--red));
}

.comment-login-required .auth-btn:active{
  transform:translateY(-1px);
}

.comment-login-required .auth-btn i{
  font-size:16px;
  margin:0;
  animation:none;
  filter:none;
}

@media(max-width:600px){
  .comments-section{
    margin-top:20px;
    padding-top:20px;
  }
  
  .comments-header{
    font-size:16px;
    margin-bottom:16px;
  }
  
  .comment-item{
    padding:14px 16px;
  }
  
  .comment-header{
    flex-direction:row;
    align-items:flex-start;
    gap:10px;
    margin-bottom:12px;
  }
  
  .comment-header-left{
    flex-direction:row;
    gap:10px;
    align-items:center;
  }
  
  .comment-author-avatar{
    width:40px;
    height:40px;
  }
  
  .comment-avatar-img{
    width:40px;
    height:40px;
    border:2.5px solid var(--red-glow);
  }
  
  .comment-avatar-placeholder{
    width:40px;
    height:40px;
    font-size:18px;
    border:2.5px solid var(--red-glow);
  }
  
  .comment-author{
    font-size:14px;
  }
  
  .admin-badge{
    padding:3px 8px;
    font-size:10px;
    gap:4px;
  }
  
  .admin-badge i{
    font-size:10px;
  }
  
  .comment-date{
    font-size:12px;
    padding-left:0;
  }
  
  .comment-date::before{
    display:none;
  }
  
  .comment-text{
    padding-left:0;
    font-size:13px;
    line-height:1.6;
  }
  
  .comment-reply{
    margin-left:16px;
    padding-left:12px;
  }
  
  .comment-reply-btn{
    padding:5px 10px;
    font-size:10px;
    gap:4px;
  }
  
  .comment-reply-btn span{
    display:none;
  }
  
  .comment-reply-form{
    padding:12px;
  }
  
  .comment-reply-form::before{
    width:2px;
  }
  
  .comment-reply-input{
    font-size:12px;
    padding:12px 14px;
    min-height:80px;
    max-height:150px;
  }
  
  .comment-reply-actions{
    gap:8px;
  }
  
  .comment-reply-submit,
  .comment-reply-cancel{
    padding:8px 14px;
    font-size:12px;
    gap:6px;
  }
  
  .comment-reply-submit i,
  .comment-reply-cancel i{
    font-size:11px;
  }
  
  .comment-delete-btn{
    padding:5px 8px;
    font-size:11px;
    min-width:32px;
    height:28px;
  }
  
  .comment-form{
    padding:12px;
  }
  
  .comment-form textarea{
    font-size:13px;
    padding:10px;
  }
  
  .comment-submit-btn{
    padding:8px 16px;
    font-size:13px;
  }
}

/* =========================
   PRIVACY NOTICE - GİZLİLİK NOTU
========================= */
.privacy-notice{
  max-width:1200px;
  margin:0 auto 40px;
  padding:0 20px;
  animation:fadeInUp 0.8s ease-out;
  z-index:1;
  position:relative;
}

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

.privacy-notice > div:first-child{
  background:linear-gradient(135deg,rgba(var(--red-rgb, 0,105,148),0.15),rgba(20,20,20,0.95));
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:20px;
  padding:30px;
  position:relative;
  overflow:hidden;
  display:flex;
  gap:25px;
  align-items:flex-start;
  backdrop-filter:blur(10px);
  box-shadow:
    0 10px 40px rgba(var(--red-rgb, 0,105,148),0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.privacy-notice > div:first-child::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg,
    transparent,
    var(--red-glow) 20%,
    var(--red-glow) 80%,
    transparent
  );
  animation:shimmer 3s ease-in-out infinite;
}

@keyframes shimmer{
  0%,100%{
    opacity:0.5;
  }
  50%{
    opacity:1;
  }
}

.privacy-icon{
  flex-shrink:0;
  width:70px;
  height:70px;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  box-shadow:
    0 8px 30px rgba(var(--red-glow-rgb, 0,191,255),0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.privacy-icon i{
  font-size:32px;
  color:#fff;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.privacy-icon::after{
  content:'';
  position:absolute;
  inset:-2px;
  border-radius:16px;
  padding:2px;
  background:linear-gradient(45deg,
    var(--red-glow),
    transparent 40%,
    transparent 60%,
    var(--red-glow)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0.6;
  animation:rotate 4s linear infinite;
}

@keyframes rotate{
  from{
    transform:rotate(0deg);
  }
  to{
    transform:rotate(360deg);
  }
}

.privacy-content{
  flex:1;
  min-width:0;
}

.privacy-title{
  font-size:22px;
  font-weight:700;
  color:#fff;
  margin-bottom:12px;
  display:flex;
  align-items:center;
  gap:12px;
  letter-spacing:0.5px;
}

.privacy-title i{
  font-size:20px;
  color:var(--red-glow);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  background:rgba(var(--red-rgb, 0,105,148),0.15);
  border-radius:6px;
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),0.25);
  flex-shrink:0;
  box-shadow:0 0 8px rgba(var(--red-glow-rgb, 0,191,255),0.3);
}

.privacy-text{
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
  margin:0;
}

.privacy-text strong{
  color:var(--red-glow);
  font-weight:600;
  text-shadow:0 0 10px rgba(var(--red-glow-rgb, 0,191,255),0.3);
}

.privacy-text .highlight{
  color:var(--red-glow);
  font-weight:600;
  padding:2px 8px;
  background:rgba(var(--red-rgb, 0,105,148),0.2);
  border-radius:6px;
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),0.3);
  display:inline-block;
  transition:all 0.3s ease;
  cursor:pointer;
}

.privacy-text .highlight:hover{
  background:rgba(var(--red-rgb, 0,105,148),0.3);
  border-color:var(--red-glow);
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(var(--red-glow-rgb, 0,191,255),0.4);
}

.privacy-contact-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 14px;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),0.4);
  border-radius:8px;
  color:#fff;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.3s ease;
  box-shadow:0 2px 8px rgba(var(--red-glow-rgb, 0,191,255),0.3);
  font-family:"JetBrains Mono",monospace;
}

.privacy-contact-btn:hover{
  background:linear-gradient(135deg,var(--red-glow),var(--red-glow));
  transform:translateY(-2px);
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),0.5);
}

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

.privacy-contact-btn i{
  font-size:12px;
}

/* Responsive Design */
@media(max-width:768px){
  .privacy-notice{
    margin-bottom:30px;
    padding:0 15px;
  }
  
  .privacy-notice > div:first-child{
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:25px 20px;
    gap:20px;
  }
  
  .privacy-icon{
    width:60px;
    height:60px;
  }
  
  .privacy-icon i{
    font-size:28px;
  }
  
  .privacy-title{
    font-size:19px;
    justify-content:center;
  }
  
  .privacy-title i{
    font-size:18px;
    width:26px;
    height:26px;
  }
  
  .privacy-text{
    font-size:14px;
    line-height:1.7;
  }
}

@media(max-width:480px){
  .notification-dropdown{
    width:calc(100vw - 24px);
    max-width:none;
    right:12px;
    left:auto;
    transform:translateX(0);
    position:fixed;
  }
  .notification-container{
    position:relative;
  }
  .privacy-notice{
    margin-bottom:25px;
    padding:0 12px;
  }
  
  .privacy-notice > div:first-child{
    padding:20px 16px;
    border-radius:16px;
    gap:16px;
  }
  
  .privacy-icon{
    width:50px;
    height:50px;
  }
  
  .privacy-icon i{
    font-size:24px;
  }
  
  .privacy-title{
    font-size:17px;
    gap:10px;
  }
  
  .privacy-title i{
    font-size:16px;
    width:24px;
    height:24px;
  }
  
  .privacy-text{
    font-size:13px;
    line-height:1.6;
  }
  
  .privacy-text .highlight{
    padding:2px 6px;
    font-size:12px;
  }
}

/* =========================
   CONTACT MODAL
========================= */
.contact-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(10px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  transition:all 0.3s ease;
}

.contact-modal.active{
  opacity:1;
  visibility:visible;
}

.contact-modal-content{
  background:linear-gradient(135deg,rgba(15,15,15,0.98),rgba(5,5,5,0.98));
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:20px;
  padding:30px;
  width:90%;
  max-width:550px;
  max-height:90vh;
  overflow-y:auto;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.8),
    0 0 100px rgba(var(--red-glow-rgb, 0,191,255),0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform:scale(0.9);
  transition:transform 0.3s ease;
  position:relative;
}

.contact-modal.active .contact-modal-content{
  transform:scale(1);
}

.contact-close{
  position:absolute;
  top:20px;
  right:20px;
  width:36px;
  height:36px;
  background:rgba(var(--red-rgb, 0,105,148),0.2);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),0.3);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  color:var(--red-glow);
  cursor:pointer;
  transition:all 0.3s ease;
}

.contact-close:hover{
  background:rgba(var(--red-rgb, 0,105,148),0.4);
  transform:rotate(90deg);
}

.contact-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:25px;
  padding-bottom:20px;
  border-bottom:1px solid rgba(var(--red-rgb, 0,105,148),0.2);
}

.contact-header i{
  font-size:28px;
  color:var(--red-glow);
  filter:drop-shadow(0 0 10px rgba(var(--red-glow-rgb, 0,191,255),0.5));
}

.contact-header h2{
  font-size:24px;
  font-weight:700;
  color:#fff;
  margin:0;
}

.contact-field{
  margin-bottom:20px;
}

.contact-field label{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  font-size:14px;
  font-weight:600;
  color:var(--text);
}

.contact-field label i{
  font-size:14px;
  color:var(--red-glow);
}

.contact-field input,
.contact-field textarea{
  width:100%;
  background:rgba(5,5,5,0.8);
  border:1px solid rgba(var(--red-rgb, 0,105,148),0.3);
  border-radius:12px;
  padding:12px 16px;
  color:var(--text);
  font-size:14px;
  font-family:"JetBrains Mono",monospace;
  transition:all 0.3s ease;
}

.contact-field input:focus,
.contact-field textarea:focus{
  outline:none;
  border-color:var(--red-glow);
  box-shadow:0 0 0 3px rgba(var(--red-glow-rgb, 0,191,255),0.1);
}

.contact-field textarea{
  resize:vertical;
  min-height:120px;
}

.field-counter{
  display:block;
  text-align:right;
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

.contact-info{
  background:rgba(var(--red-rgb, 0,105,148),0.1);
  border:1px solid rgba(var(--red-glow-rgb, 0,191,255),0.2);
  border-radius:10px;
  padding:12px 16px;
  margin-bottom:20px;
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.contact-info i{
  font-size:16px;
  color:var(--red-glow);
  margin-top:2px;
  flex-shrink:0;
}

.contact-info span{
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
}

.contact-info strong{
  color:var(--red-glow);
}

.contact-submit-btn{
  width:100%;
  padding:14px;
  background:linear-gradient(135deg,var(--red),var(--red-glow));
  border:none;
  border-radius:12px;
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:all 0.3s ease;
  box-shadow:0 4px 15px rgba(var(--red-glow-rgb, 0,191,255),0.4);
}

.contact-submit-btn:hover:not(:disabled){
  background:linear-gradient(135deg,var(--red-glow),var(--red-glow));
  transform:translateY(-2px);
  box-shadow:0 6px 25px rgba(var(--red-glow-rgb, 0,191,255),0.6);
}

.contact-submit-btn:active:not(:disabled){
  transform:translateY(0);
}

.contact-submit-btn:disabled{
  opacity:0.6;
  cursor:not-allowed;
}

.contact-submit-btn i{
  font-size:14px;
}

/* Responsive Contact Modal */
@media(max-width:600px){
  .contact-modal-content{
    padding:25px 20px;
    border-radius:16px;
  }
  
  .contact-close{
    top:15px;
    right:15px;
    width:32px;
    height:32px;
    font-size:20px;
  }
  
  .contact-header{
    margin-bottom:20px;
    padding-bottom:15px;
  }
  
  .contact-header i{
    font-size:24px;
  }
  
  .contact-header h2{
    font-size:20px;
  }
  
  .contact-field{
    margin-bottom:16px;
  }
  
  .contact-field label{
    font-size:13px;
  }
  
  .contact-field input,
  .contact-field textarea{
    padding:10px 14px;
    font-size:13px;
  }
  
  .contact-submit-btn{
    padding:12px;
    font-size:14px;
  }
}

/* =========================
   ANNOUNCEMENT MODAL
========================= */
.announcement-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  animation:fadeIn 0.3s ease;
}

.announcement-modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,0.95);
  backdrop-filter:blur(10px);
}

.announcement-modal-content{
  position:relative;
  background:linear-gradient(180deg,rgba(6,10,26,0.98),rgba(2,6,23,0.98));
  border:2px solid rgba(139,92,246,0.3);
  border-radius:24px;
  max-width:600px;
  width:100%;
  box-shadow:0 20px 60px rgba(139,92,246,0.4),0 0 40px rgba(139,92,246,0.2);
  animation:scaleIn 0.3s cubic-bezier(0.68,-0.55,0.265,1.55);
  overflow:hidden;
}

.announcement-header{
  padding:28px 32px 20px;
  text-align:center;
  border-bottom:1px solid rgba(139,92,246,0.2);
  background:rgba(139,92,246,0.05);
  position:relative;
}

.announcement-icon{
  width:80px;
  height:80px;
  margin:0 auto 16px;
  background:linear-gradient(135deg,rgba(139,92,246,0.2),rgba(124,58,237,0.2));
  border:3px solid rgba(139,92,246,0.4);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.announcement-icon i{
  font-size:36px;
  color:#8b5cf6;
  filter:drop-shadow(0 0 10px rgba(139,92,246,0.6));
}

.announcement-header h2{
  font-size:26px;
  font-weight:700;
  color:#e5e7eb;
  margin:0;
  text-shadow:0 0 20px rgba(139,92,246,0.5);
}

.announcement-close{
  position:absolute;
  top:20px;
  right:20px;
  width:36px;
  height:36px;
  background:rgba(148,163,184,0.1);
  border:none;
  border-radius:8px;
  color:#94a3b8;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all 0.2s ease;
}

.announcement-close:hover{
  background:rgba(148,163,184,0.2);
  color:#e5e7eb;
  transform:rotate(90deg);
}

.announcement-body{
  padding:32px;
}

.announcement-message{
  font-size:16px;
  line-height:1.8;
  color:#e5e7eb;
  white-space:pre-wrap;
  word-wrap:break-word;
  margin-bottom:20px;
}

.announcement-date{
  font-size:13px;
  color:#94a3b8;
  text-align:right;
  font-style:italic;
}

.announcement-footer{
  padding:20px 32px 28px;
  border-top:1px solid rgba(139,92,246,0.2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.announcement-dont-show{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#94a3b8;
  cursor:pointer;
  user-select:none;
}

.announcement-dont-show input[type="checkbox"]{
  width:18px;
  height:18px;
  cursor:pointer;
  accent-color:#8b5cf6;
}

.announcement-dont-show:hover{
  color:#e5e7eb;
}

.announcement-ok-btn{
  padding:12px 28px;
  background:linear-gradient(135deg,#8b5cf6,#7c3aed);
  border:none;
  border-radius:12px;
  color:#fff;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  transition:all 0.3s ease;
  display:flex;
  align-items:center;
  gap:8px;
  box-shadow:0 4px 15px rgba(139,92,246,0.4);
}

.announcement-ok-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 25px rgba(139,92,246,0.6);
}

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

/* Announcement Types */
.announcement-modal-content[data-type="info"]{
  border-color:rgba(59,130,246,0.3);
  box-shadow:0 20px 60px rgba(59,130,246,0.4),0 0 40px rgba(59,130,246,0.2);
}

.announcement-modal-content[data-type="info"] .announcement-icon{
  background:linear-gradient(135deg,rgba(59,130,246,0.2),rgba(37,99,235,0.2));
  border-color:rgba(59,130,246,0.4);
}

.announcement-modal-content[data-type="info"] .announcement-icon i{
  color:#3b82f6;
  filter:drop-shadow(0 0 10px rgba(59,130,246,0.6));
}

.announcement-modal-content[data-type="warning"]{
  border-color:rgba(251,191,36,0.3);
  box-shadow:0 20px 60px rgba(251,191,36,0.4),0 0 40px rgba(251,191,36,0.2);
}

.announcement-modal-content[data-type="warning"] .announcement-icon{
  background:linear-gradient(135deg,rgba(251,191,36,0.2),rgba(245,158,11,0.2));
  border-color:rgba(251,191,36,0.4);
}

.announcement-modal-content[data-type="warning"] .announcement-icon i{
  color:#fbbf24;
  filter:drop-shadow(0 0 10px rgba(251,191,36,0.6));
}

.announcement-modal-content[data-type="success"]{
  border-color:rgba(16,185,129,0.3);
  box-shadow:0 20px 60px rgba(16,185,129,0.4),0 0 40px rgba(16,185,129,0.2);
}

.announcement-modal-content[data-type="success"] .announcement-icon{
  background:linear-gradient(135deg,rgba(16,185,129,0.2),rgba(5,150,105,0.2));
  border-color:rgba(16,185,129,0.4);
}

.announcement-modal-content[data-type="success"] .announcement-icon i{
  color:#10b981;
  filter:drop-shadow(0 0 10px rgba(16,185,129,0.6));
}

.announcement-modal-content[data-type="error"]{
  border-color:rgba(239,68,68,0.3);
  box-shadow:0 20px 60px rgba(239,68,68,0.4),0 0 40px rgba(239,68,68,0.2);
}

.announcement-modal-content[data-type="error"] .announcement-icon{
  background:linear-gradient(135deg,rgba(239,68,68,0.2),rgba(220,38,38,0.2));
  border-color:rgba(239,68,68,0.4);
}

.announcement-modal-content[data-type="error"] .announcement-icon i{
  color:#ef4444;
  filter:drop-shadow(0 0 10px rgba(239,68,68,0.6));
}

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

@keyframes scaleIn{
  from{
    transform:scale(0.8);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

@keyframes pulse{
  0%,100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(139,92,246,0.7);
  }
  50%{
    transform:scale(1.05);
    box-shadow:0 0 0 10px rgba(139,92,246,0);
  }
}

/* Responsive */
@media (max-width:768px){
  .announcement-modal-content{
    max-width:95%;
    border-radius:20px;
  }
  
  .announcement-header{
    padding:24px 20px 16px;
  }
  
  .announcement-icon{
    width:64px;
    height:64px;
  }
  
  .announcement-icon i{
    font-size:28px;
  }
  
  .announcement-header h2{
    font-size:22px;
  }
  
  .announcement-body{
    padding:24px 20px;
  }
  
  .announcement-message{
    font-size:15px;
  }
  
  .announcement-footer{
    padding:16px 20px 24px;
    flex-direction:column;
    align-items:stretch;
  }
  
  .announcement-ok-btn{
    width:100%;
    justify-content:center;
  }
}

/* =========================
   SCROLL BUTTONS
========================= */
.scroll-btn{
  position:fixed;
  left:30px;
  width:50px;
  height:50px;
  background:rgba(var(--red-rgb, 0,105,148),0.9);
  border:2px solid var(--red-glow);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transition:all .3s ease;
  z-index:100;
  box-shadow:
    0 0 20px rgba(var(--red-glow-rgb, 0,191,255),0.4),
    0 0 40px rgba(var(--red-glow-rgb, 0,191,255),0.2),
    inset 0 0 20px rgba(var(--red-glow-rgb, 0,191,255),0.1);
  backdrop-filter:blur(10px);
}

.scroll-btn:hover{
  background:var(--red-glow);
  transform:scale(1.1);
  box-shadow:
    0 0 30px rgba(var(--red-glow-rgb, 0,191,255),0.6),
    0 0 60px rgba(var(--red-glow-rgb, 0,191,255),0.4),
    inset 0 0 30px rgba(var(--red-glow-rgb, 0,191,255),0.2);
}

.scroll-btn.show{
  opacity:1;
  visibility:visible;
}

.scroll-btn svg{
  color:#fff;
  filter:drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.scroll-top{
  bottom:100px;
  animation:scrollBounceUp 2s ease-in-out infinite;
}

.scroll-bottom{
  bottom:30px;
  animation:scrollBounceDown 2s ease-in-out infinite;
}

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

@keyframes scrollBounceDown{
  0%, 100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(5px);
  }
}

.scroll-btn:hover{
  animation:none;
}

/* Mobile Scroll Buttons */
@media(max-width:768px){
  .scroll-btn{
    width:45px;
    height:45px;
    left:20px;
  }
  
  .scroll-top{
    bottom:90px;
  }
  
  .scroll-bottom{
    bottom:25px;
  }
}

@media(max-width:480px){
  .scroll-btn{
    width:40px;
    height:40px;
    left:15px;
  }
  
  .scroll-btn svg{
    width:20px;
    height:20px;
  }
  
  .scroll-top{
    bottom:80px;
  }
  
  .scroll-bottom{
    bottom:20px;
  }
}

/* =========================
   BAN UYARI EKRANI - MODERN MINIMAL MODAL
========================= */
body.banned-overlay-active{
  overflow:hidden !important;
  pointer-events:none;
  user-select:none;
}

body.banned-overlay-active .ban-warning-overlay{
  pointer-events:auto;
}

.ban-warning-overlay{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:100vh !important;
  background:rgba(0,0,0,0.92) !important;
  backdrop-filter:blur(12px) saturate(180%);
  -webkit-backdrop-filter:blur(12px) saturate(180%);
  z-index:999999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:24px;
  animation:fadeIn 0.4s cubic-bezier(0.4,0,0.2,1);
  margin:0 !important;
  box-sizing:border-box;
}

.ban-warning-card{
  background:linear-gradient(145deg,rgba(20,20,20,0.98),rgba(10,10,10,0.98));
  border:1px solid rgba(239,68,68,0.25);
  border-radius:28px;
  padding:56px 48px;
  max-width:650px;
  width:100%;
  text-align:center;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.9),
    0 0 0 1px rgba(239,68,68,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
  animation:scaleIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
  position:relative;
  backdrop-filter:blur(20px);
}

.ban-icon-large{
  width:120px;
  height:120px;
  margin:0 auto 32px;
  color:#ef4444;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,rgba(239,68,68,0.15),rgba(220,38,38,0.1));
  border-radius:50%;
  border:3px solid rgba(239,68,68,0.35);
  box-shadow:
    0 0 40px rgba(239,68,68,0.5),
    inset 0 0 20px rgba(239,68,68,0.1);
  position:relative;
}

.ban-icon-large::before{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:50%;
  background:linear-gradient(135deg,rgba(239,68,68,0.3),rgba(220,38,38,0.2));
  z-index:-1;
  filter:blur(8px);
  opacity:0.6;
}

.ban-icon-large svg{
  width:64px;
  height:64px;
  filter:drop-shadow(0 0 8px rgba(239,68,68,0.6));
}

.ban-title{
  font-size:36px;
  font-weight:700;
  margin:0 0 16px 0;
  color:#ef4444;
  text-shadow:0 0 24px rgba(239,68,68,0.4);
  letter-spacing:-0.5px;
  line-height:1.2;
}

.ban-message-text{
  font-size:17px;
  color:rgba(255,255,255,0.75);
  line-height:1.65;
  margin:0 0 40px 0;
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
  font-weight:400;
}

.ban-details{
  background:rgba(239,68,68,0.08);
  border:1px solid rgba(239,68,68,0.2);
  border-radius:20px;
  padding:28px 32px;
  margin:0 0 40px 0;
  text-align:left;
  backdrop-filter:blur(10px);
}

.ban-detail-item{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:24px;
}

.ban-detail-item:last-child{
  margin-bottom:0;
}

.ban-detail-item strong{
  font-size:13px;
  color:#ef4444;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  opacity:0.9;
}

.ban-detail-item span{
  font-size:16px;
  color:rgba(255,255,255,0.9);
  line-height:1.5;
  word-break:break-word;
  font-weight:500;
}

.ban-logout-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:18px 40px;
  background:linear-gradient(135deg,#ef4444,#dc2626);
  color:#fff;
  border:none;
  border-radius:18px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow:
    0 6px 24px rgba(239,68,68,0.4),
    0 0 0 0 rgba(239,68,68,0.4);
  text-transform:none;
  letter-spacing:0.3px;
  position:relative;
  overflow:hidden;
  min-width:200px;
}

.ban-logout-btn::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  transform:translate(-50%,-50%);
  transition:width 0.6s,height 0.6s;
}

.ban-logout-btn:hover::before{
  width:300px;
  height:300px;
}

.ban-logout-btn:hover{
  transform:translateY(-3px);
  box-shadow:
    0 12px 32px rgba(239,68,68,0.5),
    0 0 0 4px rgba(239,68,68,0.1);
  background:linear-gradient(135deg,#dc2626,#b91c1c);
}

.ban-logout-btn:active{
  transform:translateY(-1px);
  box-shadow:
    0 4px 16px rgba(239,68,68,0.4),
    0 0 0 2px rgba(239,68,68,0.2);
}

.ban-logout-btn i{
  font-size:18px;
  position:relative;
  z-index:1;
}

.ban-logout-btn span{
  position:relative;
  z-index:1;
}

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

@keyframes scaleIn{
  from{
    transform:scale(0.92) translateY(20px);
    opacity:0;
  }
  to{
    transform:scale(1) translateY(0);
    opacity:1;
  }
}

@media(max-width:768px){
  .ban-warning-overlay{
    padding:20px;
  }
  
  .ban-warning-card{
    padding:44px 36px;
    border-radius:24px;
    max-width:100%;
  }
  
  .ban-icon-large{
    width:100px;
    height:100px;
    margin-bottom:28px;
  }
  
  .ban-icon-large svg{
    width:56px;
    height:56px;
  }
  
  .ban-title{
    font-size:30px;
    margin-bottom:14px;
  }
  
  .ban-message-text{
    font-size:16px;
    margin-bottom:32px;
  }
  
  .ban-details{
    padding:24px;
    margin-bottom:32px;
    border-radius:18px;
  }
  
  .ban-detail-item{
    margin-bottom:20px;
  }
  
  .ban-logout-btn{
    padding:16px 32px;
    font-size:15px;
    min-width:180px;
  }
}

@media(max-width:480px){
  .ban-warning-overlay{
    padding:16px;
  }
  
  .ban-warning-card{
    padding:36px 28px;
    border-radius:20px;
  }
  
  .ban-icon-large{
    width:90px;
    height:90px;
    margin-bottom:24px;
  }
  
  .ban-icon-large svg{
    width:48px;
    height:48px;
  }
  
  .ban-title{
    font-size:26px;
    margin-bottom:12px;
  }
  
  .ban-message-text{
    font-size:15px;
    margin-bottom:28px;
    line-height:1.6;
  }
  
  .ban-details{
    padding:20px;
    margin-bottom:28px;
    border-radius:16px;
  }
  
  .ban-detail-item{
    margin-bottom:18px;
    gap:8px;
  }
  
  .ban-detail-item strong{
    font-size:12px;
  }
  
  .ban-detail-item span{
    font-size:15px;
  }
  
  .ban-logout-btn{
    padding:14px 28px;
    font-size:15px;
    width:100%;
    min-width:auto;
    border-radius:16px;
  }
}