    @theme {
      --color-night-950: #0d0a1a;
      --color-night-900: #110e24;
      --color-night-800: #1a1535;
      --color-night-700: #221d44;
      --color-night-600: #2e2660;
      --color-purple-glow: #7c3aed;
      --color-purple-soft: #a855f7;
      --color-purple-light: #c084fc;
      --color-lavender: #d4b8ff;
      --color-moon-white: #f0e8ff;
      --color-pink-soft: #f0abfc;
      --color-blue-mist: #93c5fd;
      --color-purple-50:  #faf5ff;
      --color-purple-100: #f3e8ff;
      --color-purple-200: #e9d5ff;
      --color-purple-300: #d8b4fe;
      --color-purple-400: #c084fc;
      --color-purple-500: #a855f7;
      --color-purple-600: #9333ea;
      --color-purple-700: #7c3aed;
      --color-purple-800: #6b21a8;
      --color-purple-900: #581c87;
      --color-purple-950: #3b0764;
      --font-family-sans: 'Inter', sans-serif;
      --font-family-mono: 'Fira Code', monospace;
    }

    /* ── Opacity-safe text helpers (bypass color-mix/oklab bug in Tailwind v4 CDN) ── */
    .txt-dim-80, .txt-dim-80 * { color: rgba(233, 213, 255, 0.85) !important; }
    .txt-dim-70, .txt-dim-70 * { color: rgba(216, 180, 254, 0.75) !important; }
    .txt-dim-65, .txt-dim-65 * { color: rgba(192, 132, 252, 0.70) !important; }
    .txt-dim-60, .txt-dim-60 * { color: rgba(192, 132, 252, 0.65) !important; }
    .txt-dim-55, .txt-dim-55 * { color: rgba(216, 180, 254, 0.60) !important; }
    .txt-dim-50, .txt-dim-50 * { color: rgba(192, 132, 252, 0.55) !important; }
    .txt-dim-40, .txt-dim-40 * { color: rgba(192, 132, 252, 0.50) !important; }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-family-sans);
      background-color: var(--color-night-950);
      color: #e2d9f3;
      overflow-x: hidden;
    }

    /* Stars background */
    .stars {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.08) 0%, transparent 50%),
        #0d0a1a;
    }

    .stars::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 8%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 20%, rgba(255,255,255,0.9) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 5%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 35% 50%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 65%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 50% 55%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 60%, rgba(200,160,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 75%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 85% 70%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 85%, rgba(200,160,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 65% 90%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 50%, rgba(200,160,255,0.4) 0%, transparent 100%);
    }

    /* Moon glow */
    .moon-glow {
      position: fixed;
      top: -120px;
      left: 50%;
      transform: translateX(-50%);
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(240,232,255,0.15) 0%, rgba(168,85,247,0.08) 40%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    /* Glow text */
    .text-glow {
      text-shadow: 0 0 20px rgba(192,132,252,0.5), 0 0 40px rgba(168,85,247,0.3);
    }

    /* Glass card */
    .glass-card {
      background: rgba(26, 21, 53, 0.6);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(168, 85, 247, 0.15);
    }

    .glass-card:hover {
      border-color: rgba(168, 85, 247, 0.35);
      background: rgba(34, 29, 68, 0.7);
    }

    /* Nav bar */
    .navbar-glass {
      background: rgba(13, 10, 26, 0.75);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    }

    /* Hero text & Title shadows */
    .hero-text-shadow {
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.7);
    }
    .hero-title-shadow {
      text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95), 0 0 40px rgba(168, 85, 247, 0.5);
    }

    /* Hero -> About transition gradient (dynamic from hero image) */
    .hero-about-gradient {
      --hero-bottom-rgb: 34, 29, 68;
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: clamp(120px, 18vh, 220px);
      pointer-events: none;
      z-index: 2;
      background: linear-gradient(
        to bottom,
        rgba(var(--hero-bottom-rgb), 0) 0%,
        rgba(var(--hero-bottom-rgb), 0.5) 42%,
        rgba(var(--hero-bottom-rgb), 0.84) 72%,
        rgba(13, 10, 26, 0.98) 100%
      );
    }

    /* Social pill & Blur buttons (Bordersız, buğulu, içi gölgesiz, sadece dış gölgeli) */
    .social-pill, .blur-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 20px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.13);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: none !important;
      color: #ffffff !important;
      font-size: 0.875rem;
      font-weight: 500;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
      white-space: nowrap;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
      text-shadow: none !important;
    }

    .social-pill:hover, .blur-btn:hover {
      background: rgba(255, 255, 255, 0.24);
      color: #ffffff !important;
      transform: translateY(-2px);
      box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65), 0 0 24px rgba(192, 132, 252, 0.3);
    }

    .social-pill img, .blur-btn img, .social-pill svg, .blur-btn svg {
      width: 18px;
      height: 18px;
      object-fit: contain;
      flex-shrink: 0;
      filter: none !important;
    }

    /* Section title */
    .section-line {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .section-line::before {
      content: '';
      display: block;
      width: 3px;
      height: 1.4em;
      background: linear-gradient(to bottom, #7c3aed, #c084fc);
      border-radius: 2px;
    }

    /* Tag badge */
    .tag {
      display: inline-block;
      padding: 2px 10px;
      border-radius: 6px;
      font-size: 0.72rem;
      font-family: var(--font-family-mono);
      font-weight: 500;
      background: rgba(124, 58, 237, 0.15);
      border: 1px solid rgba(168, 85, 247, 0.3);
      color: #c084fc;
    }

    /* Project card */
    .project-card {
      position: relative;
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .project-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 48px rgba(124, 58, 237, 0.2);
    }

    .project-card .card-glow {
      position: absolute;
      top: -40px;
      right: -40px;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      pointer-events: none;
      opacity: 0.08;
      transition: opacity 0.3s;
    }

    .project-card:hover .card-glow {
      opacity: 0.18;
    }

    /* Status badge */
    .badge-wip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 600;
      background: rgba(251, 191, 36, 0.12);
      border: 1px solid rgba(251, 191, 36, 0.3);
      color: #fbbf24;
    }

    .badge-live {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 600;
      background: rgba(52, 211, 153, 0.12);
      border: 1px solid rgba(52, 211, 153, 0.3);
      color: #34d399;
    }

    .dot-pulse {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
      animation: pulse 1.5s ease-in-out infinite;
    }

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

    /* Scroll reveal animation */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Skill bar */
    .skill-bar-track {
      height: 4px;
      background: rgba(124, 58, 237, 0.15);
      border-radius: 2px;
      overflow: hidden;
    }

    .skill-bar-fill {
      height: 100%;
      border-radius: 2px;
      background: linear-gradient(to right, #7c3aed, #c084fc);
      width: 0;
      transition: width 1s ease;
    }

    /* Profile avatar */
    .avatar-ring {
      border-radius: 50%;
      border: 3px solid transparent;
      background: linear-gradient(#1a1535, #1a1535) padding-box,
                  linear-gradient(135deg, #7c3aed, #c084fc, #7c3aed) border-box;
    }

    /* Meteor animation */
    .meteor {
      position: fixed;
      width: 2px;
      height: 60px;
      background: linear-gradient(to bottom, rgba(240,232,255,0.8), transparent);
      border-radius: 1px;
      animation: meteor-fall linear infinite;
      pointer-events: none;
      z-index: 0;
    }

    @keyframes meteor-fall {
      0% { transform: translateY(-80px) translateX(0) rotate(15deg); opacity: 1; }
      100% { transform: translateY(100vh) translateX(-200px) rotate(15deg); opacity: 0; }
    }

    /* Smooth section transitions */
    section {
      position: relative;
      z-index: 1;
      /* Fix: scroll offset so fixed navbar doesn't cover section headings */
      scroll-margin-top: 72px;
    }

    /* Link hover underline */
    .link-purple {
      color: #c084fc;
      text-decoration: none;
      position: relative;
    }

    .link-purple::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      background: #c084fc;
      transition: width 0.2s ease;
    }

    .link-purple:hover::after {
      width: 100%;
    }

    /* Mobile menu */
    #mobile-menu {
      display: none;
    }

    #mobile-menu.open {
      display: flex;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
      width: 6px;
    }

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

    ::-webkit-scrollbar-thumb {
      background: rgba(124, 58, 237, 0.4);
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(168, 85, 247, 0.6);
    }
