/* ============================================================
   ButtonVault — Premium Button Gallery
   style.css
   ============================================================ */
@import "more buttons.css";

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  --bg: #0d0f14;
  --bg-card: #13161e;
  --bg-card2: #191d28;
  --border: rgba(255, 255, 255, 0.07);
  --border-h: rgba(255, 255, 255, 0.14);
  --text-1: #f0f2f8;
  --text-2: #8b90a8;
  --text-3: #555a72;
  --accent: #6c63ff;
  --accent-2: #ff6584;
  --accent-3: #43e97b;
  --accent-glow: rgba(108, 99, 255, 0.35);
  --accent-g: rgba(108, 99, 255, 0.35);
  --header-h: 68px;
  --sidebar-w: 240px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --trans: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --lab-bg: #09090b;
  --lab-panel: #121215;
  --lab-sidebar: #18181b;
  --lab-accent: #3b82f6;
  --lab-accent-glow: rgba(59, 130, 246, 0.5);
  --lab-border: rgba(255, 255, 255, 0.08);
  --lab-text-main: #fafafa;
  --lab-text-muted: #a1a1aa;
  --radius-xl: 24px;
  --radius-lg: 12px;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* =========================
   PRELOADER
========================= */
#preloader {
  background-color: #242424;
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.spinner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 6px solid rgba(0, 0, 0, 0.08);
  border-top-color: #0096ff;
  animation: spin 1s ease-in-out infinite;
}

.pre-text {
  color: black;
}

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

.pre-text {
  margin-top: 12px;
  font-weight: 600;
}

.outerOverlay {
  animation: bodyAppear 1.5s ease;
}

@keyframes bodyAppear {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========goToTopButton */

/* Go to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s, transform 0.3s, opacity 0.3s;
}

#scrollTopBtn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 33px;
  background: linear-gradient(135deg, #6c63ff, #403dff, #9ca7ff);
  opacity: 0.5;
  filter: blur(12px);
  z-index: -1;
  animation: goToTopGlow 3s ease-in-out infinite;

}

@keyframes goToTopGlow {

  0%,
  100% {
    opacity: 0.4;
    filter: blur(7px);
  }

  50% {
    opacity: 0.9;
    filter: blur(15px);
  }
}

#scrollTopBtn:hover {
  background: #4d44ff;
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  #scrollTopBtn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ─── Header ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(27, 30, 39, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-h);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.4);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  cursor: pointer;
  font-size: 27px;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: logoSpin 8s linear infinite;
}

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

.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.logo-text em {
  font-style: normal;
  color: var(--accent);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  right: 1px;
  max-width: fit-content;
  background: rgba(13, 15, 20, 0.97);
  backdrop-filter: blur(20px);
  padding: 16px;
  border-bottom: 1px solid var(--border);
  gap: 10px;
  z-index: 999;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-1);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-2);
  background: rgba(108, 99, 255, 0.2);
}

.nav-link.active::after,
.nav-link:hover::after {
  left: 14px;
  right: 14px;
}

.nav-link-add {
  color: var(--text-1);
  background: transparent;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}

/* Header Right */
.header-right {
  position: absolute;
  right: 10px;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Make search icon always visible */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.search-wrap::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 20px;
  width: 30%;
  height: 20px;
  background: conic-gradient(var(--accent), var(--accent-g));
  filter: blur(8px);
  z-index: -1;
}

@media (max-width: 768px) {
  .search-wrap::after {
    opacity: 0;
  }
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-2);
  pointer-events: none;
  z-index: 2;
  display: block !important;
  opacity: 1 !important;
}

.search-icon2 {
  width: 18px;
  height: 18px;
  color: var(--text-2);
}

/* Search input styling */
.search-input {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px 10px 40px;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 210px;
  outline: none;
  transition: all 0.3s ease;
}


.search-input::placeholder {
  color: var(--text-2);
  opacity: 0.8;
}

.search-input:focus {
  background: rgba(108, 99, 255, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
  width: 230px;
}

/* Search button for mobile */
.search2 {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-2);
  inset: 0;
}

.search2:hover {
  background: rgba(108, 99, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* Search bar hide button */
.search-bar-hide {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-1);
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  visibility: hidden;
}

.search-bar-hide:hover {
  background: rgba(255, 101, 132, 0.2);
  color: #ff6584;
  transform: rotate(90deg);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .search-input.active {
    width: calc(100% - 30px);
    right: 15px;
  }
}

/* Hamburger */

.header .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
}

.header .hamburger span {
  display: block;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--transition);
}

.header .hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header .hamburger.open span:nth-child(2) {
  opacity: 0;
}

.header .hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}



/* --- Dropdown Container --- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.chevron {
  font-size: 8px;
  margin-left: 4px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

/* --- The Dropdown Menu Box --- */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 480px;
  background: rgba(19, 22, 30, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid var(--border-h);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1100;
}

/* Triangle Pointer */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-h);
  border-top: 1px solid var(--border-h);
}

/* Hover States */
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-dropdown:hover .chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

/* --- Dropdown Content Grid --- */
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: rgba(108, 99, 255, 0.08);
  border-color: var(--border-h);
}

.drop-icon {
  font-size: 1.2rem;
  color: var(--accent);
  background: rgba(108, 99, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.drop-text {
  display: flex;
  flex-direction: column;
}

.drop-title {
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.9rem;
}

.drop-desc {
  color: var(--text-3);
  font-size: 0.75rem;
  line-height: 1.3;
}

/* --- Dropdown Footer --- */
.dropdown-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.dropdown-footer a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-footer a:hover {
  letter-spacing: 0.5px;
  filter: brightness(1.2);
}

/* five */
/* --- Mode Links Styling --- */
.mode-links-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mode-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.mode-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mode-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
}

.mode-desc {
  font-size: 0.75rem;
  color: var(--text-3);
}

.mode-icon {
  font-size: 1.1rem;
  color: var(--text-3);
  transition: var(--transition);
}

.active-tick {
  font-size: 0.85rem;
  color: var(--accent-3);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}

/* --- Hover & Active Logic --- */
.mode-link:hover {
  background: var(--bg-card2);
}

.mode-link.active {
  background: rgba(108, 99, 255, 0.08);
  border-color: rgba(108, 99, 255, 0.15);
}

.mode-link.active .mode-title {
  color: var(--accent);
}

.mode-link.active .mode-icon {
  color: var(--accent);
}

.mode-link.active .active-tick {
  opacity: 1;
  transform: scale(1);
}



/* five */

/* ─── Layout ────────────────────────────────────────────────── */
.layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--header-h);
  position: relative;
  z-index: 1;
}

/* ─── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  z-index: 900;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar::-webkit-scrollbar {
  width: 2px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.sidebar-inner {
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.sidebar-title {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-1);
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
  position: relative;
}

.cat-icon {
  font-size: 0.9rem;
  color: var(--text-3);
  transition: var(--transition);
  flex-shrink: 0;
}

.cat-count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 7px;
  border-radius: 100px;
  transition: var(--transition);
}

.category-item:hover {
  background: rgba(108, 99, 255, 0.08);
  color: var(--text-1);
}

.category-item:hover .cat-icon {
  color: var(--accent);
}

.category-item.active {
  background: rgba(108, 99, 255, 0.14);
  color: var(--text-1);
}

.category-item.active .cat-icon {
  color: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent));
}

.category-item.active .cat-count {
  background: rgba(108, 99, 255, 0.2);
  color: var(--accent);
}

.category-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.sidebar-footer {
  padding: 16px 8px 0;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-3);
  text-align: center;
}

/* Sidebar overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 850;
  backdrop-filter: blur(4px);
}

/* ─── Main Content ──────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 32px 36px 80px;
  min-height: calc(100vh - var(--header-h));
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.12) 0%, rgba(67, 233, 123, 0.06) 50%, rgba(255, 101, 132, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 00%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(108, 99, 255, 0.2),
      transparent);
  filter: blur(10px);
  animation: hero-bg 30s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes hero-bg {
  0% {
    left: -100%;
  }

  10% {
    left: 60%;
  }

  20% {
    left: 30%;
  }

  30% {
    left: 67%;
  }

  40% {
    left: -10%;
  }

  50% {
    left: 87%;
  }

  60% {
    left: -45%;
  }

  70% {
    left: 76%;
  }

  80% {
    left: 34%;
  }

  90% {
    left: 100%;
  }

  100% {
    left: -100%;
  }
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-1) 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.hero-text p {
  color: var(--text-2);
  font-size: 0.95rem;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.stat {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat span {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.btn-count-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ─── Button Grid ────────────────────────────────────────────── */
.btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ─── Button Card ────────────────────────────────────────────── */
.btnbox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  animation: cardIn 0.4s ease both;
  position: relative;
  overflow: hidden;
  animation: btnboxShow .4s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}

@keyframes btnboxShow {
  from {
    opacity: .6;
    scale: .6;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

/* .btnboxOutOfAnimation {
  animation: none !important;
} */

.btnbox::before {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg,
      transparent 40%,
      rgba(255, 255, 255, 0.08) 45%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.08) 55%,
      transparent 60%);
  animation: shineStrike 5s;
  animation-iteration-count: 1;
  pointer-events: none;
  z-index: 1;
}

@keyframes shineStrike {
  0% {
    top: -150%;
    left: -150%;
  }

  100% {
    top: 150%;
    left: 150%;
  }
}

.btnbox:hover::before {
  animation-play-state: paused;
  opacity: 0;
}

.btnbox::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.04), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.btnbox:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.btnbox:hover::after {
  opacity: 1;
}

.btnbox h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btnbox-options-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--accent-3);
  background: rgba(67, 233, 123, 0.1);
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--trans);
}

.btnbox:hover .btnbox-options-btn {
  opacity: 1;
  transform: translateY(0);
}

.btnbox-options-btn:hover {
  background: rgba(67, 233, 123, 0.2);
  border-color: #43e97b;
  transform: scale(1.02);
}

.btnbox-options-btn span {
  width: 5px;
  height: 5px;
  background-color: white;
  border-radius: 50%;
  transition: var(--trans);
}

.btnbox-options-btn.active {
  flex-direction: column;
  transform: translateY(0);
  opacity: 1;
}

.btnbox-options-btn.active span {
  width: 20px;
  height: 2px;
  border-radius: 3px;
  gap: 0;
  transition: var(--trans);
}



.btnbox-options-btn.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.btnbox-options-btn.active span:nth-child(2) {
  opacity: 0;
}

.btnbox-options-btn.active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.btnbox-options-tools.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.btnbox-options-tools {
  position: absolute;
  top: 30px;
  right: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-card2);
  border: 1px solid rgb(255, 255, 255, .5);
  border-radius: 10px;
  z-index: 99;
  padding: 20px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  transform: translateY(20%);
}

.btnbox-options-btn:hover~.btnbox-options-tools {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
}

.btnbox-options-tools:hover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0%);
}

.btn-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

/* Dark preview for neon */
.dark-preview {
  background: #080a10;
  border-color: rgba(255, 255, 255, 0.04);
}

/* Glass preview */
.glass-preview {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(255, 101, 132, 0.2));
}

/* Dark card for neon */
.dark-card {
  background: #0c0d14;
}

.glass-card {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08), rgba(67, 233, 123, 0.04));
}

.btn-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  width: 100%;
}

.copy-btn:hover {
  background: rgba(108, 99, 255, 0.2);
  border-color: var(--accent);
  transform: scale(1.02);
}

/* Customizer Button - Positioned at bottom */
.cuscopy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(67, 233, 123, 0.1);
  border: 1px solid rgba(67, 233, 123, 0.2);
  border-radius: var(--radius-sm);
  color: #43e97b;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  width: 100%;
  margin-top: auto;
}

.cuscopy-btn:hover {
  background: rgba(67, 233, 123, 0.2);
  border-color: #43e97b;
  transform: scale(1.02);
}

/* Card entrance animation */
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No Results */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-3);
  font-size: 1rem;
}

/* ─── Hidden cards ──────────────────────────────────────────── */
.btnbox.hidden {
  display: none;
}

/* ─── Modal ─────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card2);
  border: 1px solid var(--border-h);
  border-radius: var(--radius);
  width: 100%;
  max-width: 680px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-right: auto;
}

.modal-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.tab-btn {
  padding: 5px 14px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--accent);
  color: #fff;
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-1);
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-2);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 60, 60, 0.15);
  color: #ff6b6b;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.code-panel {
  display: none;
  padding: 0;
}

.code-panel.active {
  display: block;
}

.code-panel pre {
  margin: 0;
  padding: 24px;
}

.code-panel code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #c9d1d9;
  white-space: pre;
  display: block;
  line-height: 1.7;
}

.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.modal-copy-btn {
  padding: 10px 24px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.modal-copy-btn:hover {
  background: #7c74ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.copy-confirm {
  font-size: 0.85rem;
  color: var(--accent-3);
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}

.copy-confirm.show {
  opacity: 1;
  transform: translateY(0);
}

.export-main-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.export-main-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}

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

.export-portal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 100%;
  max-width: 320px;
  background: rgba(18, 18, 20, 0.8);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  z-index: 100000001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  pointer-events: all;
}

/* Visibility State */
.export-portal-card.active {
  display: flex;
  transform: translate(-50%, -50%) scale(1);
  animation: centerFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes centerFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.export-portal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.export-portal-header span {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

#closeExport {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: 0.2s;
}

#closeExport:hover {
  background: rgba(255, 50, 50, 0.2);
  color: #ff5f5f;
}

.export-portal-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.export-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.export-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.icon {
  width: 44px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Format-specific Icon Colors */
.icon.html {
  background: rgba(255, 75, 43, 0.15);
  color: #ff4b2b;
}

.icon.json {
  background: rgba(249, 203, 40, 0.15);
  color: #f9cb28;
}

.icon.txt {
  background: rgba(0, 210, 255, 0.15);
  color: #00d2ff;
}

.text strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
}

.text small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================================================
   INDIVIDUAL BUTTON STYLES (btn-1 to btn-50)
   ================================================================ */

/* ── Shared base reset for all buttons ── */
.btn-preview button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 12px 26px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ─── HOVER BUTTONS (1–5) ─────────────────────────────── */

/* btn-1: Slide Fill */
.btn-1 {
  background: transparent;
  color: #6c63ff;
  border: 2px solid #6c63ff !important;
  background-image: linear-gradient(to right, #6c63ff 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right;
  transition: background-position 0.4s ease, color 0.4s ease !important;
}

.btn-1:hover {
  background-position: left;
  color: #fff;
}


/* btn-2: Border Sweep */
.btn-2 {
  background: transparent;
  color: var(--text-1);
  border: 2px solid transparent !important;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.btn-2::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, #6c63ff, #ff6584, #43e97b, #6c63ff);
  border-radius: 10px;
  z-index: -1;
  background-size: 300% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-2:hover::before {
  opacity: 1;
  animation: sweepGrad 2.5s ease-in-out infinite;
}

@keyframes sweepGrad {
  to {
    background-position: 300% 0;
  }
}

.btn-2:hover {
  color: #fff;
}


/* btn-3: Reveal Text — overflow handled by .btn-3 span layers */
.btn-3 {
  background: #1a1d2e;
  color: transparent;
  border: 1px solid rgba(108, 99, 255, 0.3) !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 130px;
  height: 44px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
}

.btn-3 span {
  display: block;
  color: var(--text-1);
  padding: 12px 26px;
  width: 100%;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease !important;
  font-size: 0.88rem;
  position: absolute;
}

.btn-3 span:nth-child(1) {
  transform: translateY(0);
}

.btn-3 span:nth-child(2) {
  transform: translateY(50px);
  color: #6c63ff;
}

.btn-3:hover span:nth-child(1) {
  transform: translateY(-50px);
  opacity: 0;
}

.btn-3:hover span:nth-child(2) {
  transform: translateY(0);
}

/* btn-4: Background Wipe */
.btn-4 {
  background: #6c63ff;
  color: #fff;
  z-index: 1;
}

.btn-4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #ff6584;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn-4:hover::before {
  transform: scaleX(1);
}

.btn-4:hover {
  color: #fff;
}

/* btn-5: Color Shift */
.btn-5 {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  transition: filter 0.4s ease, transform 0.3s ease !important;
}

.btn-5:hover {
  filter: hue-rotate(45deg) brightness(1.2);
  transform: scale(1.05);
}

/* ─── GRADIENT BUTTONS (6–10) ────────────────────────── */

/* btn-6: Aurora */
.btn-6 {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #0a1a12;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(67, 233, 123, 0.35);
  background-size: 200% 200%;
  animation: auroraShift 4s ease infinite;
}

@keyframes auroraShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-6:hover {
  box-shadow: 0 6px 30px rgba(67, 233, 123, 0.55);
  transform: translateY(-2px);
}

/* btn-7: Sunset */
.btn-7 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #fda085 100%);
  color: #fff;
  background-size: 200% 200%;
  animation: sunsetShift 3s ease infinite alternate;
}

@keyframes sunsetShift {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

.btn-7:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

/* btn-8: Ocean Drift */
.btn-8 {
  background: linear-gradient(135deg, #667eea 0%, #43e8ff 100%);
  color: #fff;
  background-size: 200% 200%;
  animation: oceanDrift 5s ease infinite;
}

@keyframes oceanDrift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-8:hover {
  transform: scale(1.06);
}

/* btn-9: Cosmic */
.btn-9 {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background-size: 300% 300%;
  animation: cosmicAnim 6s ease infinite;
}

@keyframes cosmicAnim {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-9:hover {
  border-color: rgba(108, 99, 255, 0.5) !important;
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.3);
}

/* btn-10: Mint Fresh */
.btn-10 {
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  color: #2d3748;
  font-weight: 700;
  transition: all 0.3s ease !important;
}

.btn-10:hover {
  background: linear-gradient(135deg, #fed6e3, #a8edea);
  transform: rotate(-2deg) scale(1.05);
}

/* ─── OUTLINE BUTTONS (11–15) ────────────────────────── */

/* btn-11: Classic Outline */
.btn-11 {
  background: transparent;
  color: #6c63ff;
  border: 2px solid #6c63ff !important;
  border-radius: 8px;
}

.btn-11:hover {
  background: #6c63ff;
  color: #fff;
}

/* btn-12: Dash Border */
.btn-12 {
  background: transparent;
  color: var(--text-1);
  border: 2px dashed rgba(108, 99, 255, 0.5) !important;
}

.btn-12:hover {
  border-color: #6c63ff !important;
  border-style: solid !important;
  color: #6c63ff;
}

/* btn-13: Double Ring */
.btn-13 {
  background: transparent;
  color: var(--text-1);
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.04), 0 0 0 0 rgba(108, 99, 255, 0);
  transition: box-shadow 0.3s ease !important;
}

.btn-13:hover {
  border-color: #6c63ff !important;
  box-shadow: inset 0 0 0 4px rgba(108, 99, 255, 0.15), 0 0 0 4px rgba(108, 99, 255, 0.15);
}

/* btn-14: Corner Accent */
.btn-14 {
  background: transparent;
  color: var(--text-1);
  border: 2px solid transparent !important;
  position: relative;
}

.btn-14::before,
.btn-14::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.btn-14::before {
  top: 0;
  left: 0;
  border-top: 2px solid #6c63ff;
  border-left: 2px solid #6c63ff;
}

.btn-14::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #ff6584;
  border-right: 2px solid #ff6584;
}

.btn-14:hover::before {
  width: 100%;
  height: 100%;
}

.btn-14:hover::after {
  width: 100%;
  height: 100%;
}

.btn-14:hover {
  color: #fff;
}

/* btn-15: Animated Border */
.btn-15 {
  background: transparent;
  color: var(--text-1);
  border: none !important;
  padding: 12px 26px;
  transition: none !important;
}

.btn-15::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  background: linear-gradient(90deg, #6c63ff, #ff6584, #43e97b, #6c63ff);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: borderAnim 2.5s linear infinite;
  /* transition: all .3s; */
  /* transition: none !important; */
}

.btn-15:hover {
  box-shadow: inset 0 0 2px 2px transparent;
}

.btn-15:hover::before {
  -webkit-mask: none;
  z-index: -1;
}

.btn-15:active::before {
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  z-index: -2;
}

.btn-15:active {
  z-index: 1;
  filter: blur(1px);
}

@keyframes borderAnim {
  to {
    background-position: 300% 0;
  }
}



/* ─── ANIMATED BUTTONS (16–20) ───────────────────────── */

/* btn-16: Pulse Ring */
.btn-16 {
  background: #6c63ff;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.5);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(108, 99, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
  }
}

.btn-16:hover {
  background: #7c74ff;
}

/* btn-17: Ripple Wave (JS adds .ripple spans) */
.btn-17 {
  background: #ff6584;
  color: #fff;
  overflow: hidden !important;
}

.btn-17 .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-17:hover {
  background: #ff4d73;
}

/* btn-18: Shimmer */
.btn-18 {
  background: linear-gradient(135deg, #1a1d2e, #2a2d40);
  color: var(--text-1);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
}

.btn-18::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  to {
    left: 200%;
  }
}

/* btn-19: Bounce Load */
.btn-19 {
  background: #43e97b;
  color: #0a1a10;
  font-weight: 700;
  pointer-events: none;
  gap: 6px;
}

.btn-19::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #0a1a10;
  border-radius: 50%;
  margin-left: 8px;
  animation: bounceDot 0.8s ease infinite alternate;
}

@keyframes bounceDot {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-6px);
  }
}

/* btn-20: Rotate Icon */
.btn-20 {
  background: #302b63;
  color: #fff;
  transition: background 0.3s ease !important;
}

.btn-20:hover {
  background: #6c63ff;
}

.btn-20:hover::first-letter,
.btn-20:hover {
  animation: spinBtn 0.5s ease;
}



@keyframes spinBtn {
  0% {
    letter-spacing: 0.03em;
  }

  50% {
    letter-spacing: 0.12em;
  }

  100% {
    letter-spacing: 0.03em;
  }
}

/* ─── SHADOW BUTTONS (21–25) ─────────────────────────── */

/* btn-21: Deep Shadow */
.btn-21 {
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.btn-21:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.5), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-21:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* btn-22: Glow Lift */
.btn-22 {
  background: #13161e;
  color: var(--text-1);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.35s ease !important;
}

.btn-22:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(108, 99, 255, 0.35);
  border-color: rgba(108, 99, 255, 0.4) !important;
}

/* btn-23: Inner Shadow */
.btn-23 {
  background: #1e2030;
  color: var(--text-1);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 -1px 1px rgba(255, 255, 255, 0.04);
}

.btn-23:hover {
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 15px rgba(108, 99, 255, 0.2);
  color: #6c63ff;
}

.btn-23:active {
  transition: color 0s;
  color: black;
}

/* btn-24: Colored Shadow */
.btn-24 {
  background: #ff6584;
  color: #fff;
  box-shadow: 6px 6px 0 rgba(255, 101, 132, 0.4);
}

.btn-24:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 rgba(255, 101, 132, 0.4);
}

.btn-24:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 rgba(255, 101, 132, 0);
}

/* btn-25: Neumorphic */
.btn-25 {
  background: #1e2030;
  color: var(--text-2);
  box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.5), -3px -3px 10px rgba(255, 255, 255, 0.03);
  border: none !important;
}

.btn-25:hover {
  color: #6c63ff;
}

.btn-25:active {
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.5), inset -2px -2px 8px rgba(255, 255, 255, 0.02);
}

/* ─── ICON BUTTONS (26–30) ───────────────────────────── */

/* btn-26: Arrow Right */
.btn-26 {
  background: #6c63ff;
  color: #fff;
  transition: padding-right 0.3s ease, letter-spacing 0.3s ease !important;
}

.btn-26:hover {
  padding-right: 34px;
  letter-spacing: 0.06em;
}

/* btn-27: Download */
.btn-27 {
  background: #13161e;
  color: #43e97b;
  border: 1px solid rgba(67, 233, 123, 0.25) !important;
}

.btn-27:hover {
  background: rgba(67, 233, 123, 0.1);
  border-color: #43e97b !important;
  box-shadow: 0 0 20px rgba(67, 233, 123, 0.2);
}

/* btn-28: Heart Like */
.btn-28 {
  background: #13161e;
  color: var(--text-2);
  border: 1px solid var(--border) !important;
}

.btn-28:hover {
  background: rgba(255, 101, 132, 0.1);
  color: #ff6584;
  border-color: rgba(255, 101, 132, 0.3) !important;
}

/* btn-29: Star Favorite */
.btn-29 {
  background: #ffd700;
  color: #1a1200;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-29:hover {
  background: #ffec4d;
  transform: scale(1.08) rotate(-3deg);
}

/* btn-30: Share */
.btn-30 {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  transition: all 0.3s ease !important;
}

.btn-30:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

/* ─── NEON BUTTONS (31–35) ───────────────────────────── */

/* btn-31: Neon Cyan */
.btn-31 {
  background: transparent;
  color: #00f5ff;
  border: 2px solid #00f5ff !important;
  border-radius: 6px;
  text-shadow: 0 0 8px #00f5ff;
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.25), inset 0 0 12px rgba(0, 245, 255, 0.05);
  transition: all 0.3s ease !important;
}

.btn-31:hover {
  background: rgba(0, 245, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.5), inset 0 0 25px rgba(0, 245, 255, 0.08);
  text-shadow: 0 0 16px #00f5ff;
}

/* btn-32: Neon Pink */
.btn-32 {
  background: transparent;
  color: #ff2d78;
  border: 2px solid #ff2d78 !important;
  text-shadow: 0 0 8px #ff2d78;
  box-shadow: 0 0 12px rgba(255, 45, 120, 0.3), inset 0 0 12px rgba(255, 45, 120, 0.05);
  animation: neonPinkFlicker 3s infinite;
}

@keyframes neonPinkFlicker {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(255, 45, 120, 0.3), inset 0 0 12px rgba(255, 45, 120, 0.05);
  }

  92% {
    box-shadow: 0 0 4px rgba(255, 45, 120, 0.1), inset 0 0 4px rgba(255, 45, 120, 0.02);
  }

  94% {
    box-shadow: 0 0 20px rgba(255, 45, 120, 0.5), inset 0 0 20px rgba(255, 45, 120, 0.1);
  }
}

.btn-32:hover {
  background: rgba(255, 45, 120, 0.1);
}

/* btn-33: Neon Green */
.btn-33 {
  background: transparent;
  color: #39ff14;
  border: 2px solid #39ff14 !important;
  text-shadow: 0 0 8px #39ff14;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.25);
}

.btn-33:hover {
  background: rgba(57, 255, 20, 0.08);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

/* btn-34: Neon Purple */
.btn-34 {
  background: transparent;
  color: #bf5af2;
  border: 2px solid #bf5af2 !important;
  text-shadow: 0 0 8px #bf5af2;
  box-shadow: 0 0 14px rgba(191, 90, 242, 0.3);
  animation: neonPurpleGlow 2s ease-in-out infinite alternate;
}

@keyframes neonPurpleGlow {
  from {
    box-shadow: 0 0 10px rgba(191, 90, 242, 0.2);
  }

  to {
    box-shadow: 0 0 24px rgba(191, 90, 242, 0.55);
  }
}

.btn-34:hover {
  background: rgba(191, 90, 242, 0.1);
}

/* btn-35: Neon Orange */
.btn-35 {
  background: transparent;
  color: #ff9500;
  border: 2px solid #ff9500 !important;
  text-shadow: 0 0 8px #ff9500;
  box-shadow: 0 0 16px rgba(255, 149, 0, 0.3);
}

.btn-35:hover {
  background: rgba(255, 149, 0, 0.1);
  box-shadow: 0 0 30px rgba(255, 149, 0, 0.55);
  text-shadow: 0 0 20px #ff9500;
}

/* ─── GLASS BUTTONS (36–40) ──────────────────────────── */

/* btn-36: Frost Glass */
.btn-36 {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-36:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* btn-37: Tinted Glass */
.btn-37 {
  background: rgba(108, 99, 255, 0.2);
  color: #d4d0ff;
  border: 1px solid rgba(108, 99, 255, 0.35) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-37:hover {
  background: rgba(108, 99, 255, 0.35);
  color: #fff;
}

/* btn-38: Mirror Glass */
.btn-38 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-38:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  transform: scale(1.04);
}

/* btn-39: Crystal */
.btn-39 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(100, 200, 255, 0.08));
  color: #e0f4ff;
  border: 1px solid rgba(180, 230, 255, 0.3) !important;
  backdrop-filter: blur(20px);
  text-shadow: 0 0 10px rgba(150, 220, 255, 0.5);
}

.btn-39:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(100, 200, 255, 0.15));
  box-shadow: 0 0 20px rgba(100, 200, 255, 0.3);
}

/* btn-40: Smoke Glass */
.btn-40 {
  background: rgba(20, 20, 30, 0.5);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px) grayscale(0.3);
  -webkit-backdrop-filter: blur(8px);
}

.btn-40:hover {
  background: rgba(30, 30, 45, 0.7);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* ─── 3D BUTTONS (41–45) ─────────────────────────────── */

/* btn-41: Push Down */
.btn-41 {
  background: #6c63ff;
  color: #fff;
  border-bottom: 4px solid #4a42cc !important;
  transform: translateY(0);
  transition: transform 0.1s ease, border-bottom-width 0.1s ease !important;
}

.btn-41:hover {
  background: #7c74ff;
}

.btn-41:active {
  transform: translateY(3px);
  border-bottom-width: 1px !important;
}

/* btn-42: Raised Block */
.btn-42 {
  background: #ff6584;
  color: #fff;
  box-shadow: 0 6px 0 #c73a56, 0 8px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.1s ease, transform 0.1s ease !important;
}

.btn-42:hover {
  background: #ff7a9a;
}

.btn-42:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #c73a56, 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* btn-43: Extrude */
.btn-43 {
  background: #43e97b;
  color: #0a1a10;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 3px 6px 0 #22a84e, 6px 10px 0 rgba(34, 168, 78, 0.3);
  transition: all 0.15s ease !important;
}

.btn-43:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 8px 0 #22a84e, 8px 13px 0 rgba(34, 168, 78, 0.3);
}

.btn-43:active {
  transform: translate(2px, 4px);
  box-shadow: 1px 2px 0 #22a84e;
}

/* btn-44: Stamp */
.btn-44 {
  background: #1e2030;
  color: var(--text-1);
  border: 2px solid rgba(108, 99, 255, 0.4) !important;
  box-shadow: 0 6px 0 rgba(108, 99, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.12s ease !important;
}

.btn-44:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(108, 99, 255, 0.15);
}

.btn-44:hover {
  border-color: rgba(108, 99, 255, 0.7) !important;
}

/* btn-45: Layered */
.btn-45 {
  background: #302b63;
  color: #d4d0ff;
  box-shadow:
    4px 4px 0 #6c63ff,
    8px 8px 0 rgba(108, 99, 255, 0.3);
  transition: all 0.2s ease !important;
}

.btn-45:hover {
  transform: translate(-4px, -4px);
  box-shadow:
    8px 8px 0 #6c63ff,
    14px 14px 0 rgba(108, 99, 255, 0.3);
}

.btn-45:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

/* ─── MINIMAL BUTTONS (46–50) ────────────────────────── */

/* btn-46: Underline Slide */
.btn-46 {
  background: transparent;
  color: var(--text-1);
  border: none !important;
  padding: 10px 4px;
  border-radius: 0 !important;
  font-size: 0.9rem;
}

.btn-46::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #6c63ff;
  transition: width 0.35s ease;
}

.btn-46:hover::after {
  width: 100%;
}

.btn-46:hover {
  color: #6c63ff;
}

/* btn-47: Ghost Pill */
.btn-47 {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border) !important;
  border-radius: 100px !important;
  padding: 10px 28px;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.btn-47:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-1);
  border-color: var(--border-h) !important;
}

/* btn-48: Text Arrow */
.btn-48 {
  background: transparent;
  color: var(--accent);
  border: none !important;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0 !important;
  letter-spacing: 0.04em;
  transition: letter-spacing 0.3s ease, opacity 0.3s ease !important;
}

.btn-48:hover {
  letter-spacing: 0.12em;
  opacity: 0.8;
}

/* btn-49: Dot Leader */
.btn-49 {
  background: transparent;
  color: var(--text-3);
  border: none !important;
  padding: 10px 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 0 !important;
  transition: color 0.3s ease, letter-spacing 0.4s ease !important;
}

.btn-49:hover {
  color: var(--text-1);
  letter-spacing: 0.18em;
}

/* btn-50: Bare Mono */
.btn-50 {
  background: transparent;
  color: var(--text-2);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 10px 22px;
  text-transform: uppercase;
  transition: all 0.2s ease !important;
}

.btn-50:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  border-color: rgba(255, 255, 255, 0.25) !important;
  letter-spacing: 0.2em;
}

.btn-50:active {
  transition: all .1s;
  background: rgba(255, 255, 255, 0.06);
  color: #f0f2e1;
  border-color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
}

::-webkit-scrollbar {
  width: 3px;
  color: rgb(37, 37, 37);
}



/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .main-content {
    padding: 28px 24px 60px;
  }

  .search-input {
    width: 80px;
  }

  .search-input:focus {
    width: 100px;
  }

  .search-input::placeholder {
    font-size: 0;
  }

  .nav-grid {
    grid-template-columns: 1fr;
  }

  .navbox-wide {
    grid-column: span 1;
  }
}

@media (max-width: 1000px) {
  .header .hamburger {
    display: flex;
  }

  .threelines {
    display: flex;
  }

  .nav {
    display: none;
  }



  .search-input {
    width: auto;
  }

  .search-input:focus {
    width: auto;
  }

  .search-input::placeholder {
    font-size: 1rem;
  }

  .dropdown-menu {
    /* top: 0; */
    left: 20px;
    width: 200%;
  }

  .dropdown-menu1 {
    display: none;
  }

  .chevron1 {
    display: none;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .sidebar-overlay.open {
    display: block;
  }

  .sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-content {
    margin-left: 0;
    padding: 20px 16px 60px;
  }

  .hero-banner {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 1.4rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat span {
    font-size: 1.5rem;
  }

  .btn-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
  }

  .moreBtnGrid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
  }

}

@media (max-width: 600px) {

  .search-wrap {
    position: static;
  }

  .search-input {
    display: none !important;
    position: fixed;
    top: 80px;
    right: 20px;
    width: calc(100% - 40px);
    max-width: 230px;
    background: rgba(20, 22, 30, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(108, 99, 255, 0.3);
    z-index: 9999;
  }

  .search-input.active {
    display: flex !important;
    animation: slideDown 0.3s ease;
  }

  .search2 {
    display: flex !important;
  }

  .search-bar-hide {
    display: flex;
  }

  .search-bar-hide.visible {
    visibility: visible;
  }

  .search-icon {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .btn-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .moreBtnGrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal {
    margin: 12px;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .header .logo-text {
    font-size: medium;
  }

  .btn-grid {
    grid-template-columns: 1fr;
  }

  .moreBtnGrid {
    grid-template-columns: 1fr;
  }

  @media (max-width: 300px) {
    .header .logo-text {
      display: none;
    }
  }
}

/* addButtons */

:root {
  --bg: #0d0f14;
  --bg-card: #13161e;
  --bg-card2: #191d28;
  --border: rgba(255, 255, 255, 0.07);
  --border-h: rgba(255, 255, 255, 0.14);
  --text-1: #f0f2f8;
  --text-2: #8b90a8;
  --text-3: #555a72;
  --accent: #6c63ff;
  --accent-glow: rgba(108, 99, 255, 0.3);
  --radius: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background 0.3s ease;
}

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

/* 3. Special styling for the Code Editor specifically */
.addcode-input::-webkit-scrollbar-thumb {
  background: rgba(67, 233, 123, 0.2);
  background-clip: content-box;
}

.add-button {
  width: 100%;
  height: 100vh;
  inset: 0;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.addd-gallery {
  position: relative;
  left: 50%;
  padding: 10px;
  top: 5vh;
  width: 90%;
  height: 90vh;
  translate: -50% 0%;
  background: var(--bg-card2);
  width: 90%;
  text-align: center;
  box-shadow: 0 0 20px 5px black;
}

/* --- Header --- */
.addlab-header {
  height: 70px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(19, 22, 30, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgb(255, 255, 255, .4);
  border-radius: 20px;
  z-index: 10;
}

.addlogo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.addlogo em {
  color: var(--accent);
  font-style: normal;
}

.addheader-actions {
  display: flex;
  gap: 10px;
}


/* --- Buttons --- */
.addbtn-ui {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.addbtn-primary {
  background: var(--accent);
  color: white;
}

.addbtn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--accent-glow);
}

.addbtn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}

.addbtn-secondary:hover {
  color: var(--text-1);
  background-color: #1a1d26;
  border: 1px solid rgb(58, 58, 58);
}

.addClose {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-2);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.addClose:hover {
  background: rgba(255, 60, 60, 0.15);
  color: #ff6b6b;
}

/* --- Workspace (Responsive Grid) --- */
.addworkspace {
  max-width: 90%;
  margin-top: 50px;
  position: relative;
  left: 50%;
  border: 3px solid red;
  translate: -50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 55vh;
}

@media (max-width: 900px) {
  .addworkspace {
    height: 20vh;
    overflow-y: auto;
  }

  .addlab-viewport {
    height: auto;
  }
}

.addeditor-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: #090b0f;
}

.addtab-bar {
  display: flex;
  background: #0d0f14;
  padding: 10px;
  gap: 2%;
  border-bottom: 1px solid var(--border-h);
}

.addtab-btn {
  background: transparent;
  border: none;
  color: var(--text-2);
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
}

.addtab-btn.active {
  background: var(--accent);
  color: #fff;
}

.addtab-btn:hover {
  background: var(--bg-card2);
  color: var(--accent);
}

.addcode-area {
  flex-grow: 1;
  position: relative;
}

.addcode-input {
  width: 33%;
  height: 100%;
  position: absolute;
  background: transparent;
  border: none;
  color: #43e97b;
  caret-color: #43e97b;
  padding: 20px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  resize: none;
  outline: none;
  display: none;
}

#addhtmlCode {
  width: 100%;
}

#addcssCode {
  width: 100%;
  position: absolute;
}

#addjsCode {
  width: 100%;
}

.addcode-input.active {
  display: block;
}

.addpreview-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}

.addpreview-label {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 800;
  letter-spacing: 1px;
}

.uploadButton {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
  animation: uploadButton .6s;
}

