    :root {
      --deep-black: #0A192F;
      --deep-blue: #0F2A4A;
      --jellyfish: #64FFDA;
      --coral: #FF6B6B;
      --seaweed: #2A9D8F;
      --foam: #E0E7FF;
      --glass: rgba(100, 255, 218, 0.08);
      --glass-border: rgba(100, 255, 218, 0.15);
      --depth-percent: 0;
      --twilight-intensity: 1;
      --radius-card: 16px;
      --radius-btn: 8px;
      --nav-height: 64px;
      --font-title: 'Poppins', sans-serif;
      --font-body: 'Inter', system-ui, sans-serif;
    }

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

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--nav-height);
    }

    body {
      font-family: var(--font-body);
      background: var(--deep-black);
      color: var(--foam);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ===== Loader ===== */
    .loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: var(--deep-black);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
      transition: opacity 0.6s, visibility 0.6s;
    }
    .loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
    .loader__sub { font-size: 0.875rem; color: rgba(224, 231, 255, 0.6); letter-spacing: 0.1em; }
    .loader__title { font-family: var(--font-title); font-size: 1.25rem; color: var(--jellyfish); }
    .depth-meter {
      width: 280px;
      height: 6px;
      background: var(--deep-blue);
      border-radius: 3px;
      overflow: hidden;
    }
    .depth-meter__fill {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--jellyfish), var(--seaweed));
      border-radius: 3px;
      transition: width 0.05s linear;
    }
    .depth-meter__label {
      font-size: 0.75rem;
      color: var(--jellyfish);
      font-variant-numeric: tabular-nums;
    }

    /* ===== Canvas Background ===== */
    #ocean-canvas {
      position: fixed;
      inset: 0;
      z-index: -2;
      pointer-events: none;
    }
    .depth-overlay {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background: radial-gradient(ellipse at 50% 0%, rgba(15, 42, 74, calc(0.3 * var(--depth-percent))) 0%, transparent 60%);
      transition: background 0.3s;
    }

    /* ===== Depth Ruler ===== */
    .depth-ruler {
      position: fixed;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 100;
      width: 40px;
      height: 200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }
    .depth-ruler__track {
      flex: 1;
      width: 4px;
      background: var(--deep-blue);
      border-radius: 2px;
      position: relative;
      overflow: hidden;
    }
    .depth-ruler__indicator {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: calc(var(--depth-percent) * 100%);
      background: linear-gradient(to top, var(--jellyfish), var(--seaweed));
      border-radius: 2px;
      transition: height 0.1s;
    }
    .depth-ruler__zone {
      font-size: 0.6rem;
      color: rgba(224, 231, 255, 0.5);
      writing-mode: vertical-rl;
      text-orientation: mixed;
      letter-spacing: 0.05em;
    }
    @media (max-width: 768px) { .depth-ruler { display: none; } }

    /* ===== Navigation ===== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      height: var(--nav-height);
      background: rgba(10, 25, 47, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--glass-border);
    }
    .nav__wave {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--jellyfish), transparent);
      background-size: 200% 100%;
      animation: wave 3s ease-in-out infinite;
    }
    @keyframes wave {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }
    .nav__inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav__logo {
      font-family: var(--font-title);
      font-weight: 800;
      font-size: 1.25rem;
      color: var(--jellyfish);
      text-decoration: none;
      letter-spacing: 0.05em;
    }
    .nav__links {
      display: flex;
      gap: 8px;
      list-style: none;
    }
    .nav__links a {
      color: rgba(224, 231, 255, 0.75);
      text-decoration: none;
      font-size: 0.875rem;
      padding: 8px 14px;
      border-radius: var(--radius-btn);
      transition: color 0.2s, background 0.2s;
    }
    .nav__links a:hover,
    .nav__links a.active {
      color: var(--jellyfish);
      background: var(--glass);
    }
    .nav__toggle {
      display: none;
      background: none;
      border: none;
      color: var(--foam);
      cursor: pointer;
      padding: 8px;
    }
    .nav__toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--foam);
      margin: 5px 0;
      transition: transform 0.3s;
    }
    @media (max-width: 768px) {
      .nav__toggle { display: block; }
      .nav__links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 25, 47, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
        border-bottom: 1px solid var(--glass-border);
      }
      .nav__links.open { transform: translateY(0); opacity: 1; }
    }

    /* ===== Sections Common ===== */
    section { padding: 100px 24px; position: relative; }
    .container { max-width: 1200px; margin: 0 auto; }
    .section-label {
      display: inline-block;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--jellyfish);
      margin-bottom: 12px;
    }
    .section-title {
      font-family: var(--font-title);
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 700;
      margin-bottom: 16px;
      line-height: 1.2;
    }
    .section-desc {
      color: rgba(224, 231, 255, 0.7);
      max-width: 640px;
      margin-bottom: 48px;
      font-size: 1.05rem;
    }

    /* ===== Hero / Shallow Zone ===== */
    #shallow {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: calc(var(--nav-height) + 40px);
    }
    .hero__title {
      font-family: var(--font-title);
      font-size: clamp(2rem, 5vw, 3.25rem);
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 24px;
      min-height: 2.4em;
    }
    .hero__title .highlight {
      background: linear-gradient(135deg, var(--jellyfish), var(--seaweed));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero__rotating {
      display: block;
      opacity: 1;
      transition: opacity 0.5s;
    }
    .hero__rotating.fade { opacity: 0; }
    .hero__value {
      font-size: 1.125rem;
      color: rgba(224, 231, 255, 0.85);
      max-width: 680px;
      margin-bottom: 48px;
      padding-left: 16px;
      border-left: 3px solid var(--jellyfish);
    }

    /* Skills */
    .skills {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
      margin-bottom: 64px;
    }
    .skill-card {
      background: var(--glass);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-card);
      padding: 24px 20px;
      text-align: center;
      cursor: default;
      transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
      position: relative;
      overflow: hidden;
    }
    .skill-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(100, 255, 218, 0.12);
      border-color: rgba(100, 255, 218, 0.35);
    }
    .skill-card__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
    .skill-card__name { font-size: 0.9rem; font-weight: 500; color: var(--foam); }
    .skill-card__achievement {
      position: absolute;
      inset: 0;
      background: rgba(10, 25, 47, 0.92);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      font-size: 0.8rem;
      color: var(--jellyfish);
      opacity: 0;
      transition: opacity 0.3s;
      border-radius: var(--radius-card);
    }
    .skill-card:hover .skill-card__achievement { opacity: 1; }

    /* Services */
    .services { margin-bottom: 64px; }
    .services__grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
    .service-card {
      background: var(--glass);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-card);
      padding: 28px;
      transition: transform 0.3s;
    }
    .service-card:hover { transform: translateY(-4px); }
    .service-card__title {
      font-family: var(--font-title);
      font-size: 1.1rem;
      color: var(--jellyfish);
      margin-bottom: 10px;
    }
    .service-card__desc { font-size: 0.9rem; color: rgba(224, 231, 255, 0.75); }

    /* Treasure Chest Contact */
    .treasure-chest {
      background: linear-gradient(135deg, var(--deep-blue), rgba(15, 42, 74, 0.6));
      border: 1px solid rgba(255, 107, 107, 0.3);
      border-radius: var(--radius-card);
      padding: 36px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 24px;
      position: relative;
      overflow: hidden;
    }
    .treasure-chest::before {
      content: '📦';
      position: absolute;
      right: 24px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 4rem;
      opacity: 0.15;
    }
    .treasure-chest__label {
      font-family: var(--font-title);
      font-size: 1rem;
      color: var(--coral);
      margin-bottom: 8px;
    }
    .treasure-chest__email {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--foam);
      word-break: break-all;
    }
    .treasure-chest__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; z-index: 1; }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: var(--radius-btn);
      font-family: var(--font-body);
      font-size: 0.875rem;
      font-weight: 500;
      cursor: pointer;
      border: none;
      transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
      text-decoration: none;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn--coral {
      background: linear-gradient(135deg, var(--coral), #ff8787);
      color: #fff;
    }
    .btn--coral:hover { box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35); }
    .btn--jelly {
      background: transparent;
      color: var(--jellyfish);
      border: 1px solid var(--jellyfish);
    }
    .btn--jelly:hover { background: var(--glass); }
    .treasure-chest.flash { animation: chestFlash 0.6s; }
    @keyframes chestFlash {
      0%, 100% { box-shadow: none; }
      50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.4); border-color: gold; }
    }

    /* ===== Twilight Zone / AI ===== */
    #twilight {
      background: linear-gradient(180deg, transparent, rgba(15, 42, 74, calc(0.4 * (1 - var(--twilight-intensity)))));
    }
    .ai-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
    }
    .ai-card {
      background: var(--glass);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-card);
      padding: 28px;
      cursor: pointer;
      transition: transform 0.3s, box-shadow 0.3s;
      animation: jellyPulse 3s ease-in-out infinite;
    }
    .ai-card:nth-child(2) { animation-delay: 1s; }
    .ai-card:nth-child(3) { animation-delay: 2s; }
    @keyframes jellyPulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.02); }
    }
    .ai-card:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 16px 48px rgba(100, 255, 218, 0.15);
      animation: none;
    }
    .ai-card__title {
      font-family: var(--font-title);
      font-size: 1.15rem;
      color: var(--jellyfish);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .ai-card__title::before { content: '🪼'; }
    .ai-card__row {
      margin-bottom: 12px;
      font-size: 0.875rem;
    }
    .ai-card__row strong {
      color: var(--coral);
      display: block;
      font-size: 0.75rem;
      letter-spacing: 0.05em;
      margin-bottom: 4px;
    }
    .ai-card__expand {
      margin-top: 16px;
      font-size: 0.8rem;
      color: var(--jellyfish);
      opacity: 0.7;
    }

    /* ===== Deep Plain / Portfolio Carousel ===== */
    #deep {
      background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
      overflow: hidden;
    }
    #deep .container { max-width: 100%; padding-left: 0; padding-right: 0; }
    #deep .section-label,
    #deep .section-title,
    #deep .section-desc {
      padding-left: 24px;
      padding-right: 24px;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    .portfolio-carousel {
      margin-top: 8px;
      padding-bottom: 48px;
    }

    .portfolio-carousel__filters {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-bottom: 28px;
      padding: 0 24px;
    }
    .filter-tab {
      padding: 6px 16px;
      border-radius: 20px;
      background: var(--deep-blue);
      border: 1px solid var(--glass-border);
      color: rgba(224, 231, 255, 0.6);
      font-size: 0.8rem;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }
    .filter-tab:hover,
    .filter-tab.active {
      border-color: var(--jellyfish);
      color: var(--jellyfish);
      background: var(--glass);
      box-shadow: 0 0 16px rgba(100, 255, 218, 0.2);
    }

    .portfolio-carousel__nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-bottom: 32px;
      padding: 0 24px;
    }
    .carousel-nav-btn {
      width: 36px;
      height: 36px;
      border: 1px solid var(--glass-border);
      background: var(--glass);
      color: var(--foam);
      border-radius: 50%;
      font-size: 1.4rem;
      line-height: 1;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-bottom: 2px;
    }
    .carousel-nav-btn:hover {
      border-color: var(--jellyfish);
      color: var(--jellyfish);
      background: rgba(100, 255, 218, 0.1);
    }
    .carousel-nav-title {
      font-family: var(--font-title);
      font-size: clamp(1rem, 2.5vw, 1.35rem);
      color: var(--foam);
      text-align: center;
      letter-spacing: 0.02em;
      display: block;
    }
    .carousel-nav-center {
      min-width: 200px;
      text-align: center;
    }
    .carousel-nav-counter {
      display: block;
      font-size: 0.72rem;
      color: rgba(224, 231, 255, 0.4);
      margin-top: 4px;
      font-variant-numeric: tabular-nums;
    }

    .portfolio-carousel__stage {
      perspective: 1400px;
      perspective-origin: 50% 45%;
      height: clamp(420px, 52vw, 520px);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
    }
    .portfolio-carousel__track {
      position: relative;
      width: 300px;
      height: 420px;
      transform-style: preserve-3d;
    }

    .carousel-card {
      position: absolute;
      inset: 0;
      transform-style: preserve-3d;
      transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
                  opacity 0.45s ease,
                  filter 0.45s ease;
      cursor: pointer;
      will-change: transform, opacity;
    }
    .carousel-card.is-center { cursor: default; }

    .carousel-card__stack {
      position: absolute;
      inset: 0;
      border: 1.5px solid rgba(224, 231, 255, 0.22);
      border-radius: 6px;
      transform: translate(5px, 5px);
      pointer-events: none;
    }
    .carousel-card__stack--2 {
      transform: translate(10px, 10px);
      opacity: 0.45;
      border-color: rgba(224, 231, 255, 0.12);
    }

    .carousel-card__inner {
      position: relative;
      height: 100%;
      background: #dce3ef;
      border: 2px solid rgba(224, 231, 255, 0.92);
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
      display: flex;
      flex-direction: column;
    }
    .carousel-card__header {
      background: #111d33;
      color: var(--foam);
      padding: 11px 16px;
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      flex-shrink: 0;
    }
    .carousel-card__img-wrap {
      height: 210px;
      overflow: hidden;
      background: #0a192f;
      flex-shrink: 0;
      position: relative;
    }
    .carousel-card__img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
      );
      pointer-events: none;
    }
    .carousel-card__img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: grayscale(0.45) contrast(1.08) brightness(0.92);
      transition: filter 0.4s;
    }
    .carousel-card.is-center .carousel-card__img {
      filter: grayscale(0.15) contrast(1.05) brightness(1);
    }
    .carousel-card__content {
      flex: 1;
      background: linear-gradient(180deg, #d4dbe8 0%, #c8d0df 100%);
      color: #152238;
      padding: 14px 16px 16px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .carousel-card__quote {
      font-size: 0.78rem;
      line-height: 1.55;
      opacity: 0.88;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .carousel-card__footer {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-top: 12px;
      gap: 8px;
    }
    .carousel-card__role {
      font-size: 0.72rem;
      color: rgba(21, 34, 56, 0.65);
      line-height: 1.4;
    }
    .carousel-card__role strong {
      display: block;
      font-size: 0.68rem;
      color: rgba(21, 34, 56, 0.45);
      font-weight: 500;
      margin-bottom: 2px;
    }
    .carousel-card__badge {
      flex-shrink: 0;
      background: #111d33;
      color: var(--jellyfish);
      font-family: var(--font-title);
      font-size: 0.65rem;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 12px;
      letter-spacing: 0.06em;
    }

    .carousel-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin: 36px auto 0;
      padding: 14px 40px;
      background: var(--foam);
      color: var(--deep-black);
      border: none;
      border-radius: 28px;
      font-family: var(--font-body);
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.25s, box-shadow 0.25s;
      box-shadow: 0 4px 20px rgba(224, 231, 255, 0.15);
    }
    .carousel-cta:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 32px rgba(224, 231, 255, 0.25);
    }

    @media (max-width: 768px) {
      .portfolio-carousel__stage { height: 440px; }
      .portfolio-carousel__track { width: 260px; height: 380px; }
      .carousel-card__img-wrap { height: 175px; }
    }
    @media (max-width: 480px) {
      .portfolio-carousel__track { width: 240px; height: 360px; }
      .carousel-nav-title { min-width: 140px; font-size: 0.95rem; }
    }

    /* ===== Modal ===== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }
    .modal-overlay.open { opacity: 1; visibility: visible; }
    .modal {
      background: var(--deep-blue);
      border: 2px solid var(--glass-border);
      border-radius: var(--radius-card);
      max-width: 640px;
      width: 100%;
      max-height: 85vh;
      overflow-y: auto;
      position: relative;
      transform: scale(0.95) translateY(20px);
      transition: transform 0.3s;
    }
    .modal-overlay.open .modal { transform: scale(1) translateY(0); }
    .modal__porthole {
      height: 8px;
      background: repeating-linear-gradient(90deg, var(--jellyfish) 0px, var(--jellyfish) 8px, transparent 8px, transparent 16px);
      border-radius: var(--radius-card) var(--radius-card) 0 0;
      opacity: 0.5;
    }
    .modal__close {
      position: absolute;
      top: 16px;
      right: 16px;
      background: var(--glass);
      border: 1px solid var(--glass-border);
      color: var(--foam);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
      transition: background 0.2s;
    }
    .modal__close:hover { background: rgba(255, 107, 107, 0.2); }
    .modal__content { padding: 32px; }
    .modal__title {
      font-family: var(--font-title);
      font-size: 1.5rem;
      margin-bottom: 24px;
      padding-right: 40px;
    }
    .modal__section { margin-bottom: 20px; }
    .modal__section h4 {
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--jellyfish);
      margin-bottom: 8px;
    }
    .modal__section p { font-size: 0.9rem; color: rgba(224, 231, 255, 0.85); }

    /* ===== Footer ===== */
    footer {
      padding: 48px 24px;
      border-top: 1px solid var(--glass-border);
      text-align: center;
    }
    .footer__links {
      display: flex;
      justify-content: center;
      gap: 24px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    .footer__links a {
      color: rgba(224, 231, 255, 0.6);
      text-decoration: none;
      font-size: 0.875rem;
      transition: color 0.2s;
    }
    .footer__links a:hover { color: var(--jellyfish); }
    .footer__copy { font-size: 0.8rem; color: rgba(224, 231, 255, 0.4); }

    /* ===== Floating Jellyfish ===== */
    .jellyfish-fab {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 900;
    }
    .jellyfish-fab__btn {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--jellyfish), var(--seaweed));
      border: none;
      cursor: pointer;
      font-size: 1.5rem;
      box-shadow: 0 8px 32px rgba(100, 255, 218, 0.35);
      transition: transform 0.3s, box-shadow 0.3s;
      animation: fabGlow 2s ease-in-out infinite;
    }
    @keyframes fabGlow {
      0%, 100% { box-shadow: 0 8px 32px rgba(100, 255, 218, 0.35); }
      50% { box-shadow: 0 8px 48px rgba(100, 255, 218, 0.55); }
    }
    .jellyfish-fab__btn:hover { transform: scale(1.08); }
    .jellyfish-fab__panel {
      position: absolute;
      bottom: 68px;
      right: 0;
      background: var(--deep-blue);
      border: 1px solid var(--glass-border);
      border-radius: var(--radius-card);
      padding: 20px;
      min-width: 220px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s;
    }
    .jellyfish-fab.open .jellyfish-fab__panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .jellyfish-fab__panel p { font-size: 0.85rem; margin-bottom: 12px; color: rgba(224, 231, 255, 0.8); }
    .jellyfish-fab__panel .btn { width: 100%; justify-content: center; }

    /* ===== Toast ===== */
    .toast {
      position: fixed;
      bottom: 100px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--deep-blue);
      border: 1px solid var(--seaweed);
      color: var(--seaweed);
      padding: 12px 24px;
      border-radius: var(--radius-btn);
      font-size: 0.875rem;
      z-index: 3000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .toast.show {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    .toast::before { content: '🫧'; }

    /* ===== Reveal Animation ===== */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s, transform 0.6s;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ===== AI Detail Expand ===== */
    .ai-detail-panel {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }
    .ai-card.expanded .ai-detail-panel { max-height: 200px; }
    .ai-card.expanded .ai-card__expand { display: none; }

    @media (max-width: 600px) {
      section { padding: 72px 16px; }
      .treasure-chest { flex-direction: column; align-items: flex-start; }
      .treasure-chest__actions { margin-left: 0; width: 100%; }
      .treasure-chest__actions .btn { flex: 1; justify-content: center; }
      .carousel-nav-title { min-width: 120px; }
    }

    /* ===== Multi-page layouts ===== */
    .page-twilight #twilight,
    .page-deep #deep {
      min-height: 100vh;
      padding-top: calc(var(--nav-height) + 40px);
    }
    .page-twilight .depth-overlay {
      background: radial-gradient(ellipse at 50% 30%, rgba(15, 42, 74, 0.55) 0%, transparent 70%);
    }
    .page-deep .depth-overlay {
      background: radial-gradient(ellipse at 50% 80%, rgba(0, 0, 0, 0.45) 0%, transparent 65%);
    }
    .page-nav-links .nav__links a.active {
      color: var(--jellyfish);
      background: var(--glass);
    }
