  @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&family=Inter:wght@300;400;600&display=swap');

  :root {
    --cyan: #00f5ff;
    --green: #00ff88;
    --purple: #bf00ff;
    --dark: #020810;
    --darker: #010508;
    --card: #040d1a;
    --border: rgba(0,245,255,0.15);
  }

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

  body {
    background: var(--dark);
    color: #e0f0ff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
  }

  /* MATRIX CANVAS */
  #matrix {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
  }

  /* GRID OVERLAY */
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(2,8,16,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }

  .logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
  }

  .logo span { color: var(--purple); -webkit-text-fill-color: var(--purple); }

  nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  nav ul a {
    color: #8ab4cc;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    font-family: 'Share Tech Mono', monospace;
  }

  nav ul a:hover { color: var(--cyan); text-shadow: 0 0 10px var(--cyan); }

  .official-btn {
    background: linear-gradient(135deg, var(--purple), #7000cc);
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
    border: 1px solid var(--purple);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(191,0,255,0.3);
  }

  .official-btn:hover {
    box-shadow: 0 0 30px rgba(191,0,255,0.7);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #d400ff, var(--purple));
  }

  /* HERO */
  .hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 2rem 60px;
  }

  .hero-content { max-width: 900px; }

  .hero-badge {
    display: inline-block;
    background: rgba(0,245,255,0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    animation: pulse-border 2s infinite;
  }

  @keyframes pulse-border {
    0%,100% { box-shadow: 0 0 5px rgba(0,245,255,0.3); }
    50% { box-shadow: 0 0 20px rgba(0,245,255,0.7); }
  }

  .hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .hero h1 .line1 { color: #fff; }
  .hero h1 .line2 {
    background: linear-gradient(90deg, var(--cyan), var(--green), var(--cyan));
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
  }

  @keyframes shimmer {
    0% { background-position: 0% }
    100% { background-position: 200% }
  }

  .hero p {
    font-size: 1.15rem;
    color: #7a9bb5;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
  }

  .hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--cyan), #0099cc);
    color: #000;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 0 25px rgba(0,245,255,0.4);
  }

  .btn-primary:hover {
    box-shadow: 0 0 50px rgba(0,245,255,0.8);
    transform: translateY(-2px);
  }

  .btn-secondary {
    background: transparent;
    color: var(--green);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid var(--green);
    transition: all 0.3s;
  }

  .btn-secondary:hover {
    background: rgba(0,255,136,0.1);
    box-shadow: 0 0 20px rgba(0,255,136,0.4);
  }

  /* STATS */
  .stats {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(0,245,255,0.02);
  }

  .stat { text-align: center; }

  .stat-num {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0,245,255,0.5);
  }

  .stat-label {
    font-family: 'Share Tech Mono', monospace;
    color: #5a7a90;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* SECTIONS */
  section {
    position: relative;
    z-index: 1;
    padding: 80px 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .section-tag {
    font-family: 'Share Tech Mono', monospace;
    color: var(--cyan);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .section-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
  }

  .section-header p { color: #5a7a90; font-size: 1rem; }

  /* TOPICS GRID */
  .topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .topic-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .topic-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform: scaleX(0);
    transition: transform 0.3s;
  }

  .topic-card:hover {
    border-color: rgba(0,245,255,0.4);
    box-shadow: 0 10px 40px rgba(0,245,255,0.1);
    transform: translateY(-4px);
  }

  .topic-card:hover::before { transform: scaleX(1); }

  .topic-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
  }

  .topic-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
  }

  .topic-card p {
    color: #5a7a90;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }

  .topic-level {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 1px;
  }

  .level-beginner { background: rgba(0,255,136,0.1); color: var(--green); border: 1px solid rgba(0,255,136,0.3); }
  .level-intermediate { background: rgba(0,245,255,0.1); color: var(--cyan); border: 1px solid rgba(0,245,255,0.3); }
  .level-advanced { background: rgba(191,0,255,0.1); color: var(--purple); border: 1px solid rgba(191,0,255,0.3); }

  /* LESSONS */
  .lessons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
  }

  .lesson-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
  }

  .lesson-card:hover {
    border-color: rgba(0,255,136,0.4);
    box-shadow: 0 10px 40px rgba(0,255,136,0.08);
    transform: translateY(-3px);
  }

  .lesson-header {
    background: linear-gradient(135deg, rgba(0,245,255,0.08), rgba(0,255,136,0.05));
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .lesson-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    color: #000;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .lesson-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #d0eeff;
  }

  .lesson-body { padding: 1.5rem; }

  .lesson-body p {
    color: #5a7a90;
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .lesson-tips {
    background: rgba(0,245,255,0.04);
    border: 1px solid rgba(0,245,255,0.1);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .lesson-tips h4 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--cyan);
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
  }

  .lesson-tips li {
    color: #7a9bb5;
    font-size: 0.83rem;
    margin-left: 1.2rem;
    margin-bottom: 0.3rem;
    line-height: 1.5;
  }

  .learn-btn {
    width: 100%;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 10px;
    border-radius: 4px;
    font-family: 'Orbitron', monospace;
    font-size: 0.78rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
  }

  .learn-btn:hover {
    background: rgba(0,245,255,0.1);
    box-shadow: 0 0 15px rgba(0,245,255,0.2);
  }

  /* QUIZ */
  .quiz-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
  }

  .quiz-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .quiz-dot {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(0,245,255,0.15);
    transition: background 0.3s;
  }
  .quiz-dot.active { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
  .quiz-dot.done { background: var(--green); }

  .quiz-q {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .quiz-options { display: grid; gap: 0.75rem; }

  .quiz-opt {
    background: rgba(0,245,255,0.03);
    border: 1px solid rgba(0,245,255,0.15);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    color: #8ab4cc;
    font-size: 0.9rem;
    transition: all 0.25s;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .quiz-opt:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0,245,255,0.07);
  }

  .quiz-opt.correct { border-color: var(--green); color: var(--green); background: rgba(0,255,136,0.08); }
  .quiz-opt.wrong { border-color: #ff3366; color: #ff3366; background: rgba(255,51,102,0.08); }

  .opt-letter {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
  }

  .quiz-feedback {
    margin-top: 1.2rem;
    padding: 1rem;
    border-radius: 6px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    display: none;
  }

  .quiz-feedback.show { display: block; }
  .quiz-feedback.right { background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.3); color: var(--green); }
  .quiz-feedback.wrong-fb { background: rgba(255,51,102,0.1); border: 1px solid rgba(255,51,102,0.3); color: #ff3366; }

  .quiz-next {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--cyan), var(--green));
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: none;
    transition: all 0.3s;
  }

  .quiz-next.show { display: inline-block; }
  .quiz-next:hover { box-shadow: 0 0 20px rgba(0,245,255,0.4); transform: translateY(-1px); }

  /* TERMINAL */
  .terminal {
    background: #010a05;
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: 8px;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0,255,136,0.05);
  }

  .terminal-bar {
    background: rgba(0,255,136,0.07);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0,255,136,0.15);
  }

  .t-dot { width: 12px; height: 12px; border-radius: 50%; }
  .t-red { background: #ff5555; }
  .t-yellow { background: #ffff00; }
  .t-green { background: #55ff55; }

  .terminal-title {
    font-family: 'Share Tech Mono', monospace;
    color: rgba(0,255,136,0.5);
    font-size: 0.8rem;
    margin-left: 0.5rem;
  }

  .terminal-body {
    padding: 1.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 200px;
  }

  .t-comment { color: #3a6040; }
  .t-cmd { color: var(--green); }
  .t-output { color: #7ab890; }
  .t-warn { color: #ffff66; }
  .t-err { color: #ff5566; }
  .t-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--green);
    animation: blink 1s infinite;
    vertical-align: middle;
    margin-left: 2px;
  }

  @keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

  /* TIPS SECTION */
  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
  }

  .tip-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
  }

  .tip-card:hover {
    border-color: rgba(191,0,255,0.4);
    box-shadow: 0 5px 25px rgba(191,0,255,0.08);
    transform: translateY(-3px);
  }

  .tip-icon { font-size: 2rem; margin-bottom: 1rem; }

  .tip-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    color: var(--purple);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
  }

  .tip-card p { color: #5a7a90; font-size: 0.83rem; line-height: 1.6; }

  /* FOOTER */
  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(0,0,0,0.3);
  }

  .footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
  }

  .footer-credit {
    font-family: 'Share Tech Mono', monospace;
    color: #3a5570;
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .footer-credit span {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0,245,255,0.4);
  }

  .footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
  .footer-links a { color: #3a5570; text-decoration: none; font-size: 0.8rem; transition: color 0.3s; font-family: 'Share Tech Mono', monospace; }
  .footer-links a:hover { color: var(--cyan); }

  /* GLOW ORBS */
  .orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
  }
  .orb1 { width: 500px; height: 500px; background: var(--cyan); top: -200px; left: -200px; }
  .orb2 { width: 400px; height: 400px; background: var(--purple); bottom: -150px; right: -150px; }
  .orb3 { width: 300px; height: 300px; background: var(--green); top: 50%; left: 50%; transform: translate(-50%,-50%); }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    nav ul { display: none; }
    .stats { gap: 1.5rem; }
  }
