
:root {
      --bg: #080a12;
      --bg-soft: #0f1322;
      --card: rgba(18, 23, 41, 0.78);
      --card-strong: rgba(24, 31, 55, 0.94);
      --text: #f4f7fb;
      --muted: #a9b2c7;
      --muted-2: #7e88a3;
      --primary: #8b5cf6;
      --secondary: #22d3ee;
      --accent: #f59e0b;
      --danger: #ef4444;
      --success: #22c55e;
      --border: rgba(255, 255, 255, 0.1);
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
      --radius: 24px;
      --max: 1180px;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at 15% 10%, rgba(139, 92, 246, 0.28), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.16), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.13), transparent 28%),
        var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 58px 58px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 85%);
      z-index: -2;
    }

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

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: min(var(--max), calc(100% - 36px));
      margin: 0 auto;
    }

    .navbar {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(20px);
      background: rgba(8, 10, 18, 0.72);
      border-bottom: 1px solid var(--border);
    }

    .nav-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 900;
      letter-spacing: -0.04em;
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      display: grid;
      place-items: center;
      box-shadow: 0 0 34px rgba(139, 92, 246, 0.42);
      font-family: "Cinzel", serif;
      font-weight: 900;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 18px;
      color: var(--muted);
      font-size: 0.94rem;
      font-weight: 600;
    }

    .nav-links a:hover {
      color: var(--text);
    }

    .nav-cta {
      padding: 10px 16px;
      border: 1px solid var(--border);
      border-radius: 999px;
      background: rgba(255,255,255,0.05);
    }

    .hero {
      min-height: calc(100vh - 76px);
      display: grid;
      align-items: center;
      padding: 84px 0 60px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 44px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 13px;
      border: 1px solid rgba(139, 92, 246, 0.28);
      border-radius: 999px;
      color: #d8c9ff;
      background: rgba(139, 92, 246, 0.1);
      font-size: 0.88rem;
      font-weight: 700;
      margin-bottom: 22px;
    }

    .hero h1 {
      font-size: clamp(2.8rem, 7vw, 6.6rem);
      line-height: 0.94;
      letter-spacing: -0.08em;
      margin-bottom: 24px;
    }

    .gradient-text {
      background: linear-gradient(135deg, #fff, #c4b5fd 35%, #67e8f9 70%, #fcd34d);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero p {
      color: var(--muted);
      max-width: 720px;
      font-size: 1.08rem;
      margin-bottom: 30px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 36px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 13px 18px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid var(--border);
      transition: 0.2s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), #6d28d9);
      color: #fff;
      box-shadow: 0 12px 34px rgba(139, 92, 246, 0.32);
    }

    .btn-ghost {
      background: rgba(255,255,255,0.05);
      color: var(--text);
    }

    .btn:hover {
      transform: translateY(-2px);
      border-color: rgba(255,255,255,0.24);
    }

    .quick-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }

    .stat {
      padding: 16px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.045);
      border-radius: 18px;
    }

    .stat strong {
      display: block;
      font-size: 1.4rem;
      line-height: 1.1;
    }

    .stat span {
      color: var(--muted-2);
      font-size: 0.86rem;
    }

    .profile-card {
      position: relative;
      padding: 26px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
      border-radius: 32px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .profile-card::before {
      content: "";
      position: absolute;
      width: 240px;
      height: 240px;
      border-radius: 50%;
      background: rgba(139, 92, 246, 0.24);
      filter: blur(60px);
      top: -80px;
      right: -80px;
    }

    .avatar {
      position: relative;
      height: 290px;
      border-radius: 26px;
      background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(34, 211, 238, 0.18)),
        url("https://images.unsplash.com/photo-1518779578993-ec3579fee39f?q=80&w=1200&auto=format&fit=crop") center/cover;
      border: 1px solid rgba(255,255,255,0.14);
      margin-bottom: 22px;
      overflow: hidden;
    }

    .avatar::after {
      content: "Developer • Game Creator • Worldbuilder";
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      padding: 12px 14px;
      border-radius: 16px;
      background: rgba(8, 10, 18, 0.76);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255,255,255,0.12);
      font-weight: 800;
      font-size: 0.92rem;
    }

    .profile-list {
      display: grid;
      gap: 12px;
      position: relative;
    }

    .profile-list div {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      color: var(--muted);
    }

    .profile-list b {
      color: var(--text);
    }

    section {
      padding: 88px 0;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 24px;
      margin-bottom: 34px;
    }

    .section-kicker {
      color: var(--secondary);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-size: 0.78rem;
      margin-bottom: 9px;
    }

    .section-title {
      font-size: clamp(2rem, 4vw, 3.5rem);
      letter-spacing: -0.06em;
      line-height: 1;
    }

    .section-desc {
      color: var(--muted);
      max-width: 560px;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .card {
      border: 1px solid var(--border);
      background: var(--card);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.18);
      transition: 0.22s ease;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: rgba(139, 92, 246, 0.36);
      background: var(--card-strong);
    }

    .card h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      letter-spacing: -0.03em;
    }

    .card p,
    .card li {
      color: var(--muted);
    }

    .card ul {
      padding-left: 19px;
      display: grid;
      gap: 8px;
      margin-top: 12px;
    }

    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 14px;
    }

    .tag {
      padding: 8px 11px;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 999px;
      background: rgba(255,255,255,0.04);
      color: #dce3f5;
      font-size: 0.86rem;
      font-weight: 700;
    }

    .tag.hot {
      border-color: rgba(139, 92, 246, 0.34);
      background: rgba(139, 92, 246, 0.12);
      color: #e7ddff;
    }

    .timeline {
      position: relative;
      display: grid;
      gap: 18px;
    }

    .timeline-item {
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 20px;
      padding: 22px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.045);
      border-radius: 22px;
    }

    .timeline-date {
      color: var(--accent);
      font-weight: 900;
    }

    .timeline-content h3 {
      margin-bottom: 6px;
    }

    .timeline-content p {
      color: var(--muted);
    }

    .project-card {
      min-height: 290px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      position: relative;
    }

    .project-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 20% 10%, rgba(139, 92, 246, 0.2), transparent 35%);
      pointer-events: none;
    }

    .project-top {
      position: relative;
    }

    .project-icon {
      width: 54px;
      height: 54px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.14));
      border: 1px solid rgba(255,255,255,0.14);
      margin-bottom: 18px;
      font-size: 1.4rem;
    }

    .progress-list {
      display: grid;
      gap: 14px;
    }

    .progress-row {
      display: grid;
      gap: 8px;
    }

    .progress-label {
      display: flex;
      justify-content: space-between;
      font-weight: 800;
      color: #e9eefb;
    }

    .bar {
      height: 10px;
      background: rgba(255,255,255,0.08);
      border-radius: 999px;
      overflow: hidden;
    }

    .bar span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
    }

    .worldbuilding {
      background:
        linear-gradient(180deg, rgba(139, 92, 246, 0.06), rgba(8, 10, 18, 0)),
        rgba(255,255,255,0.02);
      border-block: 1px solid var(--border);
    }

    .lore-card {
      min-height: 230px;
    }

    .lore-card h3 {
      font-family: "Cinzel", serif;
      color: #f5e7c8;
    }

    .contact-box {
      display: grid;
      grid-template-columns: 1fr 0.8fr;
      gap: 24px;
      align-items: stretch;
      padding: 32px;
      border: 1px solid rgba(139, 92, 246, 0.25);
      border-radius: 34px;
      background:
        radial-gradient(circle at 0 0, rgba(139, 92, 246, 0.22), transparent 32%),
        radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.12), transparent 30%),
        rgba(255,255,255,0.045);
      box-shadow: var(--shadow);
    }

    .contact-box h2 {
      font-size: clamp(2rem, 4vw, 4rem);
      line-height: 1;
      letter-spacing: -0.06em;
      margin-bottom: 16px;
    }

    .contact-links {
      display: grid;
      gap: 12px;
    }

    .contact-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 16px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.055);
      color: var(--muted);
      font-weight: 800;
    }

    footer {
      padding: 34px 0;
      color: var(--muted-2);
      border-top: 1px solid var(--border);
      text-align: center;
    }

    .mobile-menu-note {
      display: none;
      color: var(--muted-2);
      font-size: 0.85rem;
    }

    @media (max-width: 980px) {
      .hero-grid,
      .grid-2,
      .contact-box {
        grid-template-columns: 1fr;
      }

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

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

      .nav-links {
        display: none;
      }

      .mobile-menu-note {
        display: block;
      }
    }

    @media (max-width: 640px) {
      .container {
        width: min(100% - 24px, var(--max));
      }

      .hero {
        padding-top: 48px;
      }

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

      .timeline-item {
        grid-template-columns: 1fr;
      }

      .section-head {
        display: block;
      }

      .profile-card {
        padding: 18px;
      }
    }
  

    .fade-up {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.9s ease, transform 0.9s ease;
    }

    .fade-up.show {
      opacity: 1;
      transform: translateY(0);
    }

    .floating {
      animation: floating 5s ease-in-out infinite;
    }

    @keyframes floating {
      0% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-12px);
      }
      100% {
        transform: translateY(0px);
      }
    }

    .glow {
      position: relative;
      overflow: hidden;
    }

    .glow::after {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 55%);
      animation: rotateGlow 10s linear infinite;
    }

    @keyframes rotateGlow {
      from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(360deg);
      }
    }

    .music-button {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 200;
      width: 62px;
      height: 62px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.15);
      background: linear-gradient(135deg, var(--primary), #312e81);
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: 0 12px 30px rgba(139,92,246,0.45);
      transition: 0.25s ease;
    }

    .music-button:hover {
      transform: scale(1.08);
    }

    .hero h1 {
      animation: titleReveal 1.3s ease;
    }

    @keyframes titleReveal {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .particle {
      position: fixed;
      width: 4px;
      height: 4px;
      background: rgba(255,255,255,0.45);
      border-radius: 50%;
      pointer-events: none;
      animation: particleMove linear infinite;
      z-index: -1;
    }

    @keyframes particleMove {
      from {
        transform: translateY(0px);
        opacity: 0;
      }
      20% {
        opacity: 1;
      }
      to {
        transform: translateY(-120vh);
        opacity: 0;
      }
    }
