  *,
  *::before,
  *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
  }

  body {
      font-family: 'Inter', sans-serif;
      background: #0a0a0b;
      color: #fafaf9;
      overflow-x: hidden;
      cursor: none;
  }

  /* ── Selection ── */
  ::selection {
      background: rgba(232, 197, 71, 0.3);
      color: #fafaf9;
  }

  /* ── Scrollbar ── */
  ::-webkit-scrollbar {
      width: 5px;
  }

  ::-webkit-scrollbar-track {
      background: #0a0a0b;
  }

  ::-webkit-scrollbar-thumb {
      background: #222225;
      border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: #e8c547;
  }

  /* ── Custom Cursor ── */
  .cursor-dot {
      width: 8px;
      height: 8px;
      background: #e8c547;
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 99999;
      transition: transform 0.1s ease;
      mix-blend-mode: difference;
  }

  .cursor-ring {
      width: 40px;
      height: 40px;
      border: 1.5px solid rgba(232, 197, 71, 0.35);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 99998;
      transition: all 0.18s ease-out;
      mix-blend-mode: difference;
  }

  .cursor-ring.hover {
      transform: scale(2);
      border-color: rgba(232, 197, 71, 0.6);
      background: rgba(232, 197, 71, 0.05);
  }

  .cursor-dot.hover {
      transform: scale(0);
  }

  @media (max-width: 1024px) {

      .cursor-dot,
      .cursor-ring {
          display: none !important;
      }

      body {
          cursor: auto;
      }
  }

  /* ── Noise / Grain ── */
  .grain::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9990;
      opacity: 0.5;
  }

  /* ── Hero ── */
  .hero-gradient {
      background:
          radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232, 197, 71, 0.06), transparent 60%),
          radial-gradient(ellipse 60% 50% at 20% 80%, rgba(167, 139, 250, 0.04), transparent 50%),
          radial-gradient(ellipse 40% 30% at 90% 90%, rgba(244, 114, 182, 0.03), transparent 40%);
  }

  .hero-name {
      font-size: clamp(3rem, 10vw, 9rem);
      line-height: 0.9;
      letter-spacing: -0.04em;
  }

  .hero-stroke {
      -webkit-text-stroke: 1.5px rgba(232, 197, 71, 0.4);
      -webkit-text-fill-color: transparent;
      transition: all 0.5s ease;
  }

  .hero-stroke:hover {
      -webkit-text-fill-color: #e8c547;
      -webkit-text-stroke: 1.5px #e8c547;
  }

  /* ── Gradient Text ── */
  .grad-text {
      background: linear-gradient(135deg, #e8c547 0%, #f0d76b 40%, #fb923c 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }

  .grad-text-cool {
      background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 50%, #4ecdc4 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
  }

  /* ── Section ── */
  .sec {
      padding: 100px 0;
  }

  @media (min-width: 768px) {
      .sec {
          padding: 130px 0;
      }
  }

  @media (min-width: 1024px) {
      .sec {
          padding: 160px 0;
      }
  }

  /* ── Accent Line ── */
  .acc-line {
      width: 32px;
      height: 2px;
      background: linear-gradient(90deg, #e8c547, transparent);
      border-radius: 2px;
  }

  /* ── Cards ── */
  .card {
      background: #111113;
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: 24px;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
  }

  .card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(232, 197, 71, 0), rgba(232, 197, 71, 0));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      transition: background 0.5s ease;
  }

  .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
      border-color: rgba(232, 197, 71, 0.08);
  }

  .card:hover::before {
      background: linear-gradient(135deg, rgba(232, 197, 71, 0.2), rgba(167, 139, 250, 0.1), transparent 60%);
  }

  /* ── Project Cards ── */
  .project-card {
      border-radius: 20px;
      overflow: hidden;
      position: relative;
  }

  .project-card .overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 11, 0.95) 100%);
      opacity: 0;
      transition: opacity 0.5s ease;
  }

  .project-card:hover .overlay {
      opacity: 1;
  }

  .project-card .project-info {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 24px;
      transform: translateY(20px);
      opacity: 0;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .project-card:hover .project-info {
      transform: translateY(0);
      opacity: 1;
  }

  .project-card img {
      transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .project-card:hover img {
      transform: scale(1.08);
  }

  /* ── Skill Bar ── */
  .skill-bar {
      height: 4px;
      background: #1a1a1d;
      border-radius: 4px;
      overflow: hidden;
  }

  .skill-fill {
      height: 100%;
      border-radius: 4px;
      background: linear-gradient(90deg, #e8c547, #f0d76b);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .skill-fill.animated {
      transform: scaleX(1);
  }

  /* ── Timeline ── */
  .timeline-line {
      position: absolute;
      left: 19px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, #e8c547, #1a1a1d);
  }

  .timeline-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 2.5px solid #e8c547;
      background: #0a0a0b;
      position: absolute;
      left: 14px;
      top: 6px;
      z-index: 2;
  }

  .timeline-dot::after {
      content: '';
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      background: rgba(232, 197, 71, 0.1);
      animation: dotPulse 2.5s ease-in-out infinite;
  }

  @keyframes dotPulse {

      0%,
      100% {
          transform: scale(1);
          opacity: 0.5;
      }

      50% {
          transform: scale(1.5);
          opacity: 0;
      }
  }

  /* ── Floating ── */
  @keyframes floatY {

      0%,
      100% {
          transform: translateY(0);
      }

      50% {
          transform: translateY(-12px);
      }
  }

  .float-slow {
      animation: floatY 5s ease-in-out infinite;
  }

  .float-med {
      animation: floatY 3.5s ease-in-out infinite;
  }

  @keyframes spin-slow {
      0% {
          transform: rotate(0deg);
      }

      100% {
          transform: rotate(360deg);
      }
  }

  .spin-slow {
      animation: spin-slow 20s linear infinite;
  }

  /* ── Marquee ── */
  .marquee-track {
      display: flex;
      animation: marquee 25s linear infinite;
  }

  @keyframes marquee {
      0% {
          transform: translateX(0);
      }

      100% {
          transform: translateX(-50%);
      }
  }

  /* ── Image Wrap ── */
  .img-wrap {
      overflow: hidden;
  }

  .img-wrap img {
      transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .img-wrap:hover img {
      transform: scale(1.06);
  }

  /* ── Buttons ── */
  .btn-accent {
      background: linear-gradient(135deg, #e8c547, #d4a93a);
      color: #0a0a0b;
      font-weight: 700;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
  }

  .btn-accent::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #f0d76b, #e8c547);
      opacity: 0;
      transition: opacity 0.4s ease;
  }

  .btn-accent:hover::before {
      opacity: 1;
  }

  .btn-accent:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px -6px rgba(232, 197, 71, 0.35);
  }

  .btn-accent span,
  .btn-accent i {
      position: relative;
      z-index: 1;
  }

  .btn-outline-light {
      border: 1.5px solid rgba(255, 255, 255, 0.12);
      color: #fafaf9;
      transition: all 0.4s ease;
  }

  .btn-outline-light:hover {
      border-color: #e8c547;
      color: #e8c547;
      background: rgba(232, 197, 71, 0.04);
  }

  .btn-ghost {
      color: rgba(255, 255, 255, 0.5);
      transition: all 0.3s ease;
  }

  .btn-ghost:hover {
      color: #e8c547;
  }

  /* ── Nav ── */
  .nav-scrolled {
      background: rgba(10, 10, 11, 0.85);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link {
      position: relative;
      color: rgba(255, 255, 255, 0.4);
      transition: color 0.3s ease;
  }

  .nav-link:hover,
  .nav-link.active {
      color: #fafaf9;
  }

  .nav-link::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 50%;
      width: 0;
      height: 2px;
      background: #e8c547;
      border-radius: 1px;
      transition: all 0.3s ease;
      transform: translateX(-50%);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
      width: 100%;
  }

  /* ── Mobile Menu ── */
  .mob-menu {
      opacity: 0;
      visibility: hidden;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mob-menu.open {
      opacity: 1;
      visibility: visible;
  }

  /* ── Testimonial ── */
  .quote-mark {
      font-family: 'Playfair Display', serif;
      font-size: 72px;
      line-height: 1;
      color: rgba(232, 197, 71, 0.12);
      position: absolute;
      top: 12px;
      left: 20px;
  }

  /* ── Form fields ── */
  .form-field {
      background: #111113;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 14px;
      color: #fafaf9;
      transition: all 0.3s ease;
      outline: none;
  }

  .form-field:focus {
      border-color: rgba(232, 197, 71, 0.3);
      box-shadow: 0 0 0 4px rgba(232, 197, 71, 0.06);
  }

  .form-field::placeholder {
      color: rgba(255, 255, 255, 0.2);
  }

  /* ── Status ── */
  .status-available {
      display: inline-flex;
      align-items: center;
      gap: 8px;
  }

  .status-available::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #4ecdc4;
      animation: dotPulse 2s ease-in-out infinite;
  }

  /* ── Grid Lines (decorative) ── */
  .grid-lines {
      position: absolute;
      inset: 0;
      background-image:
          linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
      background-size: 80px 80px;
      pointer-events: none;
  }

  /* ── Back to Top ── */
  #btt {
      transition: all 0.4s ease;
  }

  #btt.visible {
      opacity: 1 !important;
      visibility: visible !important;
  }

  /* ── Number Style ── */
  .num {
      font-variant-numeric: tabular-nums;
  }

  /* ── Hover Underline ── */
  .hover-line {
      position: relative;
  }

  .hover-line::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 0;
      height: 1px;
      background: #e8c547;
      transition: width 0.4s ease;
  }

  .hover-line:hover::after {
      width: 100%;
  }

  /* ── Rotating Badge ── */
  .rotate-badge {
      animation: spin-slow 15s linear infinite;
  }

  .rotate-badge text {
      font-size: 10px;
      fill: rgba(232, 197, 71, 0.5);
      font-family: 'Space Mono', monospace;
      letter-spacing: 4px;
      text-transform: uppercase;
  }

  /* ── Smooth img placeholder ── */
  .img-placeholder {
      background: linear-gradient(135deg, #1a1a1d, #222225);
  }

  html,
  body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden !important;
      position: relative;
  }

  .main-wrapper,
  .wrapper,
  .page-wrapper,
  .site-wrapper {
      width: 100%;
      overflow: hidden;
  }

  section {
      max-width: 100%;
  }