  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --bg-gradient:
    radial-gradient(circle at 0% 0%, #e8f0ff 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #faeaff 0, transparent 55%),
    linear-gradient(135deg, #f3f6ff, #f8fbff);

    --primary: #8b5bff;
    --accent: #ff57c8;
    --text-main: #1e1e2f;
    --text-soft: #6e6e8a;
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.12);
    --radius-xl: 26px;
    --radius-pill: 999px;
    --transition: 0.2s ease;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
    background: #ffffff;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    animation: pageFadeIn 0.6s ease-out forwards;
  }

  body {
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    display: flex;
    align-items: stretch;
    opacity: 0;
    animation: bodyFadeIn 0.6s ease-out forwards;
  }

  /* Beyaz overlay’in şeffaflaşması */
  @keyframes pageFadeIn {
    to {
      opacity: 0;
    }
  }

  /* Sayfanın kendisinin ortaya çıkması */
  @keyframes bodyFadeIn {
    to {
      opacity: 1;
    }
  }

  .app-shell {
    width: 100%;
    display: flex;
    gap: 0;
  }

  /* SIDEBAR */
  .sidebar {
    width: 80px;
    padding: 24px 16px;
    margin: 30px 0 30px 30px;
    border-radius: 28px;

    /* Floating glass efekti */
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }


  .logo-orb {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: conic-gradient(from 140deg, #8b5bff, #57d4ff, #ff57c8, #8b5bff);
    position: relative;
    box-shadow: 0 8px 24px rgba(139, 91, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .nav-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }

  .nav-item {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1e1e2f;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
  }

  .nav-item--active {
    background: linear-gradient(135deg, #8b5bff, #57d4ff);
    color: #ffffff;
  }

  .nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
  }


  .sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .sidebar-profile {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: url("../media/profile.jpg") center/cover;
    border: 2px solid #fff;
    position: relative;
    z-index: 2;
    cursor: pointer;
  }

  /* PROFIL STACK – alt kısımdaki dikey daireler */
  .sidebar-profile-stack {
    position: relative;
    width: 48px;       /* nav-item ile aynı */
    height: 150px;     /* ÜSTTEKİ İKİ DAİREYİ DE KAPSASIN */
    display: flex;
    align-items: flex-end;  /* profil en altta kalsın */
    justify-content: center;
  }

  /* Üstte çıkan nav-item daireler */
  .sidebar-profile-action {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    pointer-events: none;
    transition:
    opacity var(--transition),
    transform var(--transition);
    z-index: 1;
    font-size: 20px; /* ikon hafif küçük dursun */
  }

  /* Sıralama: profilin hemen üstü */
  .sidebar-profile-profile {
    bottom: 60px;  /* profilin hemen üstünde */
  }

  /* En üst: Çıkış */
  .sidebar-profile-logout {
    bottom: 120px; /* onun da üstünde */
  }

  /* Hover alanı: stack'in herhangi bir yerine gelince aç */
  .sidebar-profile-stack:hover .sidebar-profile-action {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }



  /* MAIN AREA */
  .main {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* TOPBAR */
  .topbar {
    height: 68px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
  }

  .topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .topbar-logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b5bff, #57d4ff);
  }

  .topbar-title-main {
    font-weight: 600;
    font-size: 17px;
  }

  .topbar-title-sub {
    font-size: 12px;
    color: var(--text-soft);
  }

  .pill {
    padding: 6px 14px;
    background: rgba(139, 91, 255, 0.1);
    border-radius: var(--radius-pill);
    color: var(--primary);
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* HERO SECTION */
  .hero {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 40px 20px 50px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    position: relative;
  }

  .hero-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    overflow: visible; 
  }

  /* HERO-WIDE SECTION */
  .hero-wide {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 40px 20px 50px;
    box-shadow: var(--shadow-soft);

    /* ÖNEMLİ KISIMLAR */
    display: flex;
    align-items: flex-start;     /* içerik yukarıdan başlasın */
    justify-content: center;
    overflow: hidden;
    position: relative;
  }

  .hero-inner-wide {
    /* ÖNEMLİ KISIMLAR */
    width: 100%;                /* hero kadar genişle */
    max-width: 100%;            /* daralma yok */
    height: 100%;

    text-align: left;           /* tabloda ortalama olmasın */
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: stretch;       /* iç elemanlar da tam genişlik */
    gap: 14px;
  }


  /* Hero orb kapsayıcı */
  .hero-orb {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbFloat 18s ease-in-out infinite;
  }

  /* Blob SVG alanı */
  .orb-blob {
    width: 100%;
    height: 100%;
    position: relative;

    /* Tek palette – panel renklerine uygun */
    --blob-1: #bb74ff;
    --blob-2: #7c7dff;
    --blob-3: #a0f8ff;
    --blob-4: #ffffff;
  }

  .orb-blob svg {
    width: 100%;
    height: 100%;
  }

  /* Blob grupları */
  .orb-blob .blob {
    animation: blobRotate 25s infinite alternate ease-in-out;
    transform-origin: 50% 50%;
    opacity: 0.7;
  }

  .orb-blob .blob.alt {
    animation-direction: alternate-reverse;
    opacity: 0.3;
  }

  .orb-blob .blob path {
    transform-origin: 50% 50%;
    transform: scale(0.8);
    animation: blob-anim-1 5s infinite alternate cubic-bezier(0.45, 0.2, 0.55, 0.8);
  }

  /* Katmanlara göre renk / blur / farklı animasyonlar */
  .orb-blob .blob-1 path {
    fill: var(--blob-1);
    filter: blur(1rem);
  }

  .orb-blob .blob-2 {
    animation-duration: 18s;
    animation-direction: alternate-reverse;
  }
  .orb-blob .blob-2 path {
    fill: var(--blob-2);
    animation-name: blob-anim-2;
    animation-duration: 7s;
    filter: blur(0.75rem);
    transform: scale(0.78);
  }
  .orb-blob .blob-2.alt {
    animation-direction: alternate;
  }

  .orb-blob .blob-3 {
    animation-duration: 23s;
  }
  .orb-blob .blob-3 path {
    fill: var(--blob-3);
    animation-name: blob-anim-3;
    animation-duration: 6s;
    filter: blur(0.5rem);
    transform: scale(0.76);
  }

  .orb-blob .blob-4 {
    animation-duration: 31s;
    animation-direction: alternate-reverse;
    opacity: 0.9;
  }
  .orb-blob .blob-4 path {
    fill: var(--blob-4);
    animation-name: blob-anim-4;
    animation-duration: 10s;
    filter: blur(10rem);
    transform: scale(0.5);
  }
  .orb-blob .blob-4.alt {
    animation-direction: alternate;
    opacity: 0.8;
  }

  /* Alttaki ışık halkası */
  .hero-orb-glow {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 70px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
    filter: blur(14px);
    opacity: 0.75;
    z-index: -1;
    pointer-events: none;
  }

  /* Orb yukarı-aşağı hafif sallanma */
  @keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
  }

  /* Blobların kendi etrafında dönmesi */
  @keyframes blobRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  /* Path morph animasyonları */
  @keyframes blob-anim-1 {
    0% {
      d: path("M 100 600 q 0 -500, 500 -500 t 500 500 t -500 500 T 100 600 z");
    }
    30% {
      d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z");
    }
    70% {
      d: path("M 100 600 q 0 -400, 500 -500 t 400 500 t -500 500 T 100 600 z");
    }
    100% {
      d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z");
    }
  }

  @keyframes blob-anim-2 {
    0% {
      d: path("M 100 600 q 0 -400, 500 -500 t 400 500 t -500 500 T 100 600 z");
    }
    40% {
      d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z");
    }
    80% {
      d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z");
    }
    100% {
      d: path("M 100 600 q 100 -600, 500 -500 t 400 500 t -500 500 T 100 600 z");
    }
  }

  @keyframes blob-anim-3 {
    0% {
      d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z");
    }
    35% {
      d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z");
    }
    75% {
      d: path("M 100 600 q 100 -600, 500 -500 t 400 500 t -500 500 T 100 600 z");
    }
    100% {
      d: path("M 100 600 q 0 -400, 500 -500 t 400 500 t -500 500 T 100 600 z");
    }
  }

  @keyframes blob-anim-4 {
    0% {
      d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z");
    }
    30% {
      d: path("M 100 600 q 100 -600, 500 -500 t 400 500 t -500 500 T 100 600 z");
    }
    70% {
      d: path("M 100 600 q -50 -400, 500 -500 t 450 550 t -500 500 T 100 600 z");
    }
    100% {
      d: path("M 150 600 q 0 -600, 500 -500 t 500 550 t -500 500 T 150 600 z");
    }
  }

  .hero-title {
    font-size: 28px;
    font-weight: 600;
  }

  .hero-title span {
    background: linear-gradient(90deg, #8b5bff, #57d4ff, #ff57c8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .hero-subtitle {
    font-size: 14px;
    color: var(--text-soft);
  }

  .hero-actions {
    margin-top: 12px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn {
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.75);
    border: none;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;       /* inline-flex: yan yana dursun */
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    text-decoration: none;      /* link alt çizgisi yok */
    color: var(--text-main);    /* metin rengi */
  }

  .btn-primary {
    background: linear-gradient(135deg, #8b5bff, #57d4ff);
    color: #fff;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
  }

  .hero-hint {
    font-size: 12px;
    color: var(--text-soft);
  }

  .dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 999px;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
    margin-right: 6px;
    display: inline-block;
  }

  a {

  }

  /* MOBILE */
  @media (max-width: 768px) {
    .sidebar {
      display: none;
    }

    .main {
      padding: 18px;
    }

    .hero-orb {
      width: 180px;
      height: 180px;
    }
  }

  /* Chrome default siyah outline fix */
  input:focus,
  select:focus,
  textarea:focus {
    outline: none !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  }

  /* Chrome’un kendi özel siyah iç çizgisi */
  input::-webkit-focus-inner {
    border: 0 !important;
    outline: none !important;
  }

  /* Bazı inputlarda görünür olan focus-visible çizgisi */
  input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }