:root {
    --bg-deep: #0B0A1A;
    --bg-card: #15122b;
    --primary-purple: #B026FF;
    --primary-pink: #FF007F;
    --star-blue: #4A90E2;
    --text-main: #F0EDFF;
    --text-muted: #A09AB8;
    --glow-purple: rgba(176, 38, 255, 0.4);
    --glow-pink: rgba(255, 0, 127, 0.4);
  }

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

  body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
      radial-gradient(circle at 15% 50%, rgba(176, 38, 255, 0.08), transparent 25%),
      radial-gradient(circle at 85% 30%, rgba(255, 0, 127, 0.08), transparent 25%);
    background-attachment: fixed;
  }

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

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

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Header */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
  }

  .site-header.scrolled {
    background: rgba(11, 10, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
  }

  .logo-brand img {
    height: 32px;
    width: auto;
    border-radius: 6px;
  }

  .nav-links {
    display: none;
    gap: 30px;
  }

  .nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
  }

  .nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--glow-purple);
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-pink);
  }

  .btn-primary.glow {
    animation: breathe 2.5s infinite alternate;
  }

  @keyframes breathe {
    0% { box-shadow: 0 0 5px var(--glow-purple); }
    100% { box-shadow: 0 0 20px var(--glow-pink); }
  }

  /* Hero */
  .hero-section {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .hero-text {
    flex: 1;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .hero-visual {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    perspective: 1000px;
  }

  .hero-img-main {
    width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.1s ease-out;
  }

  .hero-img-sub {
    width: 60%;
    height: auto;
    border-radius: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    box-shadow: 0 0 20px var(--glow-purple);
    border: 2px solid var(--primary-pink);
    object-fit: cover;
    transition: transform 0.1s ease-out;
  }

  /* Section Generic */
  section {
    padding: 80px 0;
    position: relative;
  }

  .section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1rem;
  }

  /* Roles */
  .role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .role-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
  }

  .role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--glow-purple);
  }

  .role-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.3s;
  }

  .role-card:hover img {
    transform: scale(1.05);
  }

  .role-info {
    padding: 15px;
  }

  .role-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .role-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(176, 38, 255, 0.2);
    color: var(--primary-purple);
    margin-bottom: 10px;
  }

  .role-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  /* Memory Compare */
  .compare-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .compare-box {
    flex: 1;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
  }

  .compare-box.left {
    opacity: 0.6;
    filter: grayscale(1);
  }

  .compare-box.right {
    border-color: var(--primary-pink);
    box-shadow: 0 0 20px var(--glow-pink);
    position: relative;
    overflow: hidden;
  }

  .compare-box.right::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-pink), transparent, var(--primary-purple), transparent);
    animation: rotate 4s linear infinite;
    z-index: 0;
  }

  .compare-box.right > * {
    position: relative;
    z-index: 1;
  }

  .compare-box h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
  }

  .compare-box p {
    color: var(--text-muted);
  }

  @keyframes rotate {
    100% { transform: rotate(360deg); }
  }

  /* Customize */
  .customize-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .customize-text h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .customize-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  .customize-img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    object-fit: contain;
    position: relative;
  }

  .customize-img-wrap {
    position: relative;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
  }

  .customize-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-purple), var(--star-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
  }

  /* Creator */
  .creator-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(21, 18, 43, 1), rgba(11, 10, 26, 1));
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
  }

  .creator-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .creator-list {
    list-style: none;
    margin-bottom: 30px;
  }

  .creator-list li {
    margin-bottom: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .creator-list li::before {
    content: '✦';
    color: var(--primary-pink);
  }

  .creator-img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    object-fit: cover;
  }

  /* FAQ */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
  }

  .faq-question {
    padding: 20px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-pink);
    transition: transform 0.3s;
  }

  .faq-item.active .faq-question::after {
    transform: rotate(45deg);
  }

  .faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .site-footer p {
    margin-bottom: 8px;
  }

  .site-footer a {
    color: var(--text-muted);
    text-decoration: underline;
  }

  .site-footer a:hover {
    color: var(--text-main);
  }

  /* Responsive */
  @media (min-width: 768px) {
    .hero-content {
      flex-direction: row;
      text-align: left;
    }
    .hero-text {
      text-align: left;
    }
    .hero-actions {
      justify-content: flex-start;
    }
    .hero-text h1 {
      font-size: 2.8rem;
    }
    .role-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .compare-wrap {
      flex-direction: row;
    }
    .customize-wrap {
      flex-direction: row;
    }
    .creator-wrap {
      flex-direction: row;
      padding: 60px;
    }
    .nav-links {
      display: flex;
    }
  }

  @media (min-width: 1024px) {
    .hero-text h1 {
      font-size: 3.5rem;
    }
    .role-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }