:root{

  --bg:#060816;

  --card:#12192b;

  --border:rgba(255,255,255,.08);

  --text:#ffffff;
  --muted:#9aa4bf;

  --accent:#ff7a3d;
  --accent2:#7b61ff;

  --green:#22c55e;
  --blue:#3b82f6;

  --radius:30px;

  --transition:.3s ease;
}

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

body{

  background:
    linear-gradient(
      180deg,
      #050816,
      #0b1022
    );

  color:var(--text);

  font-family:'DM Sans',sans-serif;
}

/* SIDEBAR */

.sidebar{

  position:fixed;

  top:0;
  left:0;

  width:240px;
  height:100vh;

  background:
    linear-gradient(
      180deg,
      #050816,
      #0d1226
    );

  border-right:
    1px solid var(--border);

  padding:24px 18px;

  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.sidebar-brand{

  display:flex;
  align-items:center;

  gap:14px;

  margin-bottom:40px;
}

path{
stroke-dasharray:1000;
stroke-dashoffset:1000;
animation:draw 3s ease forwards;
}

@keyframes draw{
to{
stroke-dashoffset:0;
}
}

.brand-icon{

  width:46px;
  height:46px;

  border-radius:16px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );
}

.brand-text{

  font-size:28px;

  font-family:'Syne',sans-serif;

  font-weight:800;
}

.sidebar-nav{

  display:flex;
  flex-direction:column;

  gap:10px;
}

.sidebar-nav a{

  text-decoration:none;

  color:#9aa4bf;

  padding:15px 18px;

  border-radius:18px;

  display:flex;
  align-items:center;

  gap:14px;

  transition:var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav .active{

  background:
    rgba(255,255,255,.06);

  color:white;
}

.sidebar-footer{

  display:flex;

  gap:12px;
}

.sidebar-footer a{

  width:44px;
  height:44px;

  border-radius:14px;

  background:
    rgba(255,255,255,.05);

  display:flex;
  align-items:center;
  justify-content:center;

  color:white;

  text-decoration:none;
}

/* NAVBAR */

.navbar{

  position:fixed;

  top:0;
  left:240px;
  right:0;

  height:82px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 30px;

  background:
    rgba(5,8,22,.8);

  backdrop-filter:blur(18px);

  border-bottom:
    1px solid var(--border);

  z-index:999;
}

.search-bar{

  width:420px;

  display:flex;
  align-items:center;

  gap:12px;

  padding:14px 18px;

  border-radius:999px;

  background:
    rgba(255,255,255,.05);

  border:
    1px solid var(--border);
}

.search-bar input{

  width:100%;

  border:none;
  outline:none;

  background:none;

  color:white;
}

.nav-right{

  display:flex;
  align-items:center;

  gap:14px;
}

.nav-btn{

  border:none;

  padding:14px 20px;

  border-radius:18px;

  cursor:pointer;

  font-weight:700;
}

.outline-btn{

  background:
    rgba(255,255,255,.06);

  color:white;
}

.primary-btn{

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color:white;
}

.profile img{

  width:48px;
  height:48px;

  border-radius:50%;
}

/* MAIN */

.main-home{

  margin-left:240px;

  padding:120px 40px 60px;
}

/* HERO */

.hero-section{

  display:grid;

  grid-template-columns:1.2fr .8fr;

  gap:30px;

  margin-bottom:40px;
}

.hero-badge{

  display:inline-flex;

  padding:12px 18px;

  border-radius:999px;

  background:
    rgba(255,255,255,.06);

  border:
    1px solid var(--border);

  margin-bottom:24px;
}

.hero-section h1{

  font-size:
    clamp(58px,7vw,100px);

  line-height:1;

  margin-bottom:20px;

  font-family:'Syne',sans-serif;
}

.hero-section h1 span{

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  -webkit-background-clip:text;

  -webkit-text-fill-color:transparent;
}

.hero-section p{

  color:var(--muted);

  line-height:1.8;

  max-width:700px;
}

/* HERO CHART */

.hero-chart{

  background:
    linear-gradient(
      145deg,
      #12192b,
      #1b2440
    );

  border:
    1px solid var(--border);

  border-radius:32px;

  padding:30px;

  display:flex;
  align-items:end;
  justify-content:center;
}

.chart-bars{

  width:100%;

  height:240px;

  display:flex;
  align-items:end;
  justify-content:space-between;

  gap:16px;
}

.bar{

  width:100%;

  border-radius:18px 18px 0 0;

  background:
    linear-gradient(
      180deg,
      var(--accent),
      var(--accent2)
    );

  animation:grow 1s ease;
}

.b1{height:40%;}
.b2{height:65%;}
.b3{height:50%;}
.b4{height:90%;}
.b5{height:75%;}

@keyframes grow{

  from{
    height:0;
  }

}

/* STATS */

.stats-grid{

  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

  gap:24px;

  margin-bottom:40px;
}

.stat-card{

  background:
    linear-gradient(
      145deg,
      #12192b,
      #172038
    );

  border:
    1px solid var(--border);

  border-radius:28px;

  padding:26px;

  display:flex;
  align-items:center;

  gap:18px;
}

.stat-icon{

  width:64px;
  height:64px;

  border-radius:22px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:22px;

  color:white;
}

.orange{
  background:linear-gradient(135deg,#ff7a3d,#ffb347);
}

.purple{
  background:linear-gradient(135deg,#7b61ff,#b794ff);
}

.blue{
  background:linear-gradient(135deg,#3b82f6,#38bdf8);
}

.green{
  background:linear-gradient(135deg,#22c55e,#4ade80);
}

.stat-card h2{

  font-size:38px;

  margin-bottom:6px;
}

.stat-card p{

  color:var(--muted);
}

/* DASHBOARD GRID */

.dashboard-grid{

  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

  gap:28px;
}

.large-card{

  grid-column:span 2;
}

.dashboard-card{

  background:
    linear-gradient(
      145deg,
      #12192b,
      #172038
    );

  border:
    1px solid var(--border);

  border-radius:32px;

  padding:28px;
}

.card-header{

  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:26px;
}

.card-header h2{

  font-size:30px;

  font-family:'Syne',sans-serif;
}

.card-header button{

  border:none;

  padding:10px 16px;

  border-radius:14px;

  background:
    rgba(255,255,255,.06);

  color:white;
}

/* ANALYTICS */

.analytics-chart{

  height:260px;

  display:flex;
  align-items:end;
}

.line-chart{

  width:100%;

  display:flex;
  align-items:end;
  justify-content:space-between;

  gap:16px;
}

.line-chart span{

  width:100%;

  border-radius:18px 18px 0 0;

  background:
    linear-gradient(
      180deg,
      var(--accent),
      var(--accent2)
    );
}

/* ACTIVITY */

.activity-list{

  display:flex;
  flex-direction:column;

  gap:20px;
}

.activity-item{

  display:flex;
  align-items:center;

  gap:14px;
}

.activity-dot{

  width:14px;
  height:14px;

  border-radius:50%;
}

.activity-item strong{

  display:block;

  margin-bottom:4px;
}

.activity-item span{

  color:var(--muted);

  font-size:14px;
}

/* PROGRESS */

.progress-group{

  display:flex;
  flex-direction:column;

  gap:24px;
}

.progress-top{

  display:flex;
  justify-content:space-between;

  margin-bottom:10px;
}

.progress-bar{

  height:12px;

  border-radius:999px;

  background:
    rgba(255,255,255,.06);

  overflow:hidden;
}

.progress-fill{

  height:100%;

  border-radius:999px;
}

.orange-fill{
  background:linear-gradient(135deg,#ff7a3d,#ffb347);
}

.purple-fill{
  background:linear-gradient(135deg,#7b61ff,#b794ff);
}

.blue-fill{
  background:linear-gradient(135deg,#3b82f6,#38bdf8);
}

/* TEAM */

.team-members{

  display:flex;
}

.team-members img{

  width:60px;
  height:60px;

  border-radius:50%;

  border:4px solid #12192b;

  margin-left:-12px;
}

.team-members img:first-child{
  margin-left:0;
}

/* RESPONSIVE */

@media(max-width:1100px){

  .hero-section{
    grid-template-columns:1fr;
  }

  .large-card{
    grid-column:span 1;
  }

}

@media(max-width:900px){

  .sidebar{
    display:none;
  }

  .navbar,
  .main-home{

    margin-left:0;

    left:0;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

}

@media(max-width:768px){

  .navbar{

    flex-direction:column;

    height:auto;

    padding:18px;

    gap:16px;
  }

  .search-bar{
    width:100%;
  }

  .main-home{
    padding:160px 20px 40px;
  }

}

/* =========================================
   MOBILE TOGGLE
========================================= */

.mobile-toggle {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1200;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: #eb6835;
  color: white;
  display: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* =========================================
   SIDEBAR OVERLAY
========================================= */

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 999;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   NAVBAR SCROLL EFFECT
========================================= */

.navbar {
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* =========================================
   BUTTON EFFECTS
========================================= */

.nav-btn,
.card-header button {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 600ms linear;
  background: rgba(255,255,255,0.5);
}

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

/* =========================================
   CHART ANIMATION
========================================= */

.line-chart span {
  transition:
    height 0.8s cubic-bezier(.22,.61,.36,1);
}

/* =========================================
   HOVER EFFECTS
========================================= */

.dashboard-card,
.stat-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.dashboard-card:hover,
.stat-card:hover {
  transform: translateY(-5px);
}

/* =========================================
   TEAM MEMBERS
========================================= */

.team-members img {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.team-members img:hover {
  transform: scale(1.08);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

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

}

@media (max-width: 900px) {

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    z-index: 1000;
    transition: left 0.35s ease;
  }

  .sidebar.show {
    left: 0;
  }

  .navbar,
  .main-home {
    margin-left: 0 !important;
  }

  .navbar {
    padding-left: 80px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

}

@media (max-width: 650px) {

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

  .navbar {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .search-bar {
    width: 100%;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .hero-section h1 {
    font-size: 2.4rem;
  }

}
/* =========================================================
UIVERSE PREMIUM DASHBOARD UI UPGRADE
========================================================= */

/* ================= ROOT ================= */

:root {

  --bg-primary: #060816;
  --bg-secondary: #0f172a;
  --bg-card: rgba(255,255,255,0.05);
  --bg-glass: rgba(255,255,255,0.08);

  --border: rgba(255,255,255,0.08);

  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.68);

  --purple: #7b5cff;
  --blue: #00d4ff;
  --pink: #ff4fd8;
  --orange: #ff8a5b;
  --green: #00ffb3;

  --gradient-main:
    linear-gradient(
      135deg,
      #7b5cff,
      #00d4ff
    );

  --shadow-main:
    0 20px 50px rgba(0,0,0,0.35);

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;

  --blur: blur(22px);
}

/* ================= RESET ================= */

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

html {
  scroll-behavior: smooth;
}

body {

  font-family: "DM Sans", sans-serif;

  background:
    radial-gradient(
      circle at top left,
      rgba(123,92,255,0.15),
      transparent 25%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0,212,255,0.12),
      transparent 25%
    ),
    var(--bg-primary);

  color: var(--text-primary);

  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}

/* =========================================================
CUSTOM SCROLLBAR
========================================================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0d1324;
}

::-webkit-scrollbar-thumb {

  background: linear-gradient(
    180deg,
    #7b5cff,
    #00d4ff
  );

  border-radius: 999px;
}

/* =========================================================
ANIMATED BACKGROUND
========================================================= */

body::before,
body::after {

  content: "";

  position: fixed;

  border-radius: 50%;

  filter: blur(100px);

  z-index: -1;
}

body::before {

  width: 380px;
  height: 380px;

  background: rgba(123,92,255,0.18);

  top: -120px;
  left: -80px;
}

body::after {

  width: 340px;
  height: 340px;

  background: rgba(0,212,255,0.15);

  bottom: -100px;
  right: -80px;
}

/* =========================================================
MOBILE TOGGLE
========================================================= */

.mobile-toggle {

  position: fixed;

  top: 20px;
  left: 20px;

  width: 52px;
  height: 52px;

  border: none;
  border-radius: 18px;

  background: rgba(255,255,255,0.08);

  color: white;

  font-size: 18px;

  display: none;

  cursor: pointer;

  z-index: 1200;

  backdrop-filter: var(--blur);

  transition: 0.3s ease;
}

.mobile-toggle:hover {

  transform: scale(1.08);

  background: rgba(255,255,255,0.14);
}

/* =========================================================
SIDEBAR
========================================================= */

.sidebar {

  position: fixed;

  top: 0;
  left: 0;

  width: 300px;
  height: 100vh;

  background: rgba(8,12,24,0.95);

  backdrop-filter: blur(24px);

  border-right: 1px solid var(--border);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 28px;

  z-index: 1100;
}

/* BRAND */

.sidebar-brand {

  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 45px;
}

.brand-icon {

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 20px;

  background: var(--gradient-main);

  font-size: 1.5rem;
  font-weight: 800;

  box-shadow:
    0 14px 40px rgba(0,212,255,0.18);
}

.brand-text {

  font-size: 1.7rem;

  font-family: "Syne", sans-serif;
  font-weight: 800;
}

/* NAVIGATION */

.sidebar-nav {

  display: flex;
  flex-direction: column;

  gap: 12px;
}

.sidebar-nav a {

  position: relative;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;

  border-radius: 18px;

  color: rgba(255,255,255,0.7);

  overflow: hidden;

  transition: 0.35s ease;
}

.sidebar-nav a::before {

  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(123,92,255,0.15),
    rgba(0,212,255,0.12)
  );

  opacity: 0;

  transition: 0.35s ease;
}

.sidebar-nav a:hover::before,
.sidebar-nav .active::before {
  opacity: 1;
}

.sidebar-nav a:hover,
.sidebar-nav .active {

  color: white;

  transform: translateX(6px);
}

.sidebar-nav i {

  width: 24px;

  font-size: 1rem;
}

/* FOOTER */

.sidebar-footer {

  display: flex;
  gap: 14px;
}

.sidebar-footer a {

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  background: rgba(255,255,255,0.08);

  transition: 0.3s ease;
}

.sidebar-footer a:hover {

  background: var(--gradient-main);

  transform: translateY(-4px);
}

.sidebar-overlay {

  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.55);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s ease;

  z-index: 1000;
}

.sidebar-overlay.active {

  opacity: 1;
  visibility: visible;
}

.main-home {

  margin-left: 300px;

  padding: 30px;
}
.navbar {

  position: sticky;
  top: 20px;

  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 24px;

  padding: 20px 28px;

  margin-bottom: 36px;

  border-radius: var(--radius-lg);

  background: rgba(255,255,255,0.05);

  border: 1px solid var(--border);

  backdrop-filter: blur(18px);

  box-shadow: var(--shadow-main);
}

/* SEARCH */

.search-bar {

  flex: 1;
  max-width: 480px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 20px;

  border-radius: 18px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.05);
}

.search-bar i {
  color: rgba(255,255,255,0.6);
}

.search-bar input {

  width: 100%;

  border: none;
  outline: none;

  background: transparent;

  color: white;

  font-size: 15px;
}

.search-bar input::placeholder {
  color: rgba(255,255,255,0.45);
}

/* RIGHT */

.nav-right {

  display: flex;
  align-items: center;
  gap: 16px;
}

/* BUTTONS */

.nav-btn,
.hero-btn {

  border: none;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 15px 24px;

  border-radius: 18px;

  font-weight: 700;

  transition: 0.35s ease;
}

.nav-btn:hover,
.hero-btn:hover {

  transform: translateY(-4px);
}

.primary-btn {

  background: var(--gradient-main);

  color: white;

  box-shadow:
    0 14px 40px rgba(0,212,255,0.2);
}

.outline-btn,
.secondary-btn {

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.08);

  color: white;
}

/* PROFILE */

.profile {

  position: relative;
}

.profile img {

  width: 56px;
  height: 56px;

  border-radius: 50%;

  object-fit: cover;

  border: 3px solid rgba(255,255,255,0.12);
}

.profile::after {

  content: "";

  position: absolute;

  width: 14px;
  height: 14px;

  background: #00ff95;

  border-radius: 50%;

  bottom: 4px;
  right: 4px;

  border: 2px solid #0a0f1e;
}

/* =========================================================
HERO
========================================================= */

.hero-section {

  position: relative;

  overflow: hidden;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 80px;

  padding: 90px 70px;

  margin-bottom: 40px;

  border-radius: 38px;

  background:
    radial-gradient(
      circle at top left,
      rgba(123,92,255,0.22),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0,212,255,0.18),
      transparent 35%
    ),
    rgba(255,255,255,0.04);

  border: 1px solid var(--border);

  backdrop-filter: blur(24px);

  box-shadow: var(--shadow-main);
}

/* GLOW */

.hero-section::before,
.hero-section::after {

  content: "";

  position: absolute;

  border-radius: 50%;

  filter: blur(80px);
}

.hero-section::before {

  width: 260px;
  height: 260px;

  background: rgba(123,92,255,0.22);

  top: -100px;
  left: -50px;
}

.hero-section::after {

  width: 240px;
  height: 240px;

  background: rgba(0,212,255,0.18);

  bottom: -100px;
  right: -50px;
}

/* HERO CONTENT */

.hero-badge {

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 20px;

  border-radius: 999px;

  background: rgba(255,255,255,0.08);

  margin-bottom: 28px;

  font-size: 14px;
  font-weight: 700;
}

.hero-section h1 {

  font-size: clamp(3rem, 7vw, 5.8rem);

  line-height: 1;

  margin-bottom: 28px;

  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.hero-section h1 span {

  background: linear-gradient(
    90deg,
    #00d4ff,
    #7b5cff,
    #ff4fd8
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section p {

  max-width: 620px;

  color: var(--text-secondary);

  line-height: 1.9;

  font-size: 1.05rem;

  margin-bottom: 40px;
}

/* ACTIONS */

.hero-actions {

  display: flex;
  gap: 18px;

  margin-bottom: 45px;

  flex-wrap: wrap;
}

/* STATS */

.hero-stats-row {

  display: flex;
  gap: 20px;

  flex-wrap: wrap;
}

.mini-stat {

  min-width: 150px;

  padding: 24px;

  border-radius: 24px;

  background: rgba(255,255,255,0.06);

  border: 1px solid rgba(255,255,255,0.06);

  transition: 0.35s ease;
}

.mini-stat:hover {

  transform: translateY(-5px);

  background: rgba(255,255,255,0.09);
}

.mini-stat h3 {

  font-size: 2rem;

  margin-bottom: 8px;
}

.mini-stat span {
  color: rgba(255,255,255,0.6);
}

.dashboard-preview {

  width: 100%;
  max-width: 500px;

  border-radius: 32px;

  overflow: hidden;

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(24px);

  box-shadow:
    0 24px 60px rgba(0,0,0,0.45);
}

.preview-top {

  display: flex;
  gap: 10px;

  padding: 18px;

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.preview-top span {

  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: rgba(255,255,255,0.3);
}

.preview-grid {

  display: grid;
  grid-template-columns: repeat(2,1fr);

  gap: 18px;

  padding: 24px;
}

.preview-card {

  min-height: 160px;

  padding: 28px;

  border-radius: 24px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: 0.35s ease;
}

.preview-card:hover {

  transform: scale(1.03);
}

.preview-card i {
  font-size: 1.8rem;
}

.purple-card {
  background: linear-gradient(135deg,#7b5cff,#9d7bff);
}

.blue-card {
  background: linear-gradient(135deg,#00d4ff,#00a6ff);
}

.orange-card {
  background: linear-gradient(135deg,#ff8a5b,#ffb26b);
}

.glass-card {

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.08);
}

.stats-grid {

  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));

  gap: 24px;

  margin-bottom: 40px;
}

.stat-card {

  position: relative;

  overflow: hidden;

  padding: 30px;

  border-radius: 30px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.08);

  display: flex;
  align-items: center;

  gap: 20px;

  transition: 0.35s ease;
}

.stat-card:hover {

  transform: translateY(-8px);

  border-color: rgba(0,212,255,0.25);
}

.stat-card::before {

  content: "";

  position: absolute;

  width: 140px;
  height: 140px;

  border-radius: 50%;

  top: -60px;
  right: -40px;

  background: rgba(255,255,255,0.04);
}

/* ICONS */

.stat-icon {

  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  border-radius: 22px;

  font-size: 1.4rem;
}

.orange {
  background: rgba(255,138,91,0.2);
  color: #ffb28d;
}

.purple {
  background: rgba(123,92,255,0.2);
  color: #b7a0ff;
}

.blue {
  background: rgba(0,212,255,0.2);
  color: #73e8ff;
}

.green {
  background: rgba(0,255,179,0.18);
  color: #7affd5;
}

.stat-card h2 {

  font-size: 2.1rem;

  margin-bottom: 6px;
}

.stat-card p {
  color: rgba(255,255,255,0.62);
}

@media (max-width: 1200px) {

  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions,
  .hero-stats-row {
    justify-content: center;
  }
}

@media (max-width: 980px) {

  .mobile-toggle {
    display: block;
  }

  .sidebar {

    transform: translateX(-100%);

    transition: 0.35s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main-home {
    margin-left: 0;
  }

  .navbar {
    margin-top: 75px;
  }
}

@media (max-width: 700px) {

  .main-home {
    padding: 18px;
  }

  .navbar {

    flex-direction: column;
    align-items: stretch;
  }

  .nav-right {
    justify-content: space-between;
  }

  .hero-section {
    padding: 55px 30px;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

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

  .mini-stat {
    width: 100%;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-left: 250px;
  background: #090c15 !important;
  padding: 80px 40px 40px;
  border-top: 1px solid rgb(255 255 255 / 5%) !important;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(235 104 53 / 20%), transparent);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent), #ff8e53);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.footer-col p {
  color: #8a9bc0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #8a9bc0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-col.newsletter .newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-col.newsletter input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 2%);
  border: 1px solid rgb(255 255 255 / 8%);
  color: #fff;
  outline: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.footer-col.newsletter input[type="email"]:focus {
  border-color: var(--accent);
  background: rgb(255 255 255 / 4%);
  box-shadow: 0 0 10px rgb(235 104 53 / 20%);
}

.footer-col.newsletter button {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-col.newsletter button:hover {
  background: #d45c28;
  box-shadow: 0 4px 12px rgb(235 104 53 / 30%);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgb(255 255 255 / 3%);
  border: 1px solid rgb(255 255 255 / 6%);
  color: #8a9bc0;
  transition: all 0.3s ease;
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 4%);
  margin-top: 60px;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: #6a7a94;
  font-size: 13px;
}
/* =========================================================
   NEW COMPONENT STYLES
   ========================================================= */

/* Revenue Overview */
.revenue-stats {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.revenue-stats h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
}
.revenue-stats .trend {
  font-size: 0.9rem;
  font-weight: 600;
}
.revenue-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  gap: 8px;
  margin-top: 10px;
}
.revenue-chart .bar {
  flex: 1;
  background: var(--gradient-main);
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.revenue-chart .bar:hover {
  opacity: 1;
  transform: translateY(-5px);
}

/* Server Status */
.server-status-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.server-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.server-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.server-info i {
  font-size: 1.2rem;
  color: #7b5cff;
}
.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.online {
  background: rgba(0, 255, 179, 0.15);
  color: #7affd5;
}
.status-badge.offline {
  background: rgba(255, 87, 87, 0.15);
  color: #ff5757;
}

/* Top Performers */
.performers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.performer-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.performer-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.performer-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.performer-details strong {
  font-size: 1rem;
  margin-bottom: 2px;
}
.performer-details span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.rank {
  font-weight: 800;
  font-size: 1.1rem;
  font-family: 'Syne', sans-serif;
}
.rank.gold { color: #ffd700; }
.rank.silver { color: #c0c0c0; }
.rank.bronze { color: #cd7f32; }

/* System Load */
.system-load-circle {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.circle-outer {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(#ff4fd8 0% 78%, rgba(255,255,255,0.05) 78% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.circle-inner {
  width: 110px;
  height: 110px;
  background: #0b1021; /* Match card background roughly */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.load-value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.load-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.load-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 15px;
}
.load-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.load-stat-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

/* Upcoming Tasks */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.task-item:hover {
  background: rgba(255,255,255,0.06);
}
.task-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #00d4ff;
  cursor: pointer;
}
.task-text {
  flex: 1;
  font-size: 0.95rem;
}
.task-item input:checked + .task-text {
  text-decoration: line-through;
  color: var(--text-secondary);
}
.task-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.task-tag.urgent { background: rgba(255,87,87,0.15); color: #ff5757; }
.task-tag.medium { background: rgba(245,158,11,0.15); color: #ffd27d; }
.task-tag.low { background: rgba(34,197,94,0.15); color: #7affd5; }

/* =========================================================
   NEW COMPONENTS SECTION
========================================================= */

.new-components-section {
  margin-top: 70px;
}

.section-title-row {
  margin-bottom: 36px;
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-heading span {
  background: linear-gradient(135deg, #7b5cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

.new-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* ── SHARED CARD WRAPPER ── */

.nc-card {
  position: relative;
  overflow: visible;
}

/* ── COPY BUTTON ── */

.nc-copy-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.28s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
  user-select: none;
}

.nc-copy-btn:hover {
  background: linear-gradient(135deg, #7b5cff, #00d4ff);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123,92,255,0.35);
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #555;
}

.analytics-chart {
  width: 100%;
  height: 220px;
  margin-top: 20px;
}

.analytics-chart svg {
  width: 100%;
  height: 100%;
}
/* Hide secret textarea */
.nc-code-storage {
  display: none;
}

/* ── TOAST ── */

.nc-toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b5cff, #00d4ff);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 20px 50px rgba(123,92,255,0.4);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), opacity 0.4s ease;
  z-index: 9999;
  pointer-events: none;
}

.nc-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   1. CRYPTO WALLET

.nc-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,255,179,0.12);
  color: #00ffb3;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(0,255,179,0.2);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,179,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(0,255,179,0); }
}

.wallet-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0 20px;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(123,92,255,0.15), rgba(0,212,255,0.1));
  border: 1px solid rgba(123,92,255,0.2);
}

.wallet-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.wallet-total {
  font-size: 1.9rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}

.wallet-change {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.wallet-change.positive {
  background: rgba(34,197,94,0.12);
  color: #00ffb3;
}

.crypto-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.crypto-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.3s ease;
  cursor: pointer;
}

.crypto-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.crypto-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.btc-icon { background: linear-gradient(135deg, #f7931a, #ffbc41); }
.eth-icon { background: linear-gradient(135deg, #627eea, #a8b5ff); }
.sol-icon { background: linear-gradient(135deg, #9945ff, #14f195); }

.crypto-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.crypto-details strong { font-size: 0.95rem; }
.crypto-details span { font-size: 0.8rem; color: var(--text-secondary); }

.crypto-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.crypto-right strong { font-size: 0.95rem; }

.positive-sm { color: #00ffb3; font-size: 0.8rem; font-weight: 600; }
.negative-sm { color: #ff5757; font-size: 0.8rem; font-weight: 600; }

/* =========================================================
   2. NOTIFICATION CENTER

.notif-count {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b5cff, #00d4ff);
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
}

.notif-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.notif-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
  position: relative;
}

.notif-row.unread {
  background: rgba(123,92,255,0.08);
  border-color: rgba(123,92,255,0.15);
}

.notif-row:hover {
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
}

.notif-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.notif-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.notif-body strong { font-size: 0.9rem; }
.notif-body span { font-size: 0.78rem; color: var(--text-secondary); }

.notif-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7b5cff;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(123,92,255,0.6);
}

.nc-mark-read-btn {
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.nc-mark-read-btn:hover {
  background: linear-gradient(135deg, rgba(123,92,255,0.2), rgba(0,212,255,0.15));
  color: white;
  border-color: rgba(123,92,255,0.3);
}

/* =========================================================
   3. USER ACQUISITION DONUT

.donut-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 12px auto 24px;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.donut-track {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 14;
}

.donut-seg {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dasharray 1s cubic-bezier(.22,.61,.36,1);
}

.seg1 { stroke: #7b5cff; }
.seg2 { stroke: #00d4ff; }
.seg3 { stroke: #ff7a3d; }
.seg4 { stroke: #22c55e; }

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-total {
  font-size: 1.7rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1;
}

.donut-lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.donut-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legend-item strong {
  margin-left: auto;
  color: white;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================================
   4. WEATHER WIDGET

.weather-card {
  background:
    linear-gradient(145deg, rgba(30, 58, 110, 0.6), rgba(12, 22, 48, 0.85)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-color: rgba(100,160,255,0.15);
  overflow: hidden;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.weather-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,200,50,0.2), rgba(255,150,50,0.1));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,200,50,0.2);
}

.weather-sun {
  font-size: 2.2rem;
  color: #ffd700;
  animation: spin-slow 8s linear infinite;
}

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

.weather-temp {
  font-size: 2.4rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.weather-condition {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.weather-loc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 5px;
}

.weather-stats-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}

.weather-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.weather-stat i { font-size: 1.1rem; color: #00d4ff; }
.weather-stat span { font-size: 0.72rem; color: var(--text-secondary); }
.weather-stat strong { font-size: 0.9rem; }

.weather-forecast {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.forecast-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
  cursor: pointer;
}

.forecast-day:hover {
  background: rgba(123,92,255,0.15);
  border-color: rgba(123,92,255,0.3);
  transform: translateY(-3px);
}

.forecast-day span { font-size: 0.72rem; color: var(--text-secondary); }
.forecast-day i { font-size: 1rem; color: #ffd700; }
.forecast-day strong { font-size: 0.85rem; }

/* =========================================================
   5. QUICK NOTES

.add-note-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #7b5cff, #00d4ff);
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.3s ease;
  box-shadow: 0 6px 20px rgba(123,92,255,0.35);
}

.add-note-btn:hover {
  transform: rotate(90deg) scale(1.1);
}

.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sticky-note {
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.sticky-note:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.note-purple { background: linear-gradient(135deg, rgba(123,92,255,0.18), rgba(123,92,255,0.08)); border-color: rgba(123,92,255,0.25); }
.note-blue   { background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(0,212,255,0.06)); border-color: rgba(0,212,255,0.2); }
.note-orange { background: linear-gradient(135deg, rgba(255,122,61,0.18), rgba(255,122,61,0.07)); border-color: rgba(255,122,61,0.25); }
.note-green  { background: linear-gradient(135deg, rgba(34,197,94,0.16), rgba(34,197,94,0.06)); border-color: rgba(34,197,94,0.22); }

.note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.note-purple .note-dot { background: #7b5cff; }
.note-blue   .note-dot { background: #00d4ff; }
.note-orange .note-dot { background: #ff7a3d; }
.note-green  .note-dot { background: #22c55e; }

.note-del {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s ease;
  opacity: 0;
}

.sticky-note:hover .note-del { opacity: 1; }

.note-del:hover {
  background: rgba(255,87,87,0.25);
  color: #ff5757;
  transform: scale(1.1);
}

.note-area {
  width: 100%;
  min-height: 70px;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: rgba(255,255,255,0.88);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
}

.note-area::placeholder { color: rgba(255,255,255,0.3); }

/* ── NOTE ANIMATIONS ── */

@keyframes noteIn {
  from { opacity: 0; transform: scale(0.7) rotate(-4deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes noteOut {
  to { opacity: 0; transform: scale(0.7) rotate(4deg); }
}

/* =========================================================
   COPY CODE FUNCTIONALITY

.nc-code-storage {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.nc-copy-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(123, 92, 255, 0.15);
  border: 1px solid rgba(123, 92, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #7b5cff;
  font-size: 1rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.nc-copy-btn:hover {
  background: rgba(123, 92, 255, 0.25);
  border-color: rgba(123, 92, 255, 0.5);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(123, 92, 255, 0.3);
}

.nc-copy-btn i {
  font-size: 1rem;
}

.copy-label {
  display: none;
}

/* Toast Notification */
#ncToast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #7b5cff, #00d4ff);
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(123, 92, 255, 0.4);
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

#ncToast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.skills-section {
  max-width: 600px;
  margin: 2rem auto;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}

.skill-bar {
  position: relative;
  background: #222;
  border-radius: 6px;
  margin: 1rem 0;
  height: 30px;
  overflow: hidden;
}

.skill-bar::before {
  content: attr(data-skill) " - " attr(data-level) "%";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #fff;
  z-index: 2;
}

.skill-fill {
  height: 100%;
  width: 0;
  transition: width 2s ease-in;
}

.skill-fill.solid {
  background: #7f5cff;
}

.skill-fill.gradient {
  background: linear-gradient(90deg, #7f5cff, #00d4ff);
}
