* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      :root {
        --primary: #e31937;
        --primary-dark: #c71530;
        --accent: #ffd700;
        --bg: #0f0f1e;
        --surface: #16162a;
        --text: #e8e8f0;
        --text-dim: #a0a0b8;
        --border: #2a2a3e;
        --success: #4ecca3;
      }
      body {
        font-family: "Crimson Pro", serif;
        background: var(--bg);
        color: var(--text);
        line-height: 1.6;
        overflow-x: hidden;
      }
      .page {
        display: none;
        padding: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
      }
      .page.active {
        display: block;
        animation: fadeIn 0.5s;
      }
      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      nav {
        background: var(--surface);
        padding: 1rem 2rem;
        border-bottom: 2px solid var(--border);
        position: sticky;
        top: 0;
        z-index: 1000;
      }
      nav button {
        background: none;
        border: none;
        color: var(--text-dim);
        font-family: "Unbounded", sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        padding: 0.5rem 1rem;
        margin: 0 0.5rem;
        transition: all 0.3s;
      }
      nav button.active,
      nav button:hover {
        color: var(--primary);
      }

      h1 {
        font-family: "Unbounded", sans-serif;
        font-size: 3rem;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1rem;
      }

      .project-card {
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: 12px;
        padding: 1.5rem;
        margin: 1rem 0;
        cursor: pointer;
        transition: all 0.3s;
      }
      .project-card:hover {
        border-color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(227, 25, 55, 0.2);
      }

      .skill-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin: 2rem 0;
      }
      .skill {
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: 8px;
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s;
      }
      .skill:hover {
        border-color: var(--primary);
        transform: translateY(-5px);
      }

      .hidden-character {
        position: fixed;
        width: 80px;
        height: 80px;
        cursor: pointer;
        z-index: 500;
        opacity: 0;
        animation: fadeInChar 0.5s forwards;
      }
      @keyframes fadeInChar {
        to {
          opacity: 1;
        }
      }

      .hidden-character.top-left {
        top: 120px;
        left: 20px;
      }
      .hidden-character.top-right {
        top: 120px;
        right: 20px;
      }
      .hidden-character.bottom-left {
        bottom: 80px;
        left: 20px;
      }
      .hidden-character.bottom-right {
        bottom: 80px;
        right: 20px;
      }

      .character-reveal {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-radius: 0;
        transition: all 0.3s;
        box-shadow: none;
        position: relative;
        overflow: visible;
      }

      .character-reveal:hover {
        transform: scale(1.1);
        box-shadow: none;
      }

      .character-img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 50%;
        animation: characterFloat 2s ease-in-out infinite;
        filter: drop-shadow(0 0 10px rgba(227, 25, 55, 0.5));
        border: none;
      }

      @keyframes characterFloat {
        0%,
        100% {
          transform: translateY(0) rotate(0deg);
        }
        50% {
          transform: translateY(-10px) rotate(5deg);
        }
      }

      .character-name {
        font-family: "Unbounded", sans-serif;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--primary);
        margin-top: 0.5rem;
        display: none;
        animation: slideUp 0.3s;
        text-transform: uppercase;
      }

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

      .character-reveal.discovered {
        background: transparent;
        border-color: transparent;
      }

      .character-reveal.discovered .character-name {
        display: block;
      }

      .character-reveal.discovered .character-img {
        animation:
          characterDiscovered 0.5s ease-out,
          characterFloat 2s ease-in-out infinite 0.5s;
      }

      @keyframes characterDiscovered {
        0% {
          transform: scale(1) rotate(0deg);
        }
        50% {
          transform: scale(1.3) rotate(360deg);
        }
        100% {
          transform: scale(1) rotate(360deg);
        }
      }

      .character-reveal::before {
        display: none;
      }

      .experience-panel {
        position: relative;
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: 16px;
        padding: 2rem;
        min-height: 200px;
        overflow: hidden;
        margin: 2rem 0;
      }

      .sukuna-slash-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 10;
      }

      .slash-line {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 6px;
        background: linear-gradient(
          90deg,
          transparent,
          var(--primary),
          var(--primary),
          var(--primary),
          transparent
        );
        transform: translateY(-50%) rotate(-15deg);
        box-shadow:
          0 0 30px var(--primary),
          0 0 60px var(--primary),
          0 0 90px rgba(227, 25, 55, 0.5);
        opacity: 0;
      }

      .sukuna-slash-container.slashing .slash-line {
        animation: slashAppear 1.5s ease-out forwards;
      }

      @keyframes slashAppear {
        0% {
          opacity: 0;
        }
        10% {
          opacity: 1;
        }
        80% {
          opacity: 1;
        }
        100% {
          opacity: 0;
        }
      }

      .slash-impact {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      .impact-particle {
        position: absolute;
        width: 6px;
        height: 6px;
        background: var(--primary);
        border-radius: 50%;
        opacity: 0;
        box-shadow: 0 0 10px var(--primary);
      }

      .sukuna-slash-container.slashing .impact-particle:nth-child(1) {
        animation: particle1 0.6s ease-out 0.15s;
      }

      .sukuna-slash-container.slashing .impact-particle:nth-child(2) {
        animation: particle2 0.6s ease-out 0.15s;
      }

      .sukuna-slash-container.slashing .impact-particle:nth-child(3) {
        animation: particle3 0.6s ease-out 0.15s;
      }

      .sukuna-slash-container.slashing .impact-particle:nth-child(4) {
        animation: particle4 0.6s ease-out 0.15s;
      }

      .sukuna-slash-container.slashing .impact-particle:nth-child(5) {
        animation: particle5 0.6s ease-out 0.15s;
      }

      @keyframes particle1 {
        0% {
          opacity: 1;
          transform: translate(0, 0) scale(1);
        }
        100% {
          opacity: 0;
          transform: translate(-60px, -60px) scale(0);
        }
      }

      @keyframes particle2 {
        0% {
          opacity: 1;
          transform: translate(0, 0) scale(1);
        }
        100% {
          opacity: 0;
          transform: translate(60px, -40px) scale(0);
        }
      }

      @keyframes particle3 {
        0% {
          opacity: 1;
          transform: translate(0, 0) scale(1);
        }
        100% {
          opacity: 0;
          transform: translate(-40px, 70px) scale(0);
        }
      }

      @keyframes particle4 {
        0% {
          opacity: 1;
          transform: translate(0, 0) scale(1);
        }
        100% {
          opacity: 0;
          transform: translate(70px, 50px) scale(0);
        }
      }

      @keyframes particle5 {
        0% {
          opacity: 1;
          transform: translate(0, 0) scale(1);
        }
        100% {
          opacity: 0;
          transform: translate(0, -80px) scale(0);
        }
      }

      .sukuna-laugh {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-family: "Unbounded", sans-serif;
        font-size: 3rem;
        font-weight: 900;
        color: var(--primary);
        opacity: 0;
        z-index: 15;
        text-shadow:
          0 0 20px var(--primary),
          0 0 40px var(--primary);
        pointer-events: none;
      }

      .sukuna-slash-container.slashing .sukuna-laugh {
        animation: laughAppear 2s ease-out 0.2s;
      }

      @keyframes laughAppear {
        0% {
          opacity: 0;
          transform: translate(-50%, -50%) scale(0.5) rotate(-10deg);
        }
        15% {
          opacity: 1;
          transform: translate(-50%, -50%) scale(1.3) rotate(5deg);
        }
        30% {
          opacity: 1;
          transform: translate(-50%, -50%) scale(1.1) rotate(-2deg);
        }
        70% {
          opacity: 1;
          transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
        }
        100% {
          opacity: 0;
          transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
        }
      }

      .experience-panel.slashed {
        border-color: var(--primary);
      }

      .panel-top,
      .panel-bottom {
        transition: all 0.6s ease-out;
      }

      .experience-panel.slashed .panel-top {
        animation: topSlide 0.8s ease-out 0.3s forwards;
      }

      .experience-panel.slashed .panel-bottom {
        animation: bottomSlide 0.8s ease-out 0.3s forwards;
      }

      @keyframes topSlide {
        to {
          transform: translateY(-120px) translateX(-25px) rotate(-6deg);
          opacity: 0;
        }
      }

      @keyframes bottomSlide {
        to {
          transform: translateY(120px) translateX(25px) rotate(6deg);
          opacity: 0;
        }
      }

      .placeholder-line {
        height: 12px;
        background: var(--border);
        border-radius: 6px;
        margin-bottom: 0.8rem;
      }

      .placeholder-line.short {
        width: 60%;
      }

      .special-grade-message {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        opacity: 0;
        z-index: 5;
        transition: opacity 0.5s;
      }

      .special-grade-message.visible {
        opacity: 1;
      }

      .special-grade-message h3 {
        font-size: 1.8rem;
        font-family: "Unbounded", sans-serif;
        background: linear-gradient(135deg, var(--primary), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0.5rem;
        font-weight: 900;
      }

      .special-grade-message p {
        color: var(--text-dim);
        font-size: 1.1rem;
      }

      @media (max-width: 768px) {
        .hidden-character {
          width: 60px;
          height: 60px;
        }
        .character-img {
          width: 45px;
          height: 45px;
        }
        .sukuna-laugh {
          font-size: 2rem;
        }
        .special-grade-message h3 {
          font-size: 1.3rem;
        }
        .special-grade-message p {
          font-size: 0.9rem;
        }
      }
