:root {
      --hero-bg: #000;
      --ink: #fff;
      --muted: rgba(255, 255, 255, 0.72);
      --muted-2: rgba(255, 255, 255, 0.55);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      width: 100%;
    }

    body {
      font-family: 'Georgia', 'Palatino', serif;
      background: #000;
      color: #fff;
      overflow-x: hidden;
    }

    .app-wrapper {
      width: 100%;
      height: 100%;
      overflow-y: auto;
      background: linear-gradient(180deg, #000 0%, #1a0a1a 50%, #0a1a2e 100%);
    }

    /* Hero Section - Pure black and white */
    .hero {
      width: 100%;
      min-height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--hero-bg);
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.06) 0%, transparent 70%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, rgba(255, 255, 255, 0.015) 100%);
      pointer-events: none;
      z-index: 0;
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.06) 75%, rgba(255, 255, 255, 0.06)),
        linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.06) 75%, rgba(255, 255, 255, 0.06));
      background-size: 80px 80px;
      background-position: 0 0, 40px 40px;
      opacity: 0.55;
      -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 70%);
      mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 70%);
    }

    .crown-stage {
      width: clamp(240px, 18vw, 360px);
      height: clamp(240px, 18vw, 360px);
      display: block;
      margin: 0 auto clamp(-26px, -2vw, -12px);
      position: relative;
      --crown-scale: 1;
      filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
      animation: crownFloat 6s ease-in-out infinite;
    }

    .crown-stage.exploding {
      --crown-scale: 1.55;
    }

    .crown-stage.has-3d {
      cursor: grab;
      touch-action: none;
      user-select: none;
    }

    .crown-stage.has-3d.is-dragging {
      cursor: grabbing;
      animation-play-state: paused;
    }

    .crown-3d,
    .crown-fallback {
      position: absolute;
      inset: 0;
    }

    .crown-3d {
      opacity: 0;
      transition: opacity 300ms ease;
    }

    .crown-stage.has-3d .crown-3d {
      opacity: 1;
    }

    .crown-3d canvas {
      width: 100%;
      height: 100%;
      display: block;
    }

    .crown-fallback {
      width: 100%;
      height: 100%;
      opacity: 1;
      transition: opacity 300ms ease, transform 300ms ease;
    }

    .crown-stage.has-3d .crown-fallback {
      opacity: 0;
      transform: scale(0.98);
    }

    @keyframes crownFloat {
      0%, 100% { transform: translateY(0px) rotateZ(0deg) scale(var(--crown-scale)); }
      50% { transform: translateY(-20px) rotateZ(2deg) scale(var(--crown-scale)); }
    }

    .hero-content {
      text-align: center;
      z-index: 10;
      position: relative;
    }

    .hero-title {
      font-size: clamp(2.5rem, 8vw, 5rem);
      font-weight: 900;
      letter-spacing: 0.15em;
      color: var(--ink);
      text-transform: uppercase;
      margin: 2rem 0 1rem;
      text-shadow: 0 0 30px rgba(255,255,255,0.2);
      animation: fadeInDown 1.2s ease-out;
    }

    .hero-subtitle {
      font-size: clamp(0.9rem, 2vw, 1.3rem);
      color: var(--muted);
      letter-spacing: 0.08em;
      margin-bottom: 3rem;
      animation: fadeInUp 1.2s ease-out 0.2s both;
    }

    .scroll-hint {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      color: var(--muted-2);
      font-size: 0.9rem;
      letter-spacing: 0.1em;
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(10px); }
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Section edge fades (smooth transitions) */
    .mechanic, .gallery, .progression, .news, .servers, .footer {
      position: relative;
      isolation: isolate;
    }

    .mechanic > *, .gallery > *, .progression > *, .news > *, .servers > *, .footer > * {
      position: relative;
      z-index: 1;
    }

    .mechanic::before, .gallery::before, .progression::before, .news::before, .servers::before, .footer::before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 90px;
      pointer-events: none;
      z-index: 0;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
    }

    .mechanic::after, .gallery::after, .progression::after, .news::after, .servers::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 90px;
      pointer-events: none;
      z-index: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.28), transparent);
    }

    /* Progression Section */
    .progression {
      width: 100%;
      padding: 5rem 2rem;
      background: linear-gradient(135deg, #0a0a0a 0%, #1a0f2e 50%, #0f1a2e 100%);
      position: relative;
    }

    .section-title {
      text-align: center;
      font-size: clamp(1.8rem, 5vw, 3rem);
      margin-bottom: 3rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .orb-grid {
      --orb-size: clamp(52px, 5.2vw, 78px);
      display: flex;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: flex-start;
      gap: clamp(0.6rem, 1vw, 1.2rem);
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem 2.4rem;
    }

    .orb {
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: bold;
      text-align: center;
      width: var(--orb-size);
      height: var(--orb-size);
      padding: 0;
      cursor: pointer;
      transition: all 0.4s ease;
      box-shadow: 0 0 30px currentColor;
      position: relative;
      flex: 0 0 auto;
    }

    .orb:hover {
      transform: scale(1.1);
      filter: brightness(1.2);
    }

    .orb-label {
      position: absolute;
      bottom: -2rem;
      left: 50%;
      transform: translateX(-50%);
      font-size: 0.65rem;
      white-space: nowrap;
      opacity: 0.8;
    }

    /* Crown Mechanic Section */
    .mechanic {
      width: 100%;
      padding: 5rem 2rem;
      background: linear-gradient(135deg, #1a0f2e 0%, #2e1a3d 50%, #1a2e3d 100%);
      position: relative;
    }

    .mechanic-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .mechanic-title {
      font-size: clamp(1.8rem, 5vw, 2.8rem);
      margin-bottom: 2rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .mechanic-text {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #ddd;
      margin-bottom: 1.5rem;
    }

    /* Gallery Section */
    .gallery {
      width: 100%;
      padding: 5rem 2rem;
      background: linear-gradient(135deg, #1a2e3d 0%, #2e1a3d 50%, #3d2e1a 100%);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .gallery-card {
      background: rgba(255,255,255,0.04);
      border: 2px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      overflow: hidden;
      transition: all 0.4s ease;
      cursor: pointer;
    }

    .gallery-card:hover {
      border-color: rgba(255,255,255,0.3);
      transform: translateY(-8px);
      background: rgba(255,255,255,0.08);
    }

    .gallery-placeholder {
      width: 100%;
      height: 200px;
      background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
    }

    .gallery-info {
      padding: 1.5rem;
    }

    .gallery-title {
      font-size: 1.2rem;
      font-weight: bold;
      color: #fff;
      margin-bottom: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .gallery-desc {
      font-size: 0.9rem;
      color: #aaa;
      line-height: 1.5;
    }

    /* News Section */
    .news {
      width: 100%;
      padding: 5rem 2rem;
      background: linear-gradient(135deg, #2e1a3d 0%, #1a3d2e 55%, #1a0a1a 100%);
    }

    .news-container {
      max-width: 800px;
      margin: 0 auto;
    }

    .news-item {
      background: rgba(255,255,255,0.05);
      border: 2px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      margin-bottom: 1.5rem;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .news-item:hover {
      border-color: rgba(255,255,255,0.25);
      background: rgba(255,255,255,0.08);
    }

    .news-header {
      padding: 1.5rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }

    .news-title {
      font-size: 1.2rem;
      font-weight: bold;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-right: 1rem;
    }

    .news-date {
      font-size: 0.85rem;
      color: #888;
      white-space: nowrap;
    }

    .news-toggle {
      color: #aaa;
      font-size: 1.2rem;
      transition: transform 0.3s ease;
      min-width: 20px;
    }

    .news-item.expanded .news-toggle {
      transform: rotate(180deg);
    }

    .news-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      padding: 0 1.5rem;
    }

    .news-item.expanded .news-content {
      max-height: 500px;
      padding: 0 1.5rem 1.5rem;
    }

    .news-text {
      color: #ddd;
      line-height: 1.6;
      font-size: 0.95rem;
    }

    /* Server Details Section */
    .server-details {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255,255,255,0.1);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }

    .server-card.expanded .server-details {
      max-height: 400px;
    }

    .details-title {
      font-size: 0.9rem;
      color: #aaa;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.8rem;
      margin-top: 1rem;
    }

    .details-text {
      font-size: 0.9rem;
      color: #bbb;
      line-height: 1.6;
      margin-bottom: 0.8rem;
    }

    .expand-button {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      color: #aaa;
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      transition: all 0.3s ease;
      margin-top: 0.8rem;
    }

    .expand-button:hover {
      background: rgba(255,255,255,0.15);
      color: #fff;
    }

    /* Orb Modal */
    .orb-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0,0,0,0.7);
      z-index: 1000;
      align-items: center;
      justify-content: center;
    }

    .orb-modal.active {
      display: flex;
    }

    .orb-modal-content {
      background: linear-gradient(135deg, #1a0f2e 0%, #2e1a3d 100%);
      border: 2px solid rgba(255,255,255,0.2);
      border-radius: 16px;
      padding: 2rem;
      max-width: 500px;
      max-height: 80vh;
      overflow-y: auto;
      animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .orb-modal-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .orb-modal-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
    }

    .orb-modal-title {
      font-size: 1.8rem;
      font-weight: bold;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .orb-modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      color: #aaa;
      font-size: 1.5rem;
      cursor: pointer;
      transition: color 0.3s;
    }

    .orb-modal-close:hover {
      color: #fff;
    }

    .orb-info-section {
      margin-bottom: 1.5rem;
    }

    .orb-info-label {
      font-size: 0.9rem;
      color: #aaa;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.5rem;
    }

    .orb-info-text {
      font-size: 0.95rem;
      color: #ddd;
      line-height: 1.6;
    }
    .servers {
      width: 100%;
      padding: 5rem 2rem;
      background: linear-gradient(135deg, #2e1a3d 0%, #3d2e1a 50%, #1a3d2e 100%);
      position: relative;
    }

    .servers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .server-card {
      background: rgba(255,255,255,0.05);
      border: 2px solid rgba(255,255,255,0.1);
      padding: 2rem;
      border-radius: 12px;
      transition: all 0.4s ease;
      backdrop-filter: blur(10px);
    }

    .server-card:hover {
      border-color: rgba(255,255,255,0.3);
      background: rgba(255,255,255,0.1);
      transform: translateY(-10px);
    }

    .server-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
    }

    .server-name {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 0.5rem;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .server-desc {
      font-size: 0.95rem;
      color: #bbb;
      margin-bottom: 1rem;
      line-height: 1.6;
    }

    .copy-button {
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      color: #fff;
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.85rem;
      font-weight: bold;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .copy-button:hover {
      background: rgba(255,255,255,0.25);
      border-color: rgba(255,255,255,0.5);
    }

    .copy-button.copied {
      background: rgba(76, 175, 80, 0.3);
      border-color: rgba(76, 175, 80, 0.6);
      color: #4caf50;
    }

    /* Footer */
    .footer {
      width: 100%;
      padding: 3rem 2rem;
      background: #000;
      text-align: center;
      border-top: 1px solid rgba(255,255,255,0.1);
      color: #888;
      font-size: 0.9rem;
    }

    .contact-link {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
    }

    .contact-link:hover {
      color: #aaa;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .crown-stage {
        width: clamp(160px, 42vw, 230px);
        height: clamp(160px, 42vw, 230px);
      }

      .orb-grid {
        --orb-size: clamp(44px, 10.5vw, 62px);
        flex-wrap: wrap;
        gap: 1rem;
        padding-bottom: 2.2rem;
      }

      .orb {
        font-size: 0.6rem;
      }

      .orb-label {
        bottom: -1.8rem;
        font-size: 0.55rem;
      }
    }