@keyframes uploadButton {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.innerUploadButton {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background: rgba(51, 255, 33, 0.06);
  border: 1px solid rgba(51, 255, 33, 0.5);
  width: 90%;
  max-width: 400px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  display: flexbox;
  box-shadow: 0 0 20px 20px rgba(51, 255, 33, 0.1);
}

.innerUploadButton .ticicon {
  overflow: hidden;
  max-width: 60px;
  height: 60px;
  background: rgba(133, 255, 67, 0.1);
  color: var(--accent-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0px auto;
}

.innerUploadButton h1 {
  font-family: 'Syne';
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.innerUploadButton p {
  color: var(--text-2);
}

.innerUploadButton .uploadButtons {
  width: 100%;
  height: fit-content;
  padding: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.innerUploadButton .uploadButtonCencel {
  padding: 10px 23px;
  background: #ff6584;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 101, 132, 0.3);
  border-radius: 10px;
  margin-right: 20px;
  cursor: pointer;
}

.innerUploadButton .uploadButtonMore {
  padding: 12px 25px;
  background-color: var(--bg-card);
  color: var(--text-2);
  border: 1px solid var(--border-h);
  border-radius: 10px;
  cursor: pointer;
}

.innerUploadButton .uploadButtonMore:hover {
  color: var(--text-3);
  background-color: var(--bg);
  border: 1px solid var(--border);
}

.innerUploadButton .uploadButtonCencel:hover {
  background: #ff4d73;
  transform: scale(1.02);
}

.thanksOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  display: none;
}

.thanks {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  background: rgba(51, 255, 33, 0.06);
  border: 1px solid rgba(51, 255, 33, 0.5);
  width: 90%;
  max-width: 400px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  display: flexbox;
  box-shadow: 0 0 20px 20px rgba(51, 255, 33, 0.1);
  animation: thanks 2.4s ease-in;
}

@keyframes thanks {
  0% {
    transform: scale(.4);
  }

  10% {
    transform: scale(1);
  }

  20% {
    transform: scale(1);
  }

  30% {
    transform: scale(1);
  }

  40% {
    transform: scale(1);
  }

  50% {
    transform: scale(1);
  }

  60% {
    transform: scale(1);
  }

  70% {
    transform: scale(1);
  }

  80% {
    transform: scale(1);
  }

  90% {
    transform: scale(1);
  }

  100% {
    transform: scale(.4);
  }
}

.thanksIcon {
  overflow: hidden;
  max-width: 60px;
  height: 60px;
  background: rgba(133, 255, 67, 0.1);
  color: var(--accent-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0px auto;
}

.thanksText {
  font-family: 'Syne';
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.addGallery {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}

button.addcloseGallery {
  position: absolute;
  top: 20px;
  right: 20px;
}

.addlab-gallery {
  flex-grow: 1;
  overflow-y: auto;
  padding: 30px;
  max-width: 80%;
  min-height: 80vh;
  max-height: 80vh;
  position: relative;
  left: 10%;
  top: 10vh;
  border: 1px solid red;
}

.addgallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.addbtnbox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.addbtnbox:hover::before {
  animation: none;
}

/* Original Shine Effect */
.addbtnbox::before {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 250%;
  height: 250%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  animation: shineStrike 3s infinite;
  pointer-events: none;
  z-index: 1;
}

/* Preview area within the card */
.addbutton-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 2;
}

.addcard-tools {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.addbtnbox:hover .addcard-tools {
  opacity: 1;
  transform: translateY(0);
}

.addtool-btn {
  background: rgba(13, 15, 20, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-h);
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.addtool-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

hr {
  position: sticky;
  margin: 20px 0;
  opacity: .2;
  color: #555a72;
}

.hr {
  position: sticky;
  margin: 0;
  opacity: 1;
  color: var(--text-1);
  width: 100%;
}

.addbtnbox:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}

.addmodal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.addmodal.active {
  display: flex;
}

.addmodal-content {
  background: var(--bg-card);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius);
  padding: 25px;
  overflow: auto;
  max-height: 600px;
  border: 1px solid var(--border);
}

.addtool-btn.delete-btn {
  display: none;
}

.admin-mode .addtool-btn.delete-btn {
  display: inline-block;
}

.addtool-btn[onclick^="deleteItem"] {
  display: none;
}

body.admin-mode .addtool-btn[onclick^="deleteItem"] {
  display: inline-block;
}

#adminModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

#adminModal.active {
  display: flex;
}

/* asd */

/* --- Modal Scrollbox Fix --- */
.addmodal-content {
  background: var(--bg-card);
  width: 95%;
  max-width: 650px;
  max-height: 85vh;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}

.addmodal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.addmodal-scroll-area {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
}

.addmodal-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.addmodal-scroll-area::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

.addmodal-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-card2);
  display: flex;
  justify-content: flex-end;
}

/* Code block styling */
pre {
  background: #090b0f;
  padding: 15px;
  border-radius: 8px;
  color: #43e97b;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  white-space: pre-wrap;
  word-break: break-all;
}

/* Styling for the Symbol Close Button */
.addclose-x {
  background: transparent;
  border: none;
  color: var(--text-3);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.addclose-x:hover {
  color: var(--accent-2);
}

/* Ensuring the Scroll Area is isolated */
.addmodal-scroll-area {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  background: #090b0f;
}

.addmodal-footer {
  padding: 15px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-card2);
  display: flex;
  justify-content: flex-end;
}

/* asd */

/* --- Custom Danger Modal Styling --- */
.addconfirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.addconfirm-overlay.active {
  display: flex;
}

.addconfirm-card {
  background: #1a1d26;
  border: 1px solid rgba(255, 101, 132, 0.2);
  width: 90%;
  max-width: 400px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 101, 132, 0.1);
}

.adddanger-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 101, 132, 0.1);
  color: #ff6584;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.adddanger-icon svg {
  width: 30px;
  height: 30px;
}

.addconfirm-card h2 {
  font-family: 'Syne';
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.addconfirm-card p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 25px;
}

.addconfirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.addbtn-danger {
  background: #ff6584;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 101, 132, 0.3);
}

.addbtn-danger:hover {
  background: #ff4d73;
  transform: scale(1.02);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===================== EMPEROR WEBIX - COMPANY CV CARD ===================== */
.company-cv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.company-cv-overlay.active {
  display: flex;
  opacity: 1;
  animation: cvFadeIn 0.4s ease;
}

@keyframes cvFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.company-cv-card {
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: linear-gradient(145deg, #13161e 0%, #1a1d2a 100%);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 32px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 40px 120px rgba(108, 99, 255, 0.4), 0 0 0 1px rgba(108, 99, 255, 0.2);
  transform: translateY(30px) scale(0.95);
  animation: cvSlideUp 0.5s ease forwards;
}

@keyframes cvSlideUp {
  to {
    transform: translateY(0) scale(1);
  }
}

.company-cv-close {
  position: sticky;
  top: 20px;
  right: 20px;
  float: right;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-2);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
  margin: 20px 20px 0 0;
}

.company-cv-close:hover {
  background: rgba(255, 101, 132, 0.2);
  color: #ff6584;
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(255, 101, 132, 0.3);
}

/* ===== CV HEADER ===== */
.cv-header {
  padding: 30px 30px 20px;
  position: relative;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(67, 233, 123, 0.05));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cv-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(108, 99, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 101, 132, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.cv-profile {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.cv-logo-wrapper {
  width: 120px;
  height: 100px;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.5);
  position: relative;
  transition: var(--trans);
}

.cv-logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 33px;
  background: linear-gradient(135deg, #6c63ff, #ff6584, #43e97b);
  opacity: 0.5;
  filter: blur(12px);
  z-index: -1;
  animation: logoGlow 3s ease-in-out infinite;
}

.cv-logo-wrapper:hover {
  transform: translateY(-3px);
}

@keyframes logoGlow {

  0%,
  100% {
    opacity: 0.4;
    filter: blur(12px);
  }

  50% {
    opacity: 0.9;
    filter: blur(15px);
  }
}

.cv-logo-wrapper img {
  width: 120px;
  height: 100px;
  border-radius: 30px;
  cursor: pointer;
}

/*LOGO IMG*/
.logo-image {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  background-color: rgb(0, 0, 2, .6);
}


.logo-image-wrapper {
  position: relative;
}

.logo-image-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  padding: 0 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(255, 255, 255, .1);
  border: none;
  border-radius: 10px;
  color: var(--text-3);
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.logo-image-close:hover {

  color: var(--accent-2);
  background: rgb(255, 255, 255, .2);
}

.logo-image-wrapper img {
  box-shadow: var(--shadow-lg);

}

.cv-title h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #fff, #d4d0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.cv-title h1 span {
  color: #6c63ff;
  -webkit-text-fill-color: #6c63ff;
  font-weight: 900;
  position: relative;
}

.cv-title h1 span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(108, 99, 255, 0.3);
  filter: blur(8px);
  border-radius: 4px;
}

