:root{
    --bg0:#0B0C0B;
    --bg1:#121412;
    --card:#171917;
    --card2:#1A1D1A;
    --text:#FFFFFF;
    --muted:#84F29B;
    --line:rgba(132,242,155,.20);
    --shadow: 0 16px 50px rgba(0,0,0,.8);
    --radius: 18px;

    --brand:#84F29B;
    --brand2:#ADF6BC;
    --danger:#84F29B;
    --warn:#84F29B;
    --ok:#84F29B;
    
    --black-50:#E8E8E8;
    --black-100:#B8B9B8;
    --black-200:#959795;
    --black-300:#656765;
    --black-400:#474947;
    --black-600:#171917;
    --black-700:#121412;
    --black-800:#0E0F0E;
    --black-900:#0B0C0B;
    
    --mint-50:#F3FEF5;
    --mint-100:#D9FBE0;
    --mint-200:#C6F9D1;
    --mint-300:#ADF6BC;
    --mint-400:#9DF5AF;
    --mint-600:#78DC8D;
    --mint-700:#5EAC6E;
    --mint-800:#498555;
    --mint-900:#376541;
  }

  *{box-sizing:border-box}
  html,body{min-height:100vh}
  html {
    background: var(--bg0);
    min-height: 100%;
  }
  body{
    margin:0;
    font-family:'Inter','Space Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    color:var(--text);
    background-color: transparent;
    background-attachment: fixed;
    background-size: cover, cover, cover, 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x:hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  @media (min-width: 769px) {
    html, body {
      height: auto;
      min-height: 100vh;
      overflow-x: hidden;
      overflow-y: auto;
      position: static;
      width: 100%;
    }
    
    .screen {
      min-height: 100vh;
      overflow: visible;
      display: flex;
      flex-direction: column;
    }
    
    .landing {
      min-height: 100vh;
      overflow: visible;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    
    .landing .wrap {
      flex: 0 0 auto;
    }
    
    .hero {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(8px, 1vh, 15px) 24px clamp(8px, 1vh, 12px);
    }
    
    .hero-content {
      max-height: none;
      overflow: visible;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  }

  a{color:inherit}
  .wrap{
    width:100%;
    min-height:100vh;
    margin:0;
    padding:22px 24px 40px;
  }

  .topbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 20px;
    border:2px solid transparent;
    border-radius:999px;
    background: rgba(132, 242, 155, 0.05);
    backdrop-filter: blur(20px);
    box-shadow: 
      0 4px 20px rgba(132, 242, 155, 0.15),
      0 0 0 1px rgba(132, 242, 155, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: headerGlow 3s ease-in-out infinite;
  }

  .topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(132, 242, 155, 0.1) 50%, 
      transparent 100%);
    animation: headerShine 4s ease-in-out infinite;
  }

  .topbar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.4) 0%, 
      rgba(132, 242, 155, 0.1) 50%, 
      rgba(132, 242, 155, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.6;
    animation: headerBorderRotate 8s linear infinite;
    z-index: -1;
  }

  @keyframes headerGlow {
    0%, 100% {
      box-shadow: 
        0 4px 20px rgba(132, 242, 155, 0.15),
        0 0 0 1px rgba(132, 242, 155, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    50% {
      box-shadow: 
        0 6px 30px rgba(132, 242, 155, 0.25),
        0 0 0 1px rgba(132, 242, 155, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
  }

  @keyframes headerShine {
    0% {
      left: -100%;
    }
    50% {
      left: 100%;
    }
    100% {
      left: 100%;
    }
  }

  @keyframes headerBorderRotate {
    0% {
      background: linear-gradient(135deg, 
        rgba(132, 242, 155, 0.4) 0%, 
        rgba(132, 242, 155, 0.1) 50%, 
        rgba(132, 242, 155, 0.4) 100%);
    }
    25% {
      background: linear-gradient(225deg, 
        rgba(132, 242, 155, 0.4) 0%, 
        rgba(132, 242, 155, 0.1) 50%, 
        rgba(132, 242, 155, 0.4) 100%);
    }
    50% {
      background: linear-gradient(315deg, 
        rgba(132, 242, 155, 0.4) 0%, 
        rgba(132, 242, 155, 0.1) 50%, 
        rgba(132, 242, 155, 0.4) 100%);
    }
    75% {
      background: linear-gradient(45deg, 
        rgba(132, 242, 155, 0.4) 0%, 
        rgba(132, 242, 155, 0.1) 50%, 
        rgba(132, 242, 155, 0.4) 100%);
    }
    100% {
      background: linear-gradient(135deg, 
        rgba(132, 242, 155, 0.4) 0%, 
        rgba(132, 242, 155, 0.1) 50%, 
        rgba(132, 242, 155, 0.4) 100%);
    }
  }

  .brand {
    display:flex;
    align-items:center;
    gap:12px;
    font-family:'Space Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    font-weight:700;
    letter-spacing:0.5px;
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
  }

  .brand:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
  }
  
  .brand-clickable {
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
  }
  
  .brand-clickable:hover {
    opacity: 0.8;
  }
  
  .brand-clickable:active {
    opacity: 0.6;
  }
  .logo {
    width: clamp(32px, 4vh, 38px);
    height: clamp(32px, 4vh, 38px);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 1px solid rgba(132, 242, 155, 0.3);
    box-shadow: 
      0 2px 8px rgba(132, 242, 155, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoPulse 2s ease-in-out infinite;
  }

  .logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
      0 4px 16px rgba(132, 242, 155, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(132, 242, 155, 0.5);
  }

  @keyframes logoPulse {
    0%, 100% {
      box-shadow: 
        0 2px 8px rgba(132, 242, 155, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
      box-shadow: 
        0 3px 12px rgba(132, 242, 155, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
  }

  .logo-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
  }

  .chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 10px 16px;
    border-radius: 20px;
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.08) 0%, rgba(132, 242, 155, 0.04) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    white-space:nowrap;
    box-shadow: 0 2px 8px rgba(132, 242, 155, 0.1);
  }
  
  .dot{
    width:8px;height:8px;border-radius:50%;
    background: var(--ok);
    box-shadow: 0 0 0 5px rgba(132, 242, 155, 0.2);
  }

  .grid{
    margin-top:18px;
    display:grid;
    grid-template-columns: 1.1fr .9fr;
    gap:16px;
    align-items:start;
  }

  @media (max-width: 920px){
    .grid{
      grid-template-columns: 1fr;
      gap: 12px;
    }
    .right{order:-1}
    
    .wrap {
      padding: 16px;
    }
    
    .panel .head {
      padding: 12px;
      flex-direction: column;
      gap: 8px;
    }
    
    .panel .head .meta {
      justify-content: flex-start;
    }
  }

  .panel{
    border: 1.5px solid rgba(132, 242, 155, 0.15);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.03) 0%, rgba(132, 242, 155, 0.01) 100%);
    box-shadow: 
      0 8px 32px rgba(132, 242, 155, 0.12),
      0 0 0 1px rgba(132, 242, 155, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow:hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .panel::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.3) 0%, rgba(132, 242, 155, 0.1) 50%, rgba(132, 242, 155, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }
  
  .panel:hover::before {
    opacity: 1;
    animation: panelBorderGlow 3s ease-in-out infinite;
  }
  
  @keyframes panelBorderGlow {
    0%, 100% {
      opacity: 0.6;
    }
    50% {
      opacity: 1;
    }
  }
  
  .panel .head{
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(132, 242, 155, 0.1);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.05) 0%, rgba(132, 242, 155, 0.02) 100%);
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    position: relative;
  }
  
  .panel .head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(132, 242, 155, 0.3), transparent);
  }
  .title{
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.3;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.9) 0%, rgba(132, 242, 155, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
  }
  .subtitle{
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
  }
  .meta{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
  }

  .btn{
    appearance:none;
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.06) 0%, rgba(132, 242, 155, 0.02) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    cursor:pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    user-select:none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(132, 242, 155, 0.1);
  }

  .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(132, 242, 155, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }

  .btn:hover::before {
    width: 300px;
    height: 300px;
  }

  .btn:hover{
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    border-color: rgba(132, 242, 155, 0.4);
    transform: translateY(-3px);
    box-shadow: 
      0 8px 24px rgba(132, 242, 155, 0.25),
      0 0 0 1px rgba(132, 242, 155, 0.15);
  }

  .btn:active{
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(132, 242, 155, 0.2);
  }
  
  .btn.nav-btn-clicked {
    will-change: transform;
    transform: translateZ(0);
    animation: navButtonClick 0.2s ease-out forwards;
  }
  
  @keyframes navButtonClick {
    0% {
      transform: translateZ(0) scale(1);
    }
    50% {
      transform: translateZ(0) scale(0.97);
    }
    100% {
      transform: translateZ(0) scale(1);
    }
  }
  
  .btn.primary.nav-btn-clicked {
    animation: navButtonClickPrimary 0.2s ease-out forwards;
  }
  
  @keyframes navButtonClickPrimary {
    0% {
      transform: translateZ(0) scale(1);
    }
    50% {
      transform: translateZ(0) scale(0.95);
    }
    100% {
      transform: translateZ(0) scale(1);
    }
  }

  .btn.primary{
    border-color: var(--brand);
    background: linear-gradient(135deg, var(--brand) 0%, rgba(132, 242, 155, 0.9) 100%);
    color: #000000;
    box-shadow: 
      0 4px 16px rgba(132, 242, 155, 0.3),
      0 0 0 1px rgba(132, 242, 155, 0.2);
  }

  .btn.primary:hover{
    background: linear-gradient(135deg, rgba(132, 242, 155, 1) 0%, rgba(132, 242, 155, 0.95) 100%);
    animation: glow 2s ease-in-out infinite;
    box-shadow: 
      0 12px 32px rgba(132, 242, 155, 0.5),
      0 0 0 2px rgba(132, 242, 155, 0.3);
    transform: translateY(-4px) scale(1.02);
  }
  .btn.ghost{
    background: transparent;
  }
  
  .hero-actions .btn.ghost {
    padding: clamp(14px, 1.5vh, 16px) clamp(28px, 3vw, 36px);
    font-size: clamp(14px, 1.6vh, 15px);
    border-radius: 16px;
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    background: rgba(132, 242, 155, 0.04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .hero-actions .btn.ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, rgba(132, 242, 155, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .hero-actions .btn.ghost:hover {
    border-color: rgba(132, 242, 155, 0.4);
    background: rgba(132, 242, 155, 0.08);
    transform: translateY(-3px);
    box-shadow: 
      0 8px 24px rgba(132, 242, 155, 0.2),
      0 0 0 1px rgba(132, 242, 155, 0.1);
  }
  
  .hero-actions .btn.ghost:hover::before {
    opacity: 1;
  }
  
  .hero-actions .btn.ghost:active {
    transform: translateY(-1px);
  }
  .btn.danger{
    border-color: rgba(132, 242, 155, 0.4);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.08) 100%);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(132, 242, 155, 0.2);
  }
  
  .btn.danger:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.12) 100%);
    border-color: rgba(132, 242, 155, 0.5);
    box-shadow: 0 8px 24px rgba(132, 242, 155, 0.3);
  }

  .body{
    padding: 20px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.02) 0%, rgba(132, 242, 155, 0.005) 100%);
  }

  .progressRow{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
  }
  .progressText{
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
  }
  
  .progressText b {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
  }

  .progressText b,
  .chip b {
    color: var(--text);
  }

  .bar > i {
    width: 2%;
  }
  .bar{
    flex:1;
    height: 12px;
    min-height: 12px;
    border-radius: 999px;
    background: rgba(132, 242, 155, 0.08);
    border: 1px solid rgba(132, 242, 155, 0.15);
    overflow:hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .bar > i{
    display:block;
    height:100%;
    min-height: 12px;
    width:30%;
    min-width: 2%;
    background: linear-gradient(90deg, var(--brand) 0%, rgba(132, 242, 155, 0.8) 100%);
    border-radius: 999px;
    box-shadow: 
      0 0 10px rgba(132, 242, 155, 0.5),
      0 0 20px rgba(132, 242, 155, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .qCard{
    padding: 24px;
    border-radius: 20px;
    border: 1.5px solid rgba(132, 242, 155, 0.15);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.04) 0%, rgba(132, 242, 155, 0.01) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 8px 24px rgba(132, 242, 155, 0.1),
      0 0 0 1px rgba(132, 242, 155, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
  }
  
  .qCard::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.4) 0%, rgba(132, 242, 155, 0.1) 50%, rgba(132, 242, 155, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }
  
  .qCard:hover::before {
    opacity: 0.6;
  }

  .qCard.question-transitioning {
    will-change: opacity;
    transform: translateZ(0);
  }
  
  .qCard.question-transitioning.question-forward {
    animation: questionFadeOutForward 0.15s ease-out forwards;
    pointer-events: none;
  }

  .qCard.question-transitioning.question-backward {
    animation: questionFadeOutBackward 0.15s ease-out forwards;
    pointer-events: none;
  }

  .qCard.question-slide-in {
    will-change: opacity;
    transform: translateZ(0);
  }

  .qCard.question-slide-in.question-forward {
    animation: questionFadeInForward 0.2s ease-out forwards;
  }

  .qCard.question-slide-in.question-backward {
    animation: questionFadeInBackward 0.2s ease-out forwards;
  }

  @keyframes questionFadeOutForward {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  @keyframes questionFadeInForward {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  @keyframes questionFadeOutBackward {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  @keyframes questionFadeInBackward {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .qCard:hover {
    box-shadow: 
      0 12px 32px rgba(132, 242, 155, 0.15),
      0 0 0 1px rgba(132, 242, 155, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.06) 0%, rgba(132, 242, 155, 0.02) 100%);
    border-color: rgba(132, 242, 155, 0.25);
  }

  .qImg {
    width: 100%;
    margin: 16px 0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(132, 242, 155, 0.03);
    border: 2px solid rgba(132, 242, 155, 0.15);
    padding: 16px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(132, 242, 155, 0.05);
  }

  .qImg::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.3), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .qImg:hover {
    background: rgba(132, 242, 155, 0.06);
    border-color: rgba(132, 242, 155, 0.3);
    box-shadow: 0 8px 24px rgba(132, 242, 155, 0.15), 0 0 0 1px rgba(132, 242, 155, 0.2);
    transform: translateY(-2px);
  }

  .qImg:hover::before {
    opacity: 1;
    animation: imageFrameGlow 2s ease-in-out infinite;
  }

  .qImg img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .qImg:hover img {
    transform: scale(1.02);
  }

  @keyframes imageFrameGlow {
    0%, 100% {
      background: linear-gradient(135deg, rgba(132, 242, 155, 0.3), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.3));
    }
    50% {
      background: linear-gradient(135deg, rgba(132, 242, 155, 0.5), rgba(132, 242, 155, 0.2), rgba(132, 242, 155, 0.5));
    }
  }

  .qTop{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
  }
  .qNum{
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .qTitle{
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.2px;
  }

  .quiz-answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
  }

  @media (max-width: 700px) {
    .quiz-answers {
      grid-template-columns: 1fr;
      gap: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .quiz-answers {
      gap: 8px;
    }
  }

  .quiz-opt {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1.5px solid rgba(132, 242, 155, 0.15);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.04) 0%, rgba(132, 242, 155, 0.01) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    min-height: 64px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 2px 8px rgba(132, 242, 155, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    position: relative;
    overflow: hidden;
  }

  .quiz-opt::before {
    display: none;
  }

  .quiz-opt:hover::before {
    left: 100%;
  }

  .quiz-opt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, rgba(132, 242, 155, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .quiz-opt:hover::before {
    opacity: 1;
  }

  .quiz-opt:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    border-color: rgba(132, 242, 155, 0.4);
    transform: translateY(-3px);
    box-shadow: 
      0 8px 20px rgba(132, 242, 155, 0.25),
      0 0 0 1px rgba(132, 242, 155, 0.2);
  }

  .quiz-opt:active {
    transform: translateY(-1px);
  }

  .quiz-opt.selected {
    border-color: rgba(132, 242, 155, 0.6);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.12) 100%);
    box-shadow: 
      0 0 0 2px rgba(132, 242, 155, 0.3),
      0 4px 16px rgba(132, 242, 155, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  
  .quiz-opt.selected::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.08) 100%);
  }

  .quiz-opt-marker {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(132, 242, 155, 0.1);
  }

  .quiz-opt:hover .quiz-opt-marker {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.12) 100%);
    border-color: rgba(132, 242, 155, 0.4);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(132, 242, 155, 0.2);
  }

  .quiz-opt.selected .quiz-opt-marker {
    background: linear-gradient(135deg, var(--brand) 0%, rgba(132, 242, 155, 0.9) 100%);
    border-color: rgba(132, 242, 155, 0.6);
    color: #000000;
    box-shadow: 
      0 4px 12px rgba(132, 242, 155, 0.4),
      0 0 0 2px rgba(132, 242, 155, 0.2);
    transform: scale(1.1);
  }

  .quiz-opt-text {
    font-weight: 600;
    line-height: 1.5;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: color 0.3s ease;
  }
  
  .quiz-opt.selected .quiz-opt-text {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
  }

  .quiz-text-input {
    margin-top: 16px;
    position: relative;
  }

  .text-answer-input {
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.08) 0%, rgba(132, 242, 155, 0.03) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    border-radius: 16px;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 
      0 2px 8px rgba(132, 242, 155, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .text-answer-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
  }

  .text-answer-input:focus {
    border-color: rgba(132, 242, 155, 0.6);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    box-shadow: 
      0 0 0 3px rgba(132, 242, 155, 0.15),
      0 8px 20px rgba(132, 242, 155, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
  }

  .text-answer-hint {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .text-answer-hint::before {
    content: '💡';
    font-style: normal;
    opacity: 0.7;
  }

  .quiz-answers.yesno-answers {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .quiz-answers.yesno-answers .quiz-opt {
    min-height: 100px;
    padding: 28px 32px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }

  .quiz-answers.yesno-answers .quiz-opt::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.3), rgba(132, 242, 155, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .quiz-answers.yesno-answers .quiz-opt:hover::before,
  .quiz-answers.yesno-answers .quiz-opt.selected::before {
    opacity: 1;
  }

  .quiz-answers.yesno-answers .quiz-opt-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
  }

  .quiz-answers.yesno-answers .quiz-opt-text::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2), rgba(132, 242, 155, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
  }

  .quiz-answers.yesno-answers .quiz-opt[data-index="0"] .quiz-opt-text::before {
    content: '✓';
    color: rgba(76, 175, 80, 0.8);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
  }

  .quiz-answers.yesno-answers .quiz-opt[data-index="1"] .quiz-opt-text::before {
    content: '✗';
    color: rgba(244, 67, 54, 0.8);
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(244, 67, 54, 0.1));
  }

  .quiz-answers.yesno-answers .quiz-opt:hover .quiz-opt-text::before,
  .quiz-answers.yesno-answers .quiz-opt.selected .quiz-opt-text::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }

  .quiz-answers.yesno-answers .quiz-opt.selected {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.25) 0%, rgba(132, 242, 155, 0.15) 100%);
    border-color: rgba(132, 242, 155, 0.7);
    box-shadow: 
      0 0 0 3px rgba(132, 242, 155, 0.25),
      0 12px 32px rgba(132, 242, 155, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .quiz-answers.yesno-answers .quiz-opt.selected[data-index="0"] {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.1) 100%);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 
      0 0 0 3px rgba(76, 175, 80, 0.2),
      0 12px 32px rgba(76, 175, 80, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .quiz-answers.yesno-answers .quiz-opt.selected[data-index="1"] {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(244, 67, 54, 0.1) 100%);
    border-color: rgba(244, 67, 54, 0.5);
    box-shadow: 
      0 0 0 3px rgba(244, 67, 54, 0.2),
      0 12px 32px rgba(244, 67, 54, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .quiz-answers.yesno-answers .quiz-opt-marker {
    display: none;
  }

  .navRow{
    margin-top: 28px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 14px;
    flex-wrap:wrap;
    position:relative;
  }
  
  .nav-buttons-group {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .nav-buttons-group {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
    width:100%;
  }

  .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .hidden {
    display: none !important;
  }

  .right .body{
    display:grid;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.02) 0%, rgba(132, 242, 155, 0.005) 100%);
  }
  .statGrid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .stat{
    padding: 18px 16px;
    border-radius: 18px;
    border: 1.5px solid rgba(132, 242, 155, 0.15);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.06) 0%, rgba(132, 242, 155, 0.02) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.5s ease backwards;
    box-shadow: 
      0 4px 12px rgba(132, 242, 155, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .stat:nth-child(1) { animation-delay: 0.1s; }
  .stat:nth-child(2) { animation-delay: 0.2s;   }

  .stat .v {
    animation: countUp 0.6s ease backwards;
  }
  .stat .k{
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .stat .v{
    margin-top: 8px;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.95) 0%, rgba(132, 242, 155, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
  }
  .stat .s{
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
  }

  .rules{
    padding: 18px;
    border-radius: 18px;
    border: 1.5px dashed rgba(132, 242, 155, 0.2);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.05) 0%, rgba(132, 242, 155, 0.02) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    box-shadow: 
      0 2px 8px rgba(132, 242, 155, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .q-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  .q-dot {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 2px solid var(--line);
    background: var(--bg0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .q-dot:hover {
    background: rgba(132, 242, 155, 0.1);
    border-color: var(--brand);
  }

  .q-dot.current {
    border-color: var(--brand);
    background: rgba(132, 242, 155, 0.2);
    color: var(--text);
  }

  .q-dot.answered {
    border-color: var(--brand);
    background: rgba(132, 242, 155, 0.15);
    color: var(--brand);
  }

  #categories-panel {
    margin-top: 20px;
    display: grid;
    gap: 18px;
  }

  .category-section {
    padding: 22px;
    border-radius: 20px;
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.08) 0%, 
      rgba(132, 242, 155, 0.03) 50%,
      rgba(132, 242, 155, 0.01) 100%);
    box-shadow: 
      0 8px 24px rgba(132, 242, 155, 0.12),
      0 2px 8px rgba(132, 242, 155, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(132, 242, 155, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .category-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent, 
      rgba(132, 242, 155, 0.15), 
      rgba(255, 255, 255, 0.1),
      rgba(132, 242, 155, 0.15),
      transparent);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
  }
  
  .category-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
  }
  
  .category-section:hover::before {
    left: 100%;
  }
  
  .category-section:hover::after {
    opacity: 1;
  }
  
  .category-section:hover {
    border-color: rgba(132, 242, 155, 0.35);
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.12) 0%, 
      rgba(132, 242, 155, 0.06) 50%,
      rgba(132, 242, 155, 0.03) 100%);
    box-shadow: 
      0 12px 32px rgba(132, 242, 155, 0.2),
      0 4px 16px rgba(132, 242, 155, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -1px 0 rgba(132, 242, 155, 0.1),
      0 0 0 1px rgba(132, 242, 155, 0.1);
    transform: translateY(-3px);
  }

  .category-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
  }

  .category-section-icon {
    font-size: 22px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 6px rgba(132, 242, 155, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .category-section:hover .category-section-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 8px rgba(132, 242, 155, 0.6));
  }

  .category-section-name {
    flex: 1;
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 1) 0%, 
      rgba(132, 242, 155, 0.85) 50%,
      rgba(132, 242, 155, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 0 20px rgba(132, 242, 155, 0.3);
    transition: all 0.3s ease;
  }
  
  .category-section:hover .category-section-name {
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 1) 0%, 
      rgba(255, 255, 255, 0.95) 50%,
      rgba(132, 242, 155, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .category-section-progress {
    color: rgba(132, 242, 155, 0.7);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(132, 242, 155, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(132, 242, 155, 0.2);
    transition: all 0.3s ease;
  }
  
  .category-section:hover .category-section-progress {
    background: rgba(132, 242, 155, 0.15);
    border-color: rgba(132, 242, 155, 0.3);
    color: rgba(132, 242, 155, 0.9);
    box-shadow: 0 2px 8px rgba(132, 242, 155, 0.2);
  }

  .category-questions-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
  }

  .category-q-dot {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1.5px solid rgba(132, 242, 155, 0.25);
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.1) 0%, 
      rgba(132, 242, 155, 0.05) 50%,
      rgba(132, 242, 155, 0.02) 100%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 4px 12px rgba(132, 242, 155, 0.12),
      0 2px 4px rgba(132, 242, 155, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    will-change: border-color, background, box-shadow;
  }
  
  .category-q-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.2) 0%, 
      rgba(255, 255, 255, 0.1) 50%,
      rgba(132, 242, 155, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
  }
  
  .category-q-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    pointer-events: none;
    z-index: 0;
  }

  .category-q-dot:hover::before {
    opacity: 1;
  }
  
  .category-q-dot:hover::after {
    width: 120%;
    height: 120%;
  }

  .category-q-dot:hover {
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.18) 0%, 
      rgba(132, 242, 155, 0.1) 50%,
      rgba(132, 242, 155, 0.06) 100%);
    border-color: rgba(132, 242, 155, 0.5);
    box-shadow: 
      0 6px 20px rgba(132, 242, 155, 0.3),
      0 2px 8px rgba(132, 242, 155, 0.2),
      0 0 0 1px rgba(132, 242, 155, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 1);
  }
  
  .category-q-dot > * {
    position: relative;
    z-index: 1;
  }

  .category-q-dot.current {
    border-color: rgba(132, 242, 155, 0.7);
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.3) 0%, 
      rgba(132, 242, 155, 0.2) 50%,
      rgba(132, 242, 155, 0.15) 100%);
    color: rgba(255, 255, 255, 1);
    box-shadow: 
      0 0 0 2px rgba(132, 242, 155, 0.4),
      0 8px 24px rgba(132, 242, 155, 0.5),
      0 4px 12px rgba(132, 242, 155, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(132, 242, 155, 0.1);
  }
  
  .category-q-dot.current::before {
    opacity: 1;
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.25) 0%, 
      rgba(255, 255, 255, 0.15) 50%,
      rgba(132, 242, 155, 0.2) 100%);
  }
  
  .category-q-dot.current::after {
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.4) 0%, transparent 70%);
  }

  .category-q-dot.answered {
    border-color: rgba(132, 242, 155, 0.45);
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.22) 0%, 
      rgba(132, 242, 155, 0.15) 50%,
      rgba(132, 242, 155, 0.1) 100%);
    color: rgba(132, 242, 155, 1);
    box-shadow: 
      0 4px 16px rgba(132, 242, 155, 0.25),
      0 2px 6px rgba(132, 242, 155, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  
  .category-q-dot.answered::before {
    opacity: 0.6;
  }
  
  .category-q-dot.answered.current {
    border-color: rgba(132, 242, 155, 0.8);
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.35) 0%, 
      rgba(132, 242, 155, 0.25) 50%,
      rgba(132, 242, 155, 0.2) 100%);
    box-shadow: 
      0 0 0 2px rgba(132, 242, 155, 0.5),
      0 8px 24px rgba(132, 242, 155, 0.6),
      0 4px 12px rgba(132, 242, 155, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  
  .category-q-dot.question-dot-clicked {
    will-change: transform;
    transform: translateZ(0);
    animation: questionDotClick 0.25s ease-out forwards;
  }
  
  @keyframes questionDotClick {
    0% {
      transform: translateZ(0) scale(1);
    }
    50% {
      transform: translateZ(0) scale(1.15);
    }
    100% {
      transform: translateZ(0) scale(1);
    }
  }

  .overlay{
    position:fixed; inset:0;
    display:none;
    place-items:center;
    padding:18px;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
  }
  .overlay.show{
    display:grid;
    animation: fadeIn 0.3s ease;
  }

  .result{
    width:min(680px, 100%);
    border-radius: 22px;
    border:1px solid var(--line);
    background: var(--bg0);
    box-shadow: 0 26px 80px rgba(0,0,0,.55);
    overflow:hidden;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  .result-scrollable {
    max-height: 90vh;
    overflow-y: auto;
  }

  .result-wide {
    max-width: 900px;
  }

  .review-actions {
    padding: 0 18px 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
  }
  .result .head{padding:18px 18px 12px}
  .result .body{padding: 0 18px 18px}

  @keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }

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

  .score-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--bg0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    border: 3px solid var(--line);
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1), pulse 3s ease-in-out infinite 0.6s;
  }

  .score-circle .big {
    font-size: 52px;
    font-weight: 950;
    color: var(--text);
  }

  .score-circle .label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
  }

  .grade {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin: 16px 0;
  }

  .grade.excellent { color: var(--ok); }
  .grade.good { color: var(--brand2); }
  .grade.satisfactory { color: var(--warn); }
  .grade.fail { color: var(--danger); }

  .result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
  }

  .result-stat {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg0);
    text-align: center;
  }

  .result-stat .value {
    font-size: 24px;
    font-weight: 800;
  }

  .result-stat .label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
  }

  .result-stat.correct .value { color: var(--ok); }
  .result-stat.wrong .value { color: rgba(255, 200, 100, 0.9); }
  .result-stat.percentage .value { color: var(--brand); }

  .result-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }

  #certificate-btn {
    display: none;
  }

  .review-item {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg0);
    margin-bottom: 12px;
  }

  .review-item .q-text {
    font-weight: 700;
    margin-bottom: 10px;
  }

  .review-item .answer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 8px;
  }

  .review-item .answer-row.user-correct {
    background: rgba(132, 242, 155, 0.15);
    color: var(--brand);
  }

  .review-item .answer-row.user-wrong {
    background: rgba(132, 242, 155, 0.1);
    color: var(--brand);
  }

  .review-item .correct-answer {
    color: var(--brand);
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(132, 242, 155, 0.1);
    border-radius: 8px;
  }

  .name-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }
  
  .name-modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
  }
  
  .name-modal {
    background: linear-gradient(145deg, rgba(18, 20, 18, 0.98) 0%, rgba(14, 15, 14, 0.98) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    border-radius: 24px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    box-shadow: 
      0 25px 50px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(132, 242, 155, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: slideUp 0.3s ease;
  }
  
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .name-modal-header {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .name-modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .name-modal-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
  }
  
  .name-modal-body {
    margin-bottom: 24px;
  }
  
  .name-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    background: rgba(132, 242, 155, 0.08);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    border-radius: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
  }
  
  .name-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }
  
  .name-input:focus {
    border-color: var(--brand);
    background: rgba(132, 242, 155, 0.12);
    box-shadow: 0 0 0 3px rgba(132, 242, 155, 0.15);
  }
  
  .name-modal-actions {
    display: flex;
    gap: 12px;
  }
  
  .name-modal-actions .btn {
    flex: 1;
    padding: 14px 20px;
  }

  .results-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    z-index: 1;
  }

  .results-page .landing {
    flex: 0 0 auto;
    min-height: auto;
  }

  .results-page .landing .wrap {
    flex: 0 0 auto;
    padding: 22px 24px 0;
    min-height: auto;
  }

  .results-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(132, 242, 155, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
      0 4px 20px rgba(132, 242, 155, 0.15),
      0 0 0 1px rgba(132, 242, 155, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: headerGlow 3s ease-in-out infinite;
  }

  .results-header-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(132, 242, 155, 0.1) 50%, 
      transparent 100%);
    animation: headerShine 4s ease-in-out infinite;
  }

  .results-header-bar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    padding: 2px;
    background: linear-gradient(135deg, 
      rgba(132, 242, 155, 0.4) 0%, 
      rgba(132, 242, 155, 0.1) 50%, 
      rgba(132, 242, 155, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }
  
  .results-header-bar:hover::after {
    opacity: 0.6;
  }

  .results-header-bar .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family:'Space Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--text);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
  }

  .results-header-bar .logo {
    width: clamp(32px, 4vh, 38px);
    height: clamp(32px, 4vh, 38px);
  }
  
  .results-header-bar .logo-icon {
    width: 100%;
    height: 100%;
  }

  .results-header-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
  }

  .header-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .header-stat-value {
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.95) 0%, rgba(132, 242, 155, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .header-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
  }

  .header-stat.grade {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.08) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.3);
    color: var(--brand);
  }

  .header-stat.grade.excellent { 
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.08) 100%);
    border-color: rgba(132, 242, 155, 0.3);
    color: var(--ok); 
  }
  .header-stat.grade.good { 
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.08) 100%);
    border-color: rgba(132, 242, 155, 0.3);
    color: var(--brand2); 
  }
  .header-stat.grade.satisfactory { 
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 204, 0, 0.08) 100%);
    border-color: rgba(255, 204, 0, 0.3);
    color: var(--warn); 
  }
  .header-stat.grade.fail { 
    background: linear-gradient(135deg, rgba(255, 200, 100, 0.15) 0%, rgba(255, 200, 100, 0.08) 100%);
    border-color: rgba(255, 200, 100, 0.3);
    color: rgba(255, 200, 100, 0.9); 
  }

  .header-stat-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, transparent, rgba(132, 242, 155, 0.3), transparent);
  }

  .results-header-actions {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
  }

  .results-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, rgba(132, 242, 155, 0.05) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .results-btn-icon:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.1) 100%);
    border-color: rgba(132, 242, 155, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(132, 242, 155, 0.2);
  }

  .results-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 16px 20px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .results-panel {
    border: 1.5px solid rgba(132, 242, 155, 0.15);
    border-radius: 20px;
    background: rgba(23, 25, 23, 0.85);
    box-shadow: 
      0 8px 32px rgba(132, 242, 155, 0.12),
      0 0 0 1px rgba(132, 242, 155, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease backwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .results-panel::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.3) 0%, rgba(132, 242, 155, 0.1) 50%, rgba(132, 242, 155, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .results-panel:hover::before {
    opacity: 0.6;
  }

  .results-review-panel {
    animation-delay: 0.1s;
    max-height: calc(100vh - 160px);
  }

  .results-certificate-panel {
    animation-delay: 0.2s;
    max-height: calc(100vh - 160px);
  }

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

  .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(132, 242, 155, 0.1);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.05) 0%, rgba(132, 242, 155, 0.02) 100%);
    position: relative;
  }

  .panel-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(132, 242, 155, 0.3), transparent);
  }

  .panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.9) 0%, rgba(132, 242, 155, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
  }

  .panel-title svg {
    color: var(--brand);
  }

  .panel-stats {
    display: flex;
    gap: 16px;
  }

  .panel-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
  }

  .panel-stat .stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }

  .panel-stat.correct { 
    color: var(--ok);
    background: rgba(132, 242, 155, 0.1);
  }
  .panel-stat.correct .stat-dot { 
    background: var(--ok);
    box-shadow: 0 0 10px rgba(132, 242, 155, 0.5);
  }
  .panel-stat.wrong { 
    color: rgba(255, 200, 100, 0.9);
    background: rgba(255, 200, 100, 0.1);
  }
  .panel-stat.wrong .stat-dot { 
    background: rgba(255, 200, 100, 0.8);
    box-shadow: 0 0 10px rgba(255, 200, 100, 0.4);
  }

  .panel-actions {
    display: flex;
    gap: 8px;
  }

  .panel-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, rgba(132, 242, 155, 0.05) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .panel-action-btn:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.1) 100%);
    border-color: rgba(132, 242, 155, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(132, 242, 155, 0.2);
  }

  .review-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
  }

  .review-list::-webkit-scrollbar {
    width: 6px;
  }

  .review-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .review-list::-webkit-scrollbar-thumb {
    background: rgba(132, 242, 155, 0.3);
    border-radius: 3px;
  }

  .review-list::-webkit-scrollbar-thumb:hover {
    background: rgba(132, 242, 155, 0.5);
  }

  .review-item {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.05) 0%, rgba(132, 242, 155, 0.02) 100%);
    border: 1.5px solid rgba(132, 242, 155, 0.1);
    border-radius: 16px;
    padding: 18px;
    transition: all 0.3s ease;
    position: relative;
  }

  .review-item:hover {
    border-color: rgba(132, 242, 155, 0.25);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.08) 0%, rgba(132, 242, 155, 0.04) 100%);
    transform: translateX(4px);
  }

  .review-item.correct {
    border-left: 4px solid var(--ok);
  }

  .review-item.wrong {
    border-left: 4px solid rgba(255, 200, 100, 0.6);
  }

  .review-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }

  .review-item-number {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .review-item-status {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
  }

  .review-item.correct .review-item-status {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.1) 100%);
    color: var(--ok);
    border: 1px solid rgba(132, 242, 155, 0.3);
  }

  .review-item.wrong .review-item-status {
    background: linear-gradient(135deg, rgba(255, 200, 100, 0.15) 0%, rgba(255, 200, 100, 0.08) 100%);
    color: rgba(255, 200, 100, 0.9);
    border: 1px solid rgba(255, 200, 100, 0.3);
  }

  .review-item-question {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .review-item-answers {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .review-answer {
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
  }

  .review-answer.user-answer {
    border: 1.5px solid rgba(255, 200, 100, 0.5);
    color: rgba(255, 200, 100, 0.9);
    background: rgba(255, 200, 100, 0.08);
  }

  .review-answer.correct-answer {
    border: 1.5px solid var(--ok);
    color: var(--ok);
    background: rgba(132, 242, 155, 0.1);
  }

  .review-answer.user-correct {
    border: 1.5px solid var(--ok);
    color: var(--ok);
    background: rgba(132, 242, 155, 0.15);
  }

  .certificate-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: auto;
  }

  .certificate {
    width: 100%;
    max-width: 1400px;
    aspect-ratio: 1.25;
    background: rgba(23, 25, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    position: relative;
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(132, 242, 155, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
  }

  .certificate-border {
    position: absolute;
    inset: 10px;
    border: 1.5px solid rgba(132, 242, 155, 0.25);
    border-radius: 12px;
    pointer-events: none;
  }

  .certificate-border::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(132, 242, 155, 0.1);
    border-radius: 8px;
  }

  .certificate-inner {
    position: relative;
    z-index: 1;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }

  .cert-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(132, 242, 155, 0.15);
    width: 100%;
    justify-content: center;
  }

  .cert-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .cert-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .cert-header-text {
    text-align: left;
  }

  .cert-title {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
  }

  .cert-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 6px 0 0 0;
  }

  .cert-body {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding-top: 20px;
  }
  
  .cert-body .cert-score {
    margin-top: 16px;
  }

  .cert-text-small {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    letter-spacing: 1px;
  }

  .cert-name {
    font-size: 38px;
    font-weight: 700;
    margin: 12px 0;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
  }

  .cert-course {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand);
    margin: 6px 0 0 0;
    letter-spacing: 0.5px;
  }

  .cert-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    padding: 18px 48px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    border: 1px solid rgba(132, 242, 155, 0.2);
    border-radius: 16px;
  }

  .cert-score-value {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
  }

  .cert-score-percent {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand);
  }

  .cert-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    padding-top: 28px;
    border-top: 1px solid rgba(132, 242, 155, 0.15);
    position: relative;
  }

  .cert-seal {
    color: var(--brand);
    opacity: 0.7;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
  }

  .cert-date,
  .cert-id {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .cert-date {
    align-items: flex-start;
  }

  .cert-id {
    align-items: flex-end;
  }

  .cert-date-value,
  .cert-id-value {
    font-size: 12px;
    color: var(--text);
    font-weight: 600;
  }

  .cert-date-label,
  .cert-id-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .cert-seal svg {
    width: 60px;
    height: 60px;
  }

  .certificate-actions {
    padding: 20px 24px;
    border-top: 1px solid rgba(132, 242, 155, 0.1);
    display: flex;
    gap: 12px;
  }

  .certificate-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .certificate-actions .btn.large {
    padding: 16px 24px;
  }

  .certificate-actions .btn.secondary {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, rgba(132, 242, 155, 0.05) 100%);
    color: var(--text);
    border: 1.5px solid rgba(132, 242, 155, 0.2);
  }

  .certificate-actions .btn.secondary:hover {
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.1) 100%);
    border-color: rgba(132, 242, 155, 0.4);
  }

  @media (max-width: 1024px) {
    .results-main {
      grid-template-columns: 1fr;
      padding: 16px;
      gap: 20px;
    }

    .results-header-bar {
      flex-wrap: wrap;
      gap: 12px;
    }

    .results-header-stats {
      order: 3;
      width: 100%;
      justify-content: center;
      padding-top: 12px;
      border-top: 1px solid rgba(132, 242, 155, 0.1);
    }

    .header-stat-value {
      font-size: 24px;
    }

    .results-panel {
      max-height: none;
    }

    .results-review-panel {
      max-height: none;
    }

    .review-list {
      max-height: 50vh;
    }

    .certificate {
      max-width: 100%;
      aspect-ratio: 1.2;
    }

    .certificate-preview {
      padding: 20px;
    }

    .certificate-inner {
      padding: 28px 24px;
    }
  }

  @media (max-width: 600px) {
    .results-header-bar {
      padding: 10px 14px;
    }

    .results-header-stats {
      gap: 12px;
    }

    .header-stat-divider {
      display: none;
    }

    .results-main {
      padding: 12px;
      gap: 16px;
    }

    .panel-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      padding: 16px 18px;
    }

    .certificate-actions {
      flex-direction: column;
      gap: 12px;
    }

    .certificate-preview {
      padding: 16px;
    }

    .certificate {
      max-width: 100%;
      aspect-ratio: 1.15;
      border-radius: 16px;
    }

    .certificate-inner {
      padding: 24px 20px;
    }

    .cert-header {
      gap: 12px;
      padding-bottom: 12px;
    }

    .cert-logo {
      width: 40px;
      height: 40px;
    }

    .cert-title {
      font-size: 24px;
      letter-spacing: 4px;
    }

    .cert-subtitle {
      font-size: 10px;
      letter-spacing: 2px;
    }

    .cert-name {
      font-size: 26px;
      margin: 10px 0;
    }

    .cert-text-small {
      font-size: 11px;
    }

    .cert-course {
      font-size: 15px;
    }
    
    .cert-score {
      padding: 12px 28px;
      border-radius: 12px;
    }

    .cert-score-value {
      font-size: 36px;
    }

    .cert-score-percent {
      font-size: 20px;
    }

    .cert-footer {
      gap: 12px;
      margin-top: 16px;
    }

    .cert-date,
    .cert-id {
      font-size: 11px;
    }

    .cert-date-value,
    .cert-id-value {
      font-size: 10px;
    }

    .cert-seal svg {
      width: 50px;
      height: 50px;
    }

    .review-list {
      max-height: 40vh;
    }
    
    .cert-header {
      gap: 12px;
      padding-bottom: 12px;
    }
    
    .cert-logo {
      width: 36px;
      height: 36px;
    }
  }

  .screen {
    display: none;
    animation: fadeIn 0.4s ease;
  }

  .screen.active {
    display: block;
    animation: slideInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .screen.active.no-animation {
    animation: none !important;
  }
  
  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .screen.active .hero-content {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }
  
  #welcome-screen.active .hero-content,
  #about-screen.active .hero-content {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }

  .landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    overflow: visible !important;
  }

  .landing .wrap {
    min-height: auto;
    padding-bottom: 0;
    background: transparent;
  }
  
  .screen {
    background: transparent;
  }

  .hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.5vh, 20px) 24px clamp(10px, 1.5vh, 15px);
    min-height: 0;
  }

  .hero-content {
    max-width: 900px;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: clamp(24px, 3vh, 40px);
    border-radius: clamp(20px, 5vw, 32px);
    border: 2px solid transparent;
    background: rgba(132, 242, 155, 0.03);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(132, 242, 155, 0.1);
    animation: frameGlow 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    transform: translateZ(0);
    will-change: transform;
    overflow: hidden;
  }

  #about-screen .hero-content {
    max-width: 95%;
  }

  #about-screen .hero-content::before {
    border-radius: clamp(16px, 4vw, 24px);
  }

  #about-screen .hero-content::after {
    border-radius: clamp(16px, 4vw, 24px);
  }
  
  #about-screen .hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: clamp(16px, 2vh, 24px);
    background: linear-gradient(135deg, var(--text) 0%, var(--muted) 50%, var(--text) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradientShift 4s ease-in-out infinite;
    letter-spacing: -1px;
  }
  
  @keyframes titleGradientShift {
    0%, 100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }

  .hero-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: clamp(16px, 4vw, 24px);
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.5), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: frameRotate 8s linear infinite;
    opacity: 0.6;
    will-change: transform;
    transform: translateZ(0);
  }

  .hero-content::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: clamp(16px, 4vw, 24px);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, transparent 50%, rgba(132, 242, 155, 0.1) 100%);
    background-size: 200% 200%;
    animation: frameShine 4s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.5;
    will-change: background-position;
    transform: translateZ(0);
  }

  @keyframes frameGlow {
    0%, 100% {
      box-shadow: 0 8px 32px rgba(132, 242, 155, 0.1),
                  0 0 0 0 rgba(132, 242, 155, 0.2);
    }
    50% {
      box-shadow: 0 8px 32px rgba(132, 242, 155, 0.2),
                  0 0 40px 10px rgba(132, 242, 155, 0.15);
    }
  }

  @keyframes frameRotate {
    0% {
      transform: translateZ(0) rotate(0deg);
    }
    25% {
      transform: translateZ(0) rotate(90deg);
    }
    50% {
      transform: translateZ(0) rotate(180deg);
    }
    75% {
      transform: translateZ(0) rotate(270deg);
    }
    100% {
      transform: translateZ(0) rotate(360deg);
    }
  }

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


  .hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 clamp(12px, 1.5vh, 20px) 0;
    color: var(--text);
    animation: fadeInUp 0.6s ease 0.1s both;
    background: linear-gradient(135deg, var(--text) 0%, var(--muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
  }

  .hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 clamp(16px, 2vh, 24px) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.15s both;
    flex-shrink: 0;
  }

  .hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
    margin-bottom: clamp(12px, 1.5vh, 18px);
    flex-shrink: 0;
  }

  .hero-actions-column {
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn-full-width {
    width: 100%;
  }

  .hero-decorative {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(32px, 4vh, 48px);
    padding-top: clamp(32px, 4vh, 48px);
    animation: fadeInUp 0.6s ease 0.4s both;
    flex-shrink: 0;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .decorative-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(132, 242, 155, 0.3) 50%,
      transparent 100%
    );
    position: relative;
    animation: decorativeLineGlow 3s ease-in-out infinite;
  }

  .decorative-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(132, 242, 155, 0.5) 50%,
      transparent 100%
    );
    filter: blur(4px);
    animation: decorativeLinePulse 2s ease-in-out infinite;
  }

  .decorative-dots {
    display: flex;
    gap: clamp(8px, 1vw, 12px);
    align-items: center;
  }

  .decorative-dot {
    width: clamp(8px, 1vw, 10px);
    height: clamp(8px, 1vw, 10px);
    border-radius: 50%;
    background: rgba(132, 242, 155, 0.4);
    box-shadow: 0 0 clamp(8px, 1vw, 12px) rgba(132, 242, 155, 0.5);
    animation: decorativeDotPulse 2s ease-in-out infinite;
  }

  .decorative-dot:nth-child(1) {
    animation-delay: 0s;
  }

  .decorative-dot:nth-child(2) {
    animation-delay: 0.3s;
    width: clamp(10px, 1.2vw, 12px);
    height: clamp(10px, 1.2vw, 12px);
  }

  .decorative-dot:nth-child(3) {
    animation-delay: 0.6s;
  }

  @keyframes decorativeLineGlow {
    0%, 100% {
      opacity: 0.5;
    }
    50% {
      opacity: 1;
    }
  }

  @keyframes decorativeLinePulse {
    0%, 100% {
      opacity: 0.3;
      transform: translate(-50%, -50%) scaleX(1);
    }
    50% {
      opacity: 0.6;
      transform: translate(-50%, -50%) scaleX(1.2);
    }
  }

  @keyframes decorativeDotPulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.6;
      box-shadow: 0 0 clamp(8px, 1vw, 12px) rgba(132, 242, 155, 0.5);
    }
    50% {
      transform: scale(1.3);
      opacity: 1;
      box-shadow: 0 0 clamp(12px, 1.5vw, 18px) rgba(132, 242, 155, 0.8);
    }
  }

  .language-selector {
    margin: clamp(20px, 2.5vh, 32px) 0 clamp(16px, 2vh, 24px);
    animation: fadeInUp 0.6s ease 0.2s both;
    flex-shrink: 0;
  }

  .language-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(132, 242, 155, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: clamp(16px, 2vh, 20px);
    text-align: center;
    position: relative;
  }

  .language-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(132, 242, 155, 0.5), transparent);
    border-radius: 2px;
  }

  .language-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
  }

  .language-card {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    padding: 24px 20px;
    border-radius: 20px;
    border: 1.5px solid rgba(132, 242, 155, 0.15);
    background: rgba(132, 242, 155, 0.03);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }

  .language-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, rgba(132, 242, 155, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .language-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .language-card:hover {
    border-color: rgba(132, 242, 155, 0.4);
    background: rgba(132, 242, 155, 0.08);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
      0 12px 32px rgba(132, 242, 155, 0.2),
      0 0 0 1px rgba(132, 242, 155, 0.1);
  }

  .language-card:hover::before {
    opacity: 1;
  }

  .language-card:hover::after {
    opacity: 0.6;
    animation: borderRotate 3s linear infinite;
  }

  .language-card.selected {
    border-color: rgba(132, 242, 155, 0.5);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.06) 100%);
    box-shadow: 
      0 8px 24px rgba(132, 242, 155, 0.25),
      0 0 0 2px rgba(132, 242, 155, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

  .language-card.selected::before {
    opacity: 1;
  }

  .language-card.selected::after {
    opacity: 0.8;
    animation: borderRotate 3s linear infinite;
  }

  @keyframes borderRotate {
    0% {
      background: linear-gradient(135deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    25% {
      background: linear-gradient(225deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    50% {
      background: linear-gradient(315deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    75% {
      background: linear-gradient(45deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    100% {
      background: linear-gradient(135deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
  }

  .language-flag {
    font-size: 42px;
    margin-bottom: 12px;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(132, 242, 155, 0.3));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .language-card:hover .language-flag {
    transform: scale(1.1) rotate(5deg);
  }

  .language-card.selected .language-flag {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(132, 242, 155, 0.5));
  }

  .language-name {
    font-size: clamp(15px, 1.8vh, 16px);
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 0;
    letter-spacing: 0.3px;
  }

  .language-check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, rgba(132, 242, 155, 0.8) 100%);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(132, 242, 155, 0.4);
  }

  .language-card .language-check {
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  .language-card:not(.selected) .language-check {
    opacity: 0;
    transform: scale(0);
  }
  
  .language-card.selected .language-check {
    opacity: 1;
    transform: scale(1);
  }

  .language-check svg {
    width: 18px;
    height: 18px;
  }

  #start-exam-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }

  #start-exam-btn:disabled:hover {
    transform: none;
    box-shadow: none;
  }

  .btn-start {
    padding: clamp(14px, 1.5vh, 16px) clamp(32px, 3vw, 40px);
    font-size: clamp(14px, 1.6vh, 15px);
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, var(--brand) 0%, rgba(132, 242, 155, 0.9) 100%);
    color: #000;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 8px 24px rgba(132, 242, 155, 0.4),
      0 0 0 0 rgba(132, 242, 155, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1vh, 10px);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    letter-spacing: 0.3px;
  }

  .btn-start::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
  }

  .btn-start::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
  }

  .btn-start:hover::before {
    left: 100%;
  }

  .btn-start:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
      0 12px 36px rgba(132, 242, 155, 0.5),
      0 0 0 4px rgba(132, 242, 155, 0.2);
    background: linear-gradient(135deg, rgba(132, 242, 155, 1) 0%, rgba(132, 242, 155, 0.95) 100%);
  }

  .btn-start:hover::after {
    opacity: 1;
    animation: buttonBorderShine 2s linear infinite;
  }

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

  .btn-start:active {
    transform: translateY(-2px) scale(0.98);
  }

  .btn-start .arrow {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .btn-start .arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .btn-start:hover .arrow {
    transform: translateX(6px) scale(1.1);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  
  .btn-start:hover .arrow::before {
    opacity: 1;
  }

  .btn-start .arrow::after {
    content: "→";
    font-size: 18px;
    font-weight: 900;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .btn-start:hover .arrow::after {
    transform: translateX(2px);
  }

  .btn-info {
    padding: 18px 32px;
    font-size: 17px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--bg0);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
  }

  .btn-info:hover {
    background: rgba(132, 242, 155, 0.1);
    border-color: var(--brand);
  }

  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: clamp(16px, 2vh, 24px);
    animation: fadeInUp 0.6s ease 0.4s both;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 1;
    min-height: 0;
  }

  .feature {
    padding: clamp(12px, 1.5vh, 16px);
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(132, 242, 155, 0.02);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
  }

  .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .feature:hover {
    background: rgba(132, 242, 155, 0.1);
    border-color: var(--brand);
    transform: translateY(-2px);
  }

  .feature-icon {
    width: clamp(36px, 4vh, 40px);
    height: clamp(36px, 4vh, 40px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(18px, 2.2vh, 20px);
    margin-bottom: clamp(8px, 1vh, 10px);
  }

  .feature:nth-child(1) .feature-icon {
    background: rgba(132, 242, 155, 0.2);
  }
  .feature:nth-child(2) .feature-icon {
    background: rgba(132, 242, 155, 0.2);
  }
  .feature:nth-child(3) .feature-icon {
    background: rgba(132, 242, 155, 0.2);
  }

  .feature-title {
    font-size: clamp(13px, 1.5vh, 14px);
    font-weight: 800;
    margin: 0 0 clamp(4px, 0.5vh, 6px) 0;
    line-height: 1.2;
  }

  .feature-desc {
    font-size: clamp(11px, 1.3vh, 12px);
    color: var(--muted);
    margin: 0;
    line-height: 1.35;
  }

  .creators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
    margin-top: clamp(32px, 4vh, 48px);
    width: 95%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .creator-card {
    animation: fadeInUp 0.6s ease both;
  }
  
  .creator-card:nth-child(1) {
    animation-delay: 0.2s;
  }
  
  .creator-card:nth-child(2) {
    animation-delay: 0.4s;
  }
  
  .creator-card:nth-child(3) {
    animation-delay: 0.6s;
  }

  .creator-card {
    padding: clamp(36px, 4vw, 56px) clamp(32px, 3.5vw, 48px);
    border-radius: 28px;
    border: 1.5px solid rgba(132, 242, 155, 0.15);
    background: rgba(132, 242, 155, 0.03);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 20px rgba(132, 242, 155, 0.05);
  }

  .creator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.12) 0%, rgba(132, 242, 155, 0.04) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  .creator-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
  }

  .creator-card:hover {
    background: rgba(132, 242, 155, 0.08);
    border-color: rgba(132, 242, 155, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
      0 20px 48px rgba(132, 242, 155, 0.25),
      0 0 0 1px rgba(132, 242, 155, 0.2);
  }

  .creator-card:hover::before {
    opacity: 1;
  }

  .creator-card:hover::after {
    opacity: 0.7;
    animation: cardBorderRotate 4s linear infinite;
  }

  @keyframes cardBorderRotate {
    0% {
      background: linear-gradient(135deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    25% {
      background: linear-gradient(225deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    50% {
      background: linear-gradient(315deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    75% {
      background: linear-gradient(45deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
    100% {
      background: linear-gradient(135deg, rgba(132, 242, 155, 0.4), rgba(132, 242, 155, 0.1), rgba(132, 242, 155, 0.4));
    }
  }

  .creator-avatar {
    width: clamp(100px, 12vw, 140px);
    height: clamp(100px, 12vw, 140px);
    border-radius: 50%;
    margin: 0 auto clamp(24px, 3vh, 32px);
    overflow: hidden;
    border: 3px solid rgba(132, 242, 155, 0.2);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.15) 0%, rgba(132, 242, 155, 0.05) 100%);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 8px 24px rgba(132, 242, 155, 0.15),
      inset 0 2px 8px rgba(255, 255, 255, 0.1);
  }

  .creator-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.6), rgba(132, 242, 155, 0.2), rgba(132, 242, 155, 0.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
  }

  .creator-card:hover .creator-avatar {
    border-color: rgba(132, 242, 155, 0.5);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 
      0 12px 32px rgba(132, 242, 155, 0.35),
      inset 0 2px 8px rgba(255, 255, 255, 0.15);
  }

  .creator-card:hover .creator-avatar::before {
    opacity: 1;
    animation: avatarBorderGlow 3s ease-in-out infinite;
  }

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

  .creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .creator-card:hover .creator-avatar img {
    transform: scale(1.1);
  }

  .creator-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 900;
    color: var(--brand);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.2) 0%, rgba(132, 242, 155, 0.1) 100%);
  }

  .creator-name {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 900;
    color: var(--text);
    margin-bottom: clamp(10px, 1.2vh, 14px);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text) 0%, rgba(132, 242, 155, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
  }

  .creator-card:hover .creator-name {
    background: linear-gradient(135deg, var(--text) 0%, var(--brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .creator-role {
    font-size: clamp(14px, 1.6vw, 17px);
    color: rgba(132, 242, 155, 0.7);
    margin-bottom: clamp(16px, 2vh, 24px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
  }

  .creator-description {
    font-size: clamp(14px, 1.6vw, 17px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: clamp(28px, 3vh, 36px);
    min-height: clamp(48px, 5vh, 64px);
    font-weight: 500;
  }

  .creator-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: clamp(12px, 1.5vh, 16px) clamp(18px, 2vw, 24px);
    border-radius: 16px;
    border: 1.5px solid rgba(132, 242, 155, 0.2);
    background: rgba(132, 242, 155, 0.04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--text);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 700;
    position: relative;
    overflow: hidden;
  }

  .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(132, 242, 155, 0.2), transparent);
    transition: left 0.5s ease;
  }

  .social-link:hover::before {
    left: 100%;
  }

  .social-link:hover {
    background: rgba(132, 242, 155, 0.12);
    border-color: rgba(132, 242, 155, 0.5);
    transform: translateX(6px) translateY(-2px);
    box-shadow: 
      0 8px 20px rgba(132, 242, 155, 0.25),
      0 0 0 1px rgba(132, 242, 155, 0.2);
    color: var(--brand);
  }

  .social-link svg {
    flex-shrink: 0;
    width: clamp(18px, 2vw, 22px);
    height: clamp(18px, 2vw, 22px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .social-link:hover svg {
    transform: scale(1.15) rotate(5deg);
  }

  .social-link span {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.4s ease;
    font-weight: 600;
  }

  .social-link:hover span {
    color: var(--brand);
  }

  .stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    animation: fadeInUp 0.6s ease 0.5s both;
  }

  .stat-item {
    text-align: center;
  }

  .stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--text);
  }

  .stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
  }

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

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }

  @keyframes glow {
    0%, 100% {
      box-shadow: 0 0 5px rgba(132, 242, 155, 0.4);
    }
    50% {
      box-shadow: 0 0 20px rgba(132, 242, 155, 0.7), 0 0 30px rgba(132, 242, 155, 0.5);
    }
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  @keyframes shimmer {
    0% {
      background-position: -1000px 0;
    }
    100% {
      background-position: 1000px 0;
    }
  }

  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  @keyframes wiggle {
    0%, 100% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(5deg);
    }
    75% {
      transform: rotate(-5deg);
    }
  }

  @keyframes progressFill {
    from {
      width: 0%;
    }
  }

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

  #snow-container {
    z-index: 0 !important;
    position: fixed !important;
    pointer-events: none !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: visible !important;
  }
  
  #snow-container > div {
    position: absolute !important;
    display: block !important;
    visibility: visible !important;
    z-index: 1 !important;
  }

  #welcome-screen,
  #about-screen,
  #exam-screen {
    background: transparent !important;
    contain: none !important;
    position: relative;
    z-index: auto;
    overflow: visible !important;
  }

  #exam-screen .panel {
    position: relative;
    z-index: 10;
    transform: translateZ(0);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(132, 242, 155, 0.03) 0%, rgba(132, 242, 155, 0.01) 100%);
    isolation: isolate;
  }
  
  #exam-screen.active .panel {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }
  
  #exam-screen .topbar {
    position: relative;
    z-index: 10;
    isolation: isolate;
    transform: translateZ(0);
  }
  
  
  #welcome-screen {
    contain: none;
  }
  
  #welcome-screen .hero {
    overflow: visible;
    position: relative;
    z-index: 1;
  }
  
  #welcome-screen .hero-content {
    transform: translateZ(0);
    will-change: transform;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  
  #about-screen .hero-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
    transform: translateZ(0);
  }

  .welcome-background-animation,
  .about-background-animation,
  .exam-background-animation,
  .results-background-animation {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    pointer-events: none !important;
    z-index: -1 !important;
    overflow: hidden !important;
    background: #000000 !important;
  }

  .welcome-background-animation::before,
  .welcome-background-animation::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0.12;
  }

  .welcome-background-animation::before {
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.45) 0%, transparent 70%);
    animation: backgroundPulse1 12s ease-in-out infinite;
  }

  .welcome-background-animation::after {
    bottom: -50%;
    right: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.3) 0%, transparent 70%);
    animation: backgroundPulse2 15s ease-in-out infinite;
    animation-delay: 3s;
  }

  @keyframes backgroundPulse1 {
    0%, 100% {
      transform: translate(0, 0) scale(1);
      opacity: 0.08;
    }
    25% {
      transform: translate(10%, 15%) scale(1.2);
      opacity: 0.15;
    }
    50% {
      transform: translate(-5%, 10%) scale(1.1);
      opacity: 0.11;
    }
    75% {
      transform: translate(15%, -5%) scale(1.3);
      opacity: 0.18;
    }
  }

  @keyframes backgroundPulse2 {
    0%, 100% {
      transform: translate(0, 0) scale(1);
      opacity: 0.07;
    }
    25% {
      transform: translate(-10%, -15%) scale(1.15);
      opacity: 0.14;
    }
    50% {
      transform: translate(5%, -10%) scale(1.25);
      opacity: 0.1;
    }
    75% {
      transform: translate(-15%, 5%) scale(1.1);
      opacity: 0.16;
    }
  }

  .welcome-background-animation {
    background: 
      radial-gradient(ellipse 1200px 800px at 20% 30%, rgba(132, 242, 155, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 1000px 600px at 80% 70%, rgba(132, 242, 155, 0.07) 0%, transparent 50%),
      radial-gradient(ellipse 800px 500px at 50% 50%, rgba(132, 242, 155, 0.06) 0%, transparent 60%),
      #000000;
    animation: backgroundShift 20s ease-in-out infinite;
  }

  @keyframes backgroundShift {
    0%, 100% {
      background-position: 0% 0%, 100% 100%, 50% 50%;
      filter: hue-rotate(0deg);
    }
    33% {
      background-position: 10% 20%, 90% 80%, 60% 40%;
      filter: hue-rotate(5deg);
    }
    66% {
      background-position: -10% 10%, 110% 90%, 40% 60%;
      filter: hue-rotate(-3deg);
    }
  }

  @media (max-width: 768px) {
    .welcome-background-animation {
      display: none !important;
    }
    
    .about-background-animation {
      display: none !important;
    }
    
    .exam-background-animation {
      display: none !important;
    }
    
    .results-background-animation {
      display: none !important;
    }
  }
  

  .about-background-animation::before,
  .about-background-animation::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0.12;
  }

  .about-background-animation::before {
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.45) 0%, transparent 70%);
    animation: backgroundPulse1 14s ease-in-out infinite;
  }

  .about-background-animation::after {
    bottom: -50%;
    right: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.3) 0%, transparent 70%);
    animation: backgroundPulse2 18s ease-in-out infinite;
    animation-delay: 4s;
  }

  .about-background-animation {
    background: 
      radial-gradient(ellipse 1400px 900px at 30% 20%, rgba(132, 242, 155, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 1100px 700px at 70% 80%, rgba(132, 242, 155, 0.07) 0%, transparent 50%),
      radial-gradient(ellipse 900px 600px at 50% 50%, rgba(132, 242, 155, 0.06) 0%, transparent 60%),
      #000000;
    animation: backgroundShift 25s ease-in-out infinite;
  }
  

  .exam-background-animation::before,
  .exam-background-animation::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0.12;
  }

  .exam-background-animation::before {
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.45) 0%, transparent 70%);
    animation: backgroundPulse1 13s ease-in-out infinite;
  }

  .exam-background-animation::after {
    bottom: -50%;
    right: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.3) 0%, transparent 70%);
    animation: backgroundPulse2 16s ease-in-out infinite;
    animation-delay: 2.5s;
  }

  .exam-background-animation {
    background: 
      radial-gradient(ellipse 1300px 850px at 25% 25%, rgba(132, 242, 155, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 1050px 650px at 75% 75%, rgba(132, 242, 155, 0.07) 0%, transparent 50%),
      radial-gradient(ellipse 850px 550px at 50% 50%, rgba(132, 242, 155, 0.06) 0%, transparent 60%),
      #000000;
    animation: backgroundShift 22s ease-in-out infinite;
  }

  .results-background-animation::before,
  .results-background-animation::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0.12;
  }

  .results-background-animation::before {
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.45) 0%, transparent 70%);
    animation: backgroundPulse1 14s ease-in-out infinite;
  }

  .results-background-animation::after {
    bottom: -50%;
    right: -50%;
    background: radial-gradient(circle, rgba(132, 242, 155, 0.3) 0%, transparent 70%);
    animation: backgroundPulse2 17s ease-in-out infinite;
    animation-delay: 3.5s;
  }

  .results-background-animation {
    background: 
      radial-gradient(ellipse 1200px 800px at 30% 20%, rgba(132, 242, 155, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse 1000px 600px at 70% 80%, rgba(132, 242, 155, 0.07) 0%, transparent 50%),
      radial-gradient(ellipse 800px 500px at 50% 50%, rgba(132, 242, 155, 0.06) 0%, transparent 60%),
      #000000;
    animation: backgroundShift 20s ease-in-out infinite;
  }

  .main-footer {
    width: 100%;
    padding: clamp(20px, 2.5vh, 30px) clamp(20px, 3vw, 40px);
    background: rgba(132, 242, 155, 0.02);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(132, 242, 155, 0.1);
    margin-top: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    flex-shrink: 0;
    isolation: isolate;
    transform: translateZ(0);
  }

  .main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(132, 242, 155, 0.3) 50%, 
      transparent 100%);
  }

  .footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(16px, 2vh, 20px);
  }

  .footer-links-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-link {
    color: var(--muted);
    text-decoration: none;
    font-size: clamp(12px, 1.3vw, 14px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 0;
  }

  .footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brand);
    transition: width 0.3s ease;
  }

  .footer-link:hover {
    color: var(--brand);
  }

  .footer-link:hover::after {
    width: 100%;
  }

  .footer-separator {
    color: var(--muted);
    opacity: 0.4;
    font-size: clamp(10px, 1.1vw, 12px);
  }

  .footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: clamp(12px, 1.5vh, 16px);
    border-top: 1px solid rgba(132, 242, 155, 0.1);
    text-align: center;
  }

  .footer-copyright {
    color: var(--muted);
    font-size: clamp(10px, 1.1vw, 12px);
    margin: 0;
    opacity: 0.7;
  }

  @media (max-width: 768px) {
    .main-footer {
      display: block;
      padding: 16px 20px;
      border-top: 1px solid rgba(132, 242, 155, 0.15);
    }
    
    .footer-content {
      margin-bottom: 12px;
    }
    
    .footer-links-row {
      gap: 12px;
      font-size: 12px;
    }
    
    .footer-link {
      font-size: 12px;
    }
    
    .footer-separator {
      font-size: 10px;
    }
    
    .footer-bottom {
      padding-top: 12px;
    }
    
    .footer-copyright {
      font-size: 10px;
    }
  }

  .category-selection {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
  }

  .category-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .category-header h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    margin: 0 0 12px 0;
    color: var(--text);
  }

  .category-subtitle {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }

  .category-card {
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg0);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .category-card::before {
    display: none;
  }

  .category-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: 0 20px 40px rgba(132, 242, 155, 0.3);
    background: var(--bg0);
  }

  .category-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
  }

  .category-name {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--text);
  }

  .category-desc {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 16px 0;
    line-height: 1.5;
  }

  .category-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .category-questions {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(124, 92, 255, 0.1);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
  }

  @media (max-width: 768px) {
    html, body {
      overflow-x: hidden !important;
      overflow-y: auto !important;
      position: static !important;
      height: auto !important;
      width: 100% !important;
    }
    
    body {
      background-attachment: scroll;
      background-size: cover, cover, cover, 100% auto;
      min-height: 100vh;
    }
    
    body::before {
      position: absolute;
      height: 100%;
    }
    
    html {
      min-height: 100%;
      background: var(--bg1);
    }
    
    .screen {
      overflow: visible !important;
      height: auto !important;
    }
    
    .landing {
      min-height: auto;
      overflow: visible !important;
      height: auto !important;
    }
    
    .landing .wrap {
      padding: 12px 16px;
    }
    
    .hero {
      overflow: visible !important;
      max-height: none !important;
      height: auto !important;
    }
    
    .hero-content {
      overflow: visible !important;
      max-height: none !important;
    }
    
    .hero {
      padding: 20px 16px;
    }
    
    .hero-content {
      padding: clamp(20px, 4vw, 32px) !important;
      border-radius: clamp(12px, 3vw, 20px) !important;
      margin: 0 auto;
    }
    
    .hero-content::before {
      border-radius: clamp(12px, 3vw, 20px) !important;
    }
    
    .hero-content::after {
      border-radius: clamp(12px, 3vw, 20px) !important;
    }
    
    
    .hero-title {
      font-size: clamp(24px, 6vw, 40px) !important;
      margin: 0 0 12px 0;
    }
    
    .hero-subtitle {
      font-size: clamp(14px, 3.5vw, 17px) !important;
      margin: 0 0 20px 0;
      padding: 0 8px;
    }

    #about-screen .hero-content {
      max-width: 100%;
      padding: clamp(20px, 4vw, 32px) !important;
    }

    #about-screen .hero-title {
      font-size: clamp(22px, 5vw, 32px) !important;
      margin-bottom: 20px;
    }

    
    .language-selector {
      margin: 20px 0 16px;
    }
    
    .language-label {
      font-size: 10px;
      margin-bottom: 16px;
      letter-spacing: 1.2px;
    }
    
    .language-label::after {
      width: 30px;
    }
    
    .language-cards {
      gap: 12px;
      max-width: 100%;
      padding: 0 8px;
    }
    
    .language-card {
      min-width: calc(50% - 6px);
      max-width: calc(50% - 6px);
      padding: 20px 12px;
      border-radius: 18px;
    }
    
    .language-flag {
      font-size: 36px;
      margin-bottom: 10px;
    }
    
    .language-name {
      font-size: 14px;
    }
    
    .language-check {
      width: 28px;
      height: 28px;
      top: 12px;
      right: 12px;
    }
    
    .hero-actions {
      margin-bottom: 20px;
      padding: 0 8px;
      gap: 12px;
    }
    
    .btn-start {
      padding: 14px 28px;
      font-size: 15px;
      width: 100%;
      max-width: 100%;
      border-radius: 14px;
    }
    
    .hero-actions .btn.ghost {
      padding: 14px 24px;
      font-size: 15px;
      width: 100%;
      max-width: 100%;
      border-radius: 14px;
    }
    
    .btn-start .arrow {
      width: 24px;
      height: 24px;
    }
    
    .btn-start .arrow::after {
      font-size: 16px;
    }
    
    .hero-decorative {
      margin-top: 24px;
      padding-top: 24px;
      gap: 12px;
      max-width: 300px;
    }
    
    .decorative-dot {
      width: 6px;
      height: 6px;
    }
    
    .decorative-dot:nth-child(2) {
      width: 8px;
      height: 8px;
    }
    
    .features {
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 20px;
      padding: 0 8px;
    }
    
    .feature {
      padding: 18px;
      border-radius: 14px;
    }
    
    .feature-icon {
      font-size: 24px;
      margin-bottom: 8px;
    }
    
    .feature-title {
      font-size: 15px;
      margin-bottom: 6px;
    }
    
    .feature-desc {
      font-size: 12px;
    }

    .creators-grid {
      grid-template-columns: 1fr;
      gap: 24px;
      margin-top: 24px;
      padding: 0 16px;
      width: 100%;
      max-width: 100%;
    }
    
    .creator-card {
      padding: 32px 24px;
      width: 100%;
    }
    
    .creator-avatar {
      width: 100px;
      height: 100px;
      margin-bottom: 20px;
    }
    
    .creator-name {
      font-size: 22px;
      margin-bottom: 10px;
    }
    
    .creator-role {
      font-size: 15px;
      margin-bottom: 16px;
    }
    
    .creator-description {
      font-size: 15px;
      margin-bottom: 24px;
      min-height: auto;
    }
    
    .social-link {
      padding: 14px 18px;
      font-size: 14px;
    }
    
    .wrap {
      padding: 12px;
    }
    
    .topbar {
      padding: 10px 12px;
      flex-wrap: wrap;
      justify-content: center;
      border-radius: 16px;
    }
    
    .topbar::after {
      border-radius: 16px;
    }
    
    .topbar .brand {
      font-size: 14px;
    }
    
    
    .chip {
      font-size: 11px;
      padding: 6px 10px;
    }
    
    .panel .head {
      padding: 12px;
    }
    
    .panel .head .title {
      font-size: 16px;
    }
    
    .panel .head .subtitle {
      font-size: 12px;
    }
    
    .panel .body {
      padding: 12px;
    }
    
    .qCard {
      padding: 12px;
    }
    
    .qTitle {
      font-size: 16px;
    }
    
    .quiz-opt {
      padding: 12px 14px;
      min-height: 56px;
    }
    
    .quiz-opt-marker {
      width: 32px;
      height: 32px;
      font-size: 13px;
    }
    
    .quiz-opt-text {
      font-size: 14px;
    }

    .quiz-answers.yesno-answers {
      gap: 16px;
      max-width: 100%;
    }

    .quiz-answers.yesno-answers .quiz-opt {
      min-height: 80px;
      padding: 20px 24px;
      font-size: 18px;
    }

    .quiz-answers.yesno-answers .quiz-opt-text {
      font-size: 18px;
    }

    .quiz-answers.yesno-answers .quiz-opt-text::before {
      left: -32px;
      width: 28px;
      height: 28px;
      font-size: 14px;
    }

    .text-answer-input {
      padding: 16px 20px;
      font-size: 16px;
    }

    .text-answer-hint {
      font-size: 12px;
      margin-top: 10px;
    }
    
    .navRow {
      flex-direction: column;
      gap: 8px;
    }
    
    .navRow > div {
      width: 100%;
      justify-content: space-between;
    }
    
    .btn {
      flex: 1;
      min-width: 0;
      padding: 12px 16px;
      font-size: 14px;
    }
    
    .progressRow {
      flex-direction: column;
      gap: 8px;
      align-items: stretch;
    }
    
    .progressText {
      font-size: 12px;
    }
    
    .bar {
      width: 100%;
      flex: none;
      height: 12px;
    }
    
    .statGrid {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    
    .stat {
      padding: 10px;
    }
    
    .category-section {
      padding: 10px;
    }
    
    .category-section-header {
      font-size: 12px;
      flex-wrap: wrap;
    }
    
    .category-q-dot {
      width: 32px;
      height: 32px;
      font-size: 11px;
    }
    
    .category-questions-dots {
      gap: 8px;
    }
    
    .rules {
      padding: 12px;
      font-size: 12px;
    }
  }

  @media (max-width: 480px) {
    .hero-content {
      padding: 16px !important;
    }
    
    .language-card {
      min-width: 100%;
      max-width: 100%;
    }
    
    .hero-title {
      font-size: clamp(22px, 7vw, 32px) !important;
    }
    
    .hero-subtitle {
      font-size: clamp(13px, 4vw, 16px) !important;
    }

    .quiz-answers.yesno-answers {
      gap: 12px;
    }

    .quiz-answers.yesno-answers .quiz-opt {
      min-height: 70px;
      padding: 16px 20px;
      font-size: 16px;
    }

    .quiz-answers.yesno-answers .quiz-opt-text {
      font-size: 16px;
    }

    .quiz-answers.yesno-answers .quiz-opt-text::before {
      left: -28px;
      width: 24px;
      height: 24px;
      font-size: 12px;
    }

    .text-answer-input {
      padding: 14px 18px;
      font-size: 15px;
    }
  }

  @media (max-width: 600px) {
    .stats-row {
      gap: 20px;
      flex-wrap: wrap;
      padding-top: 20px;
    }
    
    .hero {
      padding: 40px 16px 30px;
    }
    
    .hero-content {
      padding: 0;
    }

    #about-screen .hero-content {
      max-width: 100%;
      padding: 0 8px;
    }

    #about-screen .hero-title {
      font-size: 24px;
      margin-bottom: 20px;
    }

    
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }
    
    .btn-start, .btn-info {
      width: 100%;
      max-width: 100%;
      justify-content: center;
    }

    .creators-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 20px;
      padding: 0 8px;
      width: 100%;
    }

    .creator-card {
      padding: 28px 20px;
      border-radius: 20px;
    }

    .creator-avatar {
      width: 90px;
      height: 90px;
      margin-bottom: 18px;
      border-width: 3px;
    }

    .creator-avatar-placeholder {
      font-size: 36px;
    }

    .creator-name {
      font-size: 20px;
      margin-bottom: 8px;
    }

    .creator-role {
      font-size: 14px;
      margin-bottom: 14px;
    }

    .creator-description {
      font-size: 14px;
      margin-bottom: 20px;
      line-height: 1.6;
      min-height: auto;
    }

    .creator-socials {
      gap: 12px;
    }

    .social-link {
      padding: 12px 16px;
      font-size: 13px;
      border-radius: 12px;
    }

    .social-link svg {
      width: 18px;
      height: 18px;
    }

    .features {
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 40px;
    }
    
    .feature {
      padding: 16px;
    }

    .result-stats {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    
    .statGrid {
      grid-template-columns: 1fr;
    }

    .certificate-inner {
      padding: 16px 12px;
    }

    .cert-title {
      font-size: 18px;
      letter-spacing: 3px;
    }

    .cert-name {
      font-size: 18px;
    }
    
    .cert-text-small {
      font-size: 10px;
    }
    
    .cert-course {
      font-size: 13px;
    }
    
    .cert-score-value {
      font-size: 28px;
    }

    .categories-grid {
      grid-template-columns: 1fr;
    }

    .category-selection {
      padding: 0 12px;
    }

    .qImg {
      margin: 12px 0;
    }
    
    .qImg img {
      max-height: 300px;
    }
    
    .overlay {
      padding: 12px;
    }
    
    .result {
      width: 100%;
      max-width: 100%;
    }
    
    .result .head {
      padding: 16px;
    }
    
    .result .body {
      padding: 0 16px 16px;
    }
    
    .score-circle {
      width: 120px;
      height: 120px;
    }
    
    .score-circle .big {
      font-size: 40px;
    }
    
    .grade {
      font-size: 20px;
    }
    
    .result-stat {
      padding: 12px;
    }
    
    .result-stat .value {
      font-size: 20px;
    }
    
    .review-item {
      padding: 12px;
    }
    
    .qCard .qTop {
      flex-direction: column;
      gap: 10px;
    }
    
    .panel .head {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .panel .head .meta {
      width: 100%;
      justify-content: flex-start;
      margin-top: 8px;
    }
  }
  
  @media (max-width: 400px) {
    .wrap {
      padding: 8px;
    }
    
    .topbar {
      padding: 8px 10px;
      justify-content: center;
      border-radius: 14px;
    }
    
    .topbar::after {
      border-radius: 14px;
    }
    
    .brand {
      font-size: 13px;
    }
    
    .logo {
      width: 28px;
      height: 28px;
    }
    
    .chip {
      font-size: 10px;
      padding: 5px 8px;
    }
    
    
    .progressRow {
      flex-direction: column;
      gap: 8px;
      align-items: stretch;
      display: flex;
    }
    
    .bar {
      width: 100%;
      flex: none;
      height: 12px;
      min-height: 12px;
      display: block;
    }
    
    .bar > i {
      min-height: 12px;
    }
    
    .hero-title {
      font-size: 28px;
    }
    
    .hero-subtitle {
      font-size: 16px;
    }
    
    .btn-start, .btn-info {
      padding: 14px 24px;
      font-size: 15px;
    }
    
    .qTitle {
      font-size: 15px;
    }
    
    .quiz-opt {
      padding: 10px 12px;
      min-height: 52px;
    }
    
    .quiz-opt-marker {
      width: 28px;
      height: 28px;
      font-size: 12px;
    }
    
    .quiz-opt-text {
      font-size: 13px;
    }
    
    .category-q-dot {
      width: 28px;
      height: 28px;
      font-size: 10px;
    }
    
    .category-questions-dots {
      gap: 6px;
    }
    
    .qImg img {
      max-height: 250px;
    }
    
    .panel .head .title {
      font-size: 15px;
    }
    
    .panel .head .subtitle {
      font-size: 11px;
    }
    
    .qNum {
      font-size: 11px;
    }
  }

  @media (hover: none) and (pointer: coarse) {
    .btn, .quiz-opt, .category-q-dot {
      min-height: 44px;
      min-width: 44px;
    }
    
    .quiz-opt {
      min-height: 56px;
    }
    
    .btn {
      padding: 14px 20px;
    }
    
    .category-q-dot {
      min-width: 32px;
      min-height: 32px;
    }
  }
  
  @media (max-width: 900px) and (orientation: landscape) {
    .hero {
      padding: 30px 16px 20px;
    }
    
    .hero-title {
      font-size: 32px;
    }
    
    .hero-subtitle {
      font-size: 16px;
      margin-bottom: 30px;
    }
    
    .features {
      margin-top: 30px;
    }
    
    .stats-row {
      margin-top: 30px;
      padding-top: 20px;
    }
  }

  .btn, .quiz-opt, .category-q-dot {
    -webkit-tap-highlight-color: rgba(132, 242, 155, 0.3);
    -webkit-touch-callout: none;
    user-select: none;
  }

  @media (max-width: 768px) {
    html {
      -webkit-overflow-scrolling: touch;
      overflow-y: auto !important;
      position: static !important;
    }
    
    body {
      overflow-x: hidden;
      overflow-y: auto !important;
      position: static !important;
    }
    
    .category-section {
      pointer-events: none;
      cursor: default;
    }
    
    .category-q-dot {
      pointer-events: auto;
      cursor: pointer;
    }
  }

  @media (max-width: 920px) {
    html, body {
      overflow-y: auto !important;
      position: static !important;
      height: auto !important;
    }
  }
