 body {
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
     background: #121214;
     color: #e1e1e6;
     max-width: 800px;
     margin: 40px auto;
     padding: 20px;
     line-height: 1.6;
 }

 .card {
     background: #1a1a1e;
     border: 1px solid #29292e;
     padding: 30px;
     border-radius: 12px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
     position: relative;
 }

 p {
     color: #a4a4a8;
     font-size: 1.05rem;
 }

 /* Theme Menu Cards */
 .theme-item {
     background: #202024;
     border: 1px solid #29292e;
     padding: 20px;
     border-radius: 10px;
     margin-bottom: 15px;
     cursor: pointer;
     transition: border-color 0.2s, transform 0.1s;
 }

 .theme-item:hover {
     border-color: #4d4dff;
     transform: translateY(-2px);
 }

 .theme-item h3 {
     color: #fff;
     margin: 0 0 6px 0;
     font-size: 1.2rem;
 }

 .theme-item p {
     margin: 0;
     font-size: 0.95rem;
     color: #a4a4a8;
 }

 /* Quiz Option Buttons */
 .options-list {
     display: flex;
     flex-direction: column;
     gap: 12px;
     margin-top: 20px;
 }

 .option-btn {
     background: #202024;
     color: #e1e1e6;
     border: 1px solid #29292e;
     padding: 14px 18px;
     border-radius: 8px;
     text-align: left;
     font-size: 1rem;
     cursor: pointer;
     transition: border-color 0.2s, background 0.2s;
 }

 .option-btn:hover:not(:disabled) {
     border-color: #4d4dff;
     background: #25252b;
 }

 .option-btn.selected {
     border-color: #4d4dff;
     background: rgba(77, 77, 255, 0.15);
     color: #fff;
     font-weight: 600;
 }

 /* Interactive Elements */
 .reveal-btn {
     background: #4d4dff;
     color: #fff;
     font-weight: bold;
     margin-top: 25px;
     text-align: center;
     display: block;
     width: 100%;
     border: none;
     padding: 14px;
     border-radius: 8px;
     cursor: pointer;
     font-size: 1rem;
     transition: background 0.2s, transform 0.1s;
 }

 .reveal-btn:hover:not(:disabled) {
     background: #3b3bdf;
 }

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

 .reveal-btn:active:not(:disabled) {
     transform: scale(0.99);
 }

 .answer-box {
     display: none;
     background: #202024;
     border-left: 4px solid #00ff00;
     padding: 20px;
     border-radius: 0 8px 8px 0;
     margin-top: 25px;
     animation: fadeIn 0.3s ease-in-out;
 }

 .answer-title {
     font-weight: bold;
     color: #00ff00;
     font-size: 1.15rem;
     margin-bottom: 12px;
 }

 .answer-desc {
     color: #e1e1e6;
     font-size: 1rem;
     line-height: 1.6;
 }

 .answer-desc p {
     color: #e1e1e6;
     margin-top: 0;
     margin-bottom: 12px;
 }

 .answer-desc strong {
     color: #00ff00;
 }

 .next-btn {
     background: #fff;
     color: #000;
     font-weight: bold;
     margin-top: 20px;
     text-align: center;
     display: block;
     width: 100%;
     border: none;
     padding: 14px;
     border-radius: 8px;
     cursor: pointer;
     font-size: 1rem;
     transition: background 0.2s;
 }

 .next-btn:hover {
     background: #e1e1e6;
 }

 .back-btn {
     background: transparent;
     border: none;
     color: #a4a4a8;
     cursor: pointer;
     padding: 0;
     font-size: 0.9rem;
     text-decoration: underline;
     margin-bottom: 15px;
     display: inline-block;
 }

 .back-btn:hover {
     color: #fff;
 }

 .app-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     border-bottom: 1px solid #29292e;
     padding-bottom: 15px;
     margin-bottom: 20px;
 }

 .app-header h2 {
     color: #fff;
     margin: 0;
     font-size: 1.6rem;
     letter-spacing: 0.5px;
 }

 /* Persistent Helix Animation */
 .helix-header-box {
     width: 70px;
     height: 76px;
     position: relative;
     perspective: 400px;
     overflow: visible;
 }

 .profile-bg-vector {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 1;
 }

 .spiral-overlay-container {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 2;
     transform-style: preserve-3d;
 }

 .spiral-loop {
     width: 50px;
     height: 16px;
     transform-style: preserve-3d;
     position: absolute;
     left: 0;
     animation: travelUpAndSpin 3s linear infinite;
 }

 .loop-1 {
     animation-delay: 0.0s;
 }

 .loop-2 {
     animation-delay: -0.75s;
 }

 .loop-3 {
     animation-delay: -1.5s;
 }

 .loop-4 {
     animation-delay: -2.25s;
 }

 @keyframes travelUpAndSpin {
     0% {
         top: 42px;
         transform: rotateY(0deg) scale(0.5);
         opacity: 0.1;
     }

     50% {
         transform: rotateY(180deg) scale(1.0);
         opacity: 1;
     }

     100% {
         top: -6px;
         transform: rotateY(360deg) scale(0.5);
         opacity: 0;
     }
 }

 .glow-sparkle {
     stroke-dasharray: 45, 180;
     animation: sparklePulse 1.8s linear infinite;
 }

 @keyframes sparklePulse {
     0% {
         stroke-dashoffset: 225;
         filter: drop-shadow(0 0 1px #fff);
     }

     100% {
         stroke-dashoffset: 0;
         filter: drop-shadow(0 0 4px #fff);
     }
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(5px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }


 /* Floating Profiler Chat Widget */
 .chat-widget {
     position: fixed;
     bottom: 20px;
     right: 20px;
     z-index: 999;
     display: flex;
     flex-direction: column;
     align-items: flex-end;
 }

 .chat-toggle-btn {
     background: #4d4dff;
     color: #fff;
     border: none;
     padding: 12px 18px;
     border-radius: 24px;
     font-weight: bold;
     font-size: 0.95rem;
     cursor: pointer;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
     transition: background 0.2s, transform 0.1s;
 }

 .chat-toggle-btn:hover {
     background: #3b3bdf;
     transform: translateY(-1px);
 }

 .chat-window {
     display: none;
     flex-direction: column;
     width: 340px;
     max-width: calc(100vw - 40px);
     height: 400px;
     background: #1a1a1e;
     border: 1px solid #29292e;
     border-radius: 12px;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
     margin-bottom: 12px;
     overflow: hidden;
     animation: fadeIn 0.2s ease-out;
 }

 .chat-header {
     background: #202024;
     padding: 12px 16px;
     border-bottom: 1px solid #29292e;
     display: flex;
     justify-content: space-between;
     align-items: center;
     font-weight: bold;
     color: #00ff00;
     font-size: 0.95rem;
 }

 .chat-header button {
     background: transparent;
     border: none;
     color: #a4a4a8;
     font-size: 1rem;
     cursor: pointer;
 }

 .chat-header button:hover {
     color: #fff;
 }

 .chat-messages {
     flex: 1;
     padding: 14px;
     overflow-y: auto;
     display: flex;
     flex-direction: column;
     gap: 10px;
     font-size: 0.9rem;
     line-height: 1.45;
 }

 .chat-msg {
     padding: 10px 12px;
     border-radius: 8px;
     max-width: 85%;
     word-wrap: break-word;
 }

 .chat-msg.user {
     background: #4d4dff;
     color: #fff;
     align-self: flex-end;
 }

 .chat-msg.assistant {
     background: #202024;
     color: #e1e1e6;
     border: 1px solid #29292e;
     align-self: flex-start;
 }

 .chat-input-row {
     display: flex;
     border-top: 1px solid #29292e;
     padding: 10px;
     background: #202024;
     gap: 8px;
 }

 .chat-input-row input {
     flex: 1;
     background: #121214;
     border: 1px solid #29292e;
     color: #fff;
     padding: 8px 12px;
     border-radius: 6px;
     font-size: 0.9rem;
     outline: none;
 }

 .chat-input-row input:focus {
     border-color: #4d4dff;
 }

 .chat-input-row button {
     background: #4d4dff;
     color: #fff;
     border: none;
     padding: 8px 14px;
     border-radius: 6px;
     font-weight: bold;
     cursor: pointer;
     font-size: 0.85rem;
 }

 .chat-input-row button:hover {
     background: #3b3bdf;
 }