.cv-tagline {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.cv-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cv-star {
  color: #ffd700;
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.cv-rating-text {
  color: var(--text-2);
  font-size: 0.85rem;
}

.cv-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 25px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cv-quick-stat {
  text-align: center;
}

.cv-q-number {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

.cv-q-label {
  font-size: 0.75rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== TABS ===== */
.cv-tabs {
  display: flex;
  gap: 5px;
  padding: 0 30px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  overflow-x: auto;
  scrollbar-width: thin;
}

.cv-tab-btn {
  padding: 15px 20px;
  background: transparent;
  border: none;
  color: var(--text-2);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.cv-tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: linear-gradient(90deg, #6c63ff, #ff6584);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.cv-tab-btn:hover {
  color: var(--text-1);
}

.cv-tab-btn.active {
  color: white;
}

.cv-tab-btn.active::after {
  left: 20px;
  right: 20px;
}

/* ===== TAB CONTENT ===== */
.cv-tab-content {
  padding: 30px;
  min-height: 400px;
}

.cv-tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.cv-tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ABOUT TAB ===== */
.cv-about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.cv-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-2);
  margin: 20px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border-left: 3px solid var(--accent);
}

.cv-mission,
.cv-vision {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.cv-mission h4,
.cv-vision h4,
.cv-values h4 {
  font-family: 'Syne', sans-serif;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 1rem;
}

.cv-values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cv-value-tag {
  padding: 5px 12px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
}

.cv-awards {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.cv-award-list {
  list-style: none;
  margin-top: 15px;
}

.cv-award-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cv-award-year {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--accent);
  min-width: 50px;
}

.cv-testimonials {
  background: rgba(108, 99, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

/* ===== PROJECTS TAB ===== */
.cv-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-1);
}

.cv-project-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.cv-filter-btn {
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cv-filter-btn:hover,
.cv-filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.cv-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.cv-project-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cv-project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cv-project-preview {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.cv-project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cv-project-card:hover .cv-project-preview img {
  transform: scale(1.1);
}

.cv-project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cv-project-card:hover .cv-project-overlay {
  opacity: 1;
}

.cv-project-link {
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cv-project-link:hover {
  background: #7c74ff;
  transform: scale(1.05);
}

.cv-project-info {
  padding: 15px;
}

.cv-project-info h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  margin-bottom: 5px;
}

.cv-project-info p {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 10px;
}

.cv-project-tech {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.cv-project-tech span {
  padding: 3px 8px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--accent);
}

.cv-view-more {
  text-align: center;
}

.cv-view-more-btn {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cv-view-more-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateX(5px);
}

/* ===== SKILLS TAB ===== */
.cv-skills-section h3 {
  font-family: 'Syne', sans-serif;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.cv-skills-category {
  margin-bottom: 30px;
}

.cv-skills-category h4 {
  font-family: 'Syne', sans-serif;
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1rem;
}

.cv-skill-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cv-skill-item {
  display: grid;
  grid-template-columns: 120px 50px 1fr;
  align-items: center;
  gap: 10px;
}

.cv-skill-name {
  font-size: 0.85rem;
  color: var(--text-2);
}

.cv-skill-percent {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.cv-skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.cv-skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #6c63ff, #ff6584);
  border-radius: 3px;
  position: relative;
  animation: skillFill 1.5s ease-out forwards;
}

@keyframes skillFill {
  from {
    width: 0;
  }
}

.cv-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cv-tool-tag {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-2);
  transition: all 0.3s ease;
}

.cv-tool-tag:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ===== EXPERIENCE TAB ===== */
.cv-timeline {
  position: relative;
  padding-left: 30px;
  margin-bottom: 40px;
}

.cv-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #6c63ff, #ff6584, #43e97b);
}

.cv-timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.cv-timeline-dot {
  position: absolute;
  left: -39px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  border: 3px solid #1a1d2a;
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.3);
}

.cv-timeline-content {
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.cv-timeline-date {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(108, 99, 255, 0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.cv-timeline-content h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cv-timeline-content h5 {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.cv-timeline-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cv-timeline-tags span {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.7rem;
}

.cv-education {
  margin-top: 30px;
}

.cv-education-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 10px;
}

.cv-edu-year {
  font-family: 'Syne', sans-serif;
  color: var(--accent);
  font-weight: 700;
}

/* ===== CONTACT TAB ===== */
.cv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.cv-contact-details {
  margin-top: 25px;
}

.cv-contact-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.cv-contact-item:hover {
  background: rgba(108, 99, 255, 0.05);
  transform: translateX(5px);
}

.cv-contact-icon {
  font-size: 1.5rem;
}

.cv-contact-item h4 {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 2px;
}

.cv-contact-item a,
.cv-contact-item p {
  color: var(--text-1);
  text-decoration: none;
  font-size: 0.9rem;
}

.cv-quick-contact h3 {
  margin-bottom: 20px;
}

.cv-quick-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cv-form-input,
.cv-form-textarea {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-1);
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s ease;
}

.cv-form-input:focus,
.cv-form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(108, 99, 255, 0.05);
}

.cv-form-submit {
  padding: 12px;
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cv-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
}

.cv-social-links h3 {
  margin-bottom: 20px;
}

.cv-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.cv-social-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.3s ease;
}

.cv-social-card:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  border-color: var(--accent);
}

.cv-social-icon {
  font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.cv-footer {
  padding: 20px 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-3);
  font-size: 0.8rem;
}

/* ===== SCROLLBAR ===== */
.company-cv-card::-webkit-scrollbar {
  width: 8px;
}

.company-cv-card::-webkit-scrollbar-track {
  background: transparent;
}

.company-cv-card::-webkit-scrollbar-thumb {
  background: rgba(108, 99, 255, 0.3);
  border-radius: 4px;
}

.company-cv-card::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .cv-about-grid,
  .cv-contact-grid {
    grid-template-columns: 1fr;
  }

  .cv-profile {
    flex-direction: column;
    text-align: center;
  }

  .cv-rating {
    justify-content: center;
  }

  .cv-quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cv-skill-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cv-tabs {
    padding: 0 15px;
  }

  .cv-tab-content {
    padding: 20px;
  }
}

/* ===================== SIMPLIFIED CUSTOMIZER STYLES ===================== */
.cusmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cusmodal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cusmodal {
  background: var(--bg-card2);
  border: 1px solid var(--border-h);
  border-radius: var(--radius);
  width: 95%;
  max-width: 1300px;
  height: 85vh;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.cusmodal-overlay.open .cusmodal {
  transform: scale(1) translateY(0);
}

/* Header */
.cusmodal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.cusmodal-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
}

.cusmodal-close {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-2);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cusmodal-close:hover {
  background: rgba(255, 101, 132, 0.2);
  color: #ff6584;
  transform: rotate(90deg);
}

/* 3-Column Split Layout */
.cusmodal-split {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  gap: 1px;
  background: var(--border);
}

/* LEFT PANEL - Visual Controls */
.cusmodal-controls {
  width: 320px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.cuscontrols-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.cuscontrols-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cusreset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-2);
  padding: 5px 12px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cusreset-btn:hover {
  background: rgba(108, 99, 255, 0.2);
  color: var(--accent);
  border-color: var(--accent);
}

.cuscontrols-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Control Groups */
.cuscontrol-group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cuscontrol-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cuscontrol-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cuscontrol-select {
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-1);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

/* Color Controls */
.cuscolor-row {
  display: flex;
  gap: 8px;
}

.cuscolor-picker {
  width: 50px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
}

.cuscolor-hex {
  flex: 1;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-1);
  font-size: 0.85rem;
  font-family: monospace;
}

/* Sliders */
.cuscontrol-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}

.cuscontrol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.cuscontrol-slider-small {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 2px;
}

.cuscontrol-slider-small::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

.cuscontrol-slider-tiny {
  width: 60px;
  height: 4px;
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 2px;
}

.cuscontrol-slider-tiny::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}

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

.cuscontrol-value {
  min-width: 45px;
  font-size: 0.75rem;
  color: var(--accent);
  font-family: monospace;
}

/* Border Controls */
.cusborder-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cuscontrol-select-small {
  flex: 1;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-1);
  font-size: 0.7rem;
}

.cuscolor-picker-small {
  width: 36px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}

.cuscolor-picker-tiny {
  width: 32px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
}

/* Shadow Controls */
.cusshadow-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cusshadow-values {
  display: flex;
  gap: 12px;
  font-size: 0.65rem;
  color: var(--text-3);
}

/* MIDDLE PANEL - Code Editor */
.cusmodal-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg-card);
}

.cusmodal-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.custab-btn {
  padding: 6px 16px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custab-btn.active {
  background: var(--accent);
  color: #fff;
}

.custab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-1);
}

.cusmodal-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.cuscode-panel {
  display: none;
  height: 100%;
}

.cuscode-panel.active {
  display: block;
}

.cuscode-editor {
  width: 100%;
  height: 100%;
  background: #090b0f;
  color: #43e97b;
  font-family: 'Courier New', 'Fira Code', monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 20px;
  border: none;
  resize: none;
  outline: none;
  white-space: pre-wrap;
}

.cuscode-editor:focus {
  outline: none;
  background: #0a0c12;
}

/* RIGHT PANEL - Live Preview */
.cusmodal-preview {
  width: 400px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  flex-shrink: 0;
}

.cuspreview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cuspreview-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cuspreview-refresh {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-2);
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cuspreview-refresh:hover {
  background: rgba(108, 99, 255, 0.2);
  color: var(--accent);
  transform: rotate(45deg);
}

.cuspreview-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.cuslive-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--bg);
}

/* Footer */
.cusmodal-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  background: var(--bg-card);
}

.cusmodal-copy-btn,
.cusmodal-export-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cusmodal-copy-btn {
  background: var(--accent);
  color: #fff;
}

.cusmodal-copy-btn:hover {
  background: #7c74ff;
  transform: translateY(-1px);
}

.cusmodal-export-btn {
  background: rgba(67, 233, 123, 0.15);
  border: 1px solid rgba(67, 233, 123, 0.3);
  color: #43e97b;
}

.cusmodal-export-btn:hover {
  background: rgba(67, 233, 123, 0.25);
  transform: translateY(-1px);
}

.cuscopy-confirm {
  font-size: 0.8rem;
  color: #43e97b;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cuscopy-confirm.show {
  opacity: 1;
}

/* Scrollbar */
.cuscontrols-scroll::-webkit-scrollbar,
.cusmodal-body::-webkit-scrollbar {
  width: 4px;
}

.cuscontrols-scroll::-webkit-scrollbar-track,
.cusmodal-body::-webkit-scrollbar-track {
  background: transparent;
}

.cuscontrols-scroll::-webkit-scrollbar-thumb,
.cusmodal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
  .cusmodal-controls {
    width: 280px;
  }

  .cusmodal-preview {
    width: 320px;
  }
}

@media (max-width: 900px) {
  .cusmodal-split {
    flex-direction: column;
    position: relative;
  }

  .cusmodal-controls {
    width: 50%;
    max-height: 60%;
  }

  .cusmodal-preview {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    float: right;
    max-height: 60%;
  }

  .cusmodal-editor {
    min-height: 40%;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .cusmodal {
    width: 98%;
    height: 95vh;
  }

  .cuscontrols-scroll {
    padding: 12px;
  }

  .cusreset-btn .cusreset-btn-span {
    font-size: 0px;
    white-space: nowrap;
    display: none;
    visibility: hidden;
  }

  .cuscontrols-title {
    font-size: 0.6rem;
  }
}

/* Disabled state for color pickers */
.cuscolor-picker:disabled,
.cuscolor-hex:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

/* Glass Morphism Checkbox Style */
.cuscheckbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cuscheckbox-label:hover {
  background: rgba(108, 99, 255, 0.05);
  border-color: rgba(108, 99, 255, 0.2);
}

.cuscheckbox-label input[type="checkbox"] {
  display: none;
}

.cuscheckbox-label .checkmark {
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cuscheckbox-label input[type="checkbox"]:checked~.checkmark {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.4);
}

.cuscheckbox-label .checkmark::after {
  content: '✓';
  font-size: 11px;
  color: white;
  display: none;
}

.cuscheckbox-label input[type="checkbox"]:checked~.checkmark::after {
  display: block;
}

.cuscheckbox-label .checkbox-text {
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s ease;
}

.cuscheckbox-label input[type="checkbox"]:checked~.checkbox-text {
  color: var(--accent);
}

/* ===================== INFO PARAGRAPH STYLES ===================== */
.cusinfo-paragraph {
  background: rgba(108, 99, 255, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 12px 15px;
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.cusinfo-paragraph:hover {
  background: rgba(108, 99, 255, 0.12);
  transform: translateX(2px);
}

.cusinfo-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  opacity: 0.8;
}

.cusinfo-content {
  flex: 1;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-2);
}

.cusinfo-content strong {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.cusinfo-content br {
  margin-bottom: 4px;
}


/* =============MoreBTN================ */

.more-btn-opener {
  padding: 5px;
  cursor: pointer;
  background: rgba(67, 233, 123, 0.1);
  border: 1px solid rgba(67, 233, 123, 0.2);
  border-radius: var(--radius-sm);
  color: #43e97b;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.more-btn-opener:hover {
  background: rgba(67, 233, 123, 0.2);
  border-color: #43e97b;
  transform: scale(1.02);
}

.morebtnOverlay {
  position: fixed;
  left: 0;
  top: 0;
  inset: 0;
  z-index: 9991;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
}

.morebtn {
  width: 90%;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-card2);
  border-radius: 20px;
  overflow: hidden;
  padding: 10px;
  box-shadow: 0 0 20px 10px black;
}

.morebtnHeader {
  width: 100%;
  height: 15%;
  background-color: var(--bg-card);
  border: 1px solid rgb(255, 255, 255, .4);
  padding: 10px 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.morebtn-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-2);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.morebtn-close:hover {
  background: rgba(255, 101, 132, 0.2);
  color: #ff6584;
  transform: rotate(90deg);
}

.morebtnBody {
  height: calc(85% - 20px);
  margin-top: 20px;
  background-color: var(--bg);
  padding: 15px 20px;
  overflow: auto;
}

.morebtnBodyHeader {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: 10%;
  min-height: 200px;

}

.morebtnBodyHeader span {
  font-size: 1rem;
  top: 0;
  left: 0;
  font-weight: 600;
  color: var(--accent);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.morebtnbox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  animation: cardIn 0.4s ease both;
  position: relative;
  overflow: hidden;
}

.morebtnbox::before {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg,
      transparent 40%,
      rgba(255, 255, 255, 0.08) 45%,
      rgba(255, 255, 255, 0.15) 50%,
      rgba(255, 255, 255, 0.08) 55%,
      transparent 60%);
  animation: shineStrike 5s infinite;
  pointer-events: none;
  z-index: 1;
}

.morebtnbox:hover::before {
  animation-play-state: paused;
  opacity: 0;
}

.morebtnbox::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.04), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.morebtnbox:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.morebtnbox:hover::after {
  opacity: 1;
}

.morebtnbox h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .morebtnHeader h1 {
    font-size: 18px;
  }
}

@media (max-width: 425px) {
  .morebtnHeader h1 {
    font-size: 14px;
  }
}

/* =============MoreBTN================ */
.check-btn-opener {
  padding: 5px;
  cursor: pointer;
  background: rgba(67, 233, 123, 0.1);
  border: 1px solid rgba(67, 233, 123, 0.2);
  border-radius: var(--radius-sm);
  color: #43e97b;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.02em;
  display: flex;
}


.check-btn-opener:hover {
  background: rgba(67, 233, 123, 0.2);
  border-color: #43e97b;
  transform: scale(1.02);
}

/* Overlay & Container */
.checkOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  padding: 30px;
}

.lab-container {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  max-height: 850px;
  margin: auto;
  background: var(--lab-bg);
  border: 1px solid var(--lab-border);
  border-radius: var(--radius-xl);
  display: flex;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--lab-border), 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

/* Sidebar Styling */
.lab-controls {
  width: 30%;
  background: var(--lab-sidebar);
  border-right: 1px solid var(--lab-border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: auto;
}

.lab-header {
  width: 100%;
}

.lab-header h2 {
  color: var(--lab-text-main);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lab-header h2 span {
  font-size: 0.65rem;
  background: var(--lab-accent-glow);
  color: var(--accent-3);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--lab-accent);
}

@media (max-width:768px) {
  .lab-header h2 span {
    display: none;
  }

  .btnbox-options-btn {
    opacity: 1;
  }
}

@media (max-width:700px) {
  .lab-container {
    flex-direction: column;
  }


  .lab-controls {
    flex-direction: column;
    width: 100%;
    height: 50%;
  }
}

/* Input & Control Group */
.control-section label {
  color: var(--lab-text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.input-group {
  position: relative;
}

#checkInput {
  width: 100%;
  background: #09090b;
  border: 1px solid var(--lab-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  color: var(--lab-accent);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

#checkInput:focus {
  border-color: var(--lab-accent);
  box-shadow: 0 0 0 4px var(--lab-accent-glow);
}

.active-indicator {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* Token Buttons */
.token-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.token {
  background: #27272a;
  border: 1px solid var(--lab-border);
  color: var(--lab-text-muted);
  padding: 10px;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.token:hover {
  background: #3f3f46;
  color: #fff;
  border-color: #52525b;
}

/* Viewport / Observation Deck */
.lab-viewport {
  flex: 1;
  background: #0c0c0e;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image:
    linear-gradient(var(--lab-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--lab-border) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lab-viewport iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: opacity 0.3s ease;
}

.lab-footer {
  text-align: left;
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 10px;
  font-size: medium;
  color: var(--text-2);
}

.lab-footer strong {
  text-shadow: 0 1px 5px yellow;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 999;
  background: #27272a;
  border: 1px solid var(--lab-border);
  color: var(--lab-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.stress-tools {
  display: none;
  gap: 10px;
  margin-left: 20px;
}

.stress-tools button {
  padding: 6px 12px;
  background-color: red;
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: var(--text-1);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: 0.3s;
}

.stress-tools button.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.stress-long-text .btnOverlay button {
  min-width: 400px !important;
}

.stress-chaos .btnOverlay button {
  animation-duration: 0.1s !important;
}

.btnOverlay {
  padding: 50px;
  transition: background 0.3s ease;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.moreBtnGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 10px;
  min-height: 100%;
}

.cursorDiv {
  width: 0;
  height: 0px;
  box-shadow: 0 0 10px 10px var(--accent);
  filter: blur(1px);
  position: fixed;
  z-index: 9999999999;
  visibility: hidden;
  scale: 0;
}

.cursorDiv.active {
  transition: visibility .5s, scale .5s !important;
  visibility: visible;
  scale: 1;
}