    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(-45deg, #f97316, #f59e0b, #f093fb, #4facfe);
      background-size: 400% 400%;
      animation: gradientShift 15s ease infinite;
      min-height: 100vh;
      color: #333;
      position: relative;
      overflow-x: hidden;
    }
    body::before {
      content: '💎✨🎮🎯🏆⭐💰🎪';
      position: fixed;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      font-size: 40px;
      opacity: 0.05;
      animation: floatParticles 60s linear infinite;
      pointer-events: none;
      z-index: 0;
    }
    @keyframes floatParticles {
      0% { transform: translate(0, 0) rotate(0deg); }
      100% { transform: translate(50px, 50px) rotate(360deg); }
    }
    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
    }
    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }
    @keyframes shimmer {
      0% { background-position: -1000px 0; }
      100% { background-position: 1000px 0; }
    }
    .container {
      max-width: 900px;
      margin: 0 auto;
      padding: 10px;
      position: relative;
      z-index: 1;
    }
    @media (min-width: 768px) {
      .container {
        padding: 20px;
      }
    }
    .header {
      background: white;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 24px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.15);
      position: relative;
      overflow: hidden;
    }
    .header::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      animation: shimmer 3s infinite;
    }
    .header h1 {
      font-size: 32px;
      font-weight: 800;
      background: linear-gradient(135deg, #f97316, #f59e0b, #f093fb);
      background-size: 200% 200%;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 8px;
      animation: gradientShift 3s ease infinite;
      text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
      letter-spacing: -0.5px;
    }
    .header p { color: #666; font-size: 14px; }
    .game-icon {
      display: inline-block;
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, #f97316, #f59e0b);
      color: white;
      border-radius: 12px;
      text-align: center;
      line-height: 40px;
      font-weight: 800;
      font-size: 16px;
      margin-right: 12px;
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
      animation: pulse 2s ease-in-out infinite;
    }
    .earnings-bar {
      background: white;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 24px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.1);
      border: 2px solid rgba(102, 126, 234, 0.2);
    }
    .earnings-stat {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }
    .earnings-label { font-size: 14px; color: #666; font-weight: 600; }
    .earnings-value { 
      font-size: 28px; 
      font-weight: 800; 
      background: linear-gradient(135deg, #f97316, #f59e0b);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .progress-bar {
      height: 12px;
      background: linear-gradient(90deg, #f0f0f0, #e0e0e0);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    }
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #f97316, #f59e0b, #f093fb);
      background-size: 200% 100%;
      animation: gradientSlide 2s linear infinite;
      border-radius: 8px;
      transition: width 0.5s ease;
      box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }
    @keyframes gradientSlide {
      0% { background-position: 0% 0%; }
      100% { background-position: 200% 0%; }
    }
    .session-card {
      background: white;
      border-radius: 20px;
      padding: 32px;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 8px 32px rgba(0,0,0,0.1);
      margin-bottom: 16px;
      border: 3px solid transparent;
      background-clip: padding-box;
      position: relative;
      overflow: hidden;
    }
    .session-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-radius: 20px;
      padding: 3px;
      background: linear-gradient(135deg, #f97316, #f59e0b, #f093fb);
      -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;
    }
    .session-card:hover::before {
      opacity: 1;
    }
    .session-card:hover {
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 16px 48px rgba(102, 126, 234, 0.3);
    }
    .session-card.disabled { opacity: 0.5; cursor: not-allowed; }
    .session-card.disabled:hover { transform: none; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
    .session-title {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 12px;
      color: #333;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .session-title::before {
      content: '🎮';
      font-size: 28px;
      animation: pulse 2s ease-in-out infinite;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }
    .session-meta {
      display: flex;
      gap: 24px;
      margin-bottom: 16px;
      color: #666;
      font-size: 14px;
      padding: 12px 16px;
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
      border-radius: 12px;
      border: 2px solid rgba(102, 126, 234, 0.15);
    }
    .session-meta span {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
    }
    .session-meta span::before {
      content: '💰';
      font-size: 16px;
    }
    .session-meta span:last-child::before {
      content: '⚡';
    }
    .session-payment {
      font-size: 48px;
      font-weight: 900;
      background: linear-gradient(135deg, #10b981, #059669, #34d399);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      text-align: center;
      margin-top: 24px;
      padding-top: 24px;
      border-top: 3px solid #f0f0f0;
      animation: pulse 2s ease-in-out infinite;
      filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
    }
    .game-screen {
      background: white;
      border-radius: 16px;
      padding: 16px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    @media (min-width: 768px) {
      .game-screen {
        padding: 32px;
      }
    }
    .game-header {
      margin-bottom: 32px;
    }
    .game-title-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }
    .game-title {
      font-size: 24px;
      font-weight: 800;
      color: #333;
      display: flex;
      align-items: center;
      gap: 12px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .timer {
      font-size: 32px;
      font-weight: 800;
      font-family: 'Courier New', monospace;
      text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
      transition: all 0.3s ease;
    }
    .timer.warning { 
      color: #f59e0b;
      text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
      animation: pulse 1s ease-in-out infinite;
    }
    .timer.danger { 
      color: #ef4444;
      text-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
      animation: pulse 0.5s ease-in-out infinite;
    }
    .stats-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin-bottom: 16px;
    }
    @media (min-width: 500px) {
      .stats-row {
        gap: 12px;
      }
    }
    .stat-box {
      background: linear-gradient(135deg, #f8f9fa, #ffffff);
      padding: 8px;
      border-radius: 12px;
      text-align: center;
      border: 2px solid #e9ecef;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .stat-box:hover {
      transform: translateY(-2px);
      border-color: #f97316;
      box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    }
    @media (min-width: 500px) {
      .stat-box {
        padding: 12px;
      }
    }
    .stat-icon { 
      font-size: 16px;
      font-weight: 800;
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    @media (min-width: 500px) {
      .stat-icon { font-size: 20px; }
    }
    .stat-count { 
      font-size: 18px; 
      font-weight: 800; 
      background: linear-gradient(135deg, #f97316, #f59e0b);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-top: 4px;
    }
    @media (min-width: 500px) {
      .stat-count { font-size: 20px; }
    }
    .question-text {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 32px;
      color: #333;
      line-height: 1.5;
    }
    .option-btn {
      width: 100%;
      background: linear-gradient(135deg, #f8f9fa, #ffffff);
      border: 3px solid #e9ecef;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 16px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      text-align: left;
      font-size: 15px;
      line-height: 1.6;
      color: #333;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      position: relative;
      overflow: hidden;
    }
    .option-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
      transition: left 0.5s;
    }
    .option-btn:hover::before {
      left: 100%;
    }
    .option-btn:hover {
      background: linear-gradient(135deg, #f1f3f5, #f8f9fa);
      border-color: #f97316;
      transform: translateX(8px);
      box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    }
    .option-btn.selected {
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
      border-color: #f97316;
      border-width: 4px;
      transform: translateX(8px);
      box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    }
    .option-label {
      font-weight: 700;
      color: #f97316;
      margin-bottom: 8px;
      display: block;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .pattern-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      max-width: calc(100vw - 80px);
      width: 100%;
      margin: 0 auto;
    }
    @media (min-width: 450px) {
      .pattern-grid {
        max-width: 400px;
        gap: 12px;
      }
    }
    .pattern-cell {
      aspect-ratio: 1;
      background: linear-gradient(135deg, #f8f9fa, #ffffff);
      border: 3px solid #e9ecef;
      border-radius: 16px;
      cursor: pointer;
      font-size: clamp(20px, 4vw, 28px);
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
      position: relative;
      overflow: hidden;
    }
    .pattern-cell::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      transition: width 0.4s, height 0.4s;
    }
    .pattern-cell:hover:not(.disabled)::before {
      width: 100%;
      height: 100%;
    }
    .pattern-cell:hover:not(.disabled) { 
      border-color: #f97316;
      transform: scale(1.05);
      box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
    }
    .pattern-cell.shown { 
      background: linear-gradient(135deg, #f97316, #f59e0b);
      color: white;
      border-color: #f59e0b;
      box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
      animation: pulse 0.5s ease;
    }
    .pattern-cell.selected { 
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
      border-color: #059669;
      box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
      transform: scale(1.05);
    }
    .pattern-cell.disabled { cursor: not-allowed; opacity: 0.7; }
    .visual-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      max-width: calc(100vw - 80px);
      width: 100%;
      margin: 0 auto;
    }
    .visual-cell {
      aspect-ratio: 1;
      background: linear-gradient(135deg, #f8f9fa, #ffffff);
      border: 3px solid #e9ecef;
      border-radius: 12px;
      cursor: pointer;
      font-size: clamp(18px, 4vw, 40px);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
      position: relative;
      overflow: hidden;
    }
    .visual-cell::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle, rgba(102, 126, 234, 0.1), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .visual-cell:hover::after {
      opacity: 1;
    }
    .visual-cell.selected {
      border-color: #f97316;
      border-width: 4px;
      transform: scale(1.1);
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
      box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
      animation: pulse 0.5s ease;
    }
    @media (min-width: 500px) {
      .visual-grid {
        max-width: 450px;
        gap: 8px;
      }
      .visual-cell {
        border-radius: 16px;
      }
      .visual-cell:hover { 
        border-color: #f97316;
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.2);
      }
    }
    .completion-screen {
      background: white;
      border-radius: 24px;
      padding: 48px;
      text-align: center;
      box-shadow: 0 16px 48px rgba(0,0,0,0.15);
      position: relative;
      overflow: hidden;
    }
    .completion-screen::before {
      content: '🎉🎊✨🎈';
      position: absolute;
      top: -50px;
      left: 0;
      right: 0;
      font-size: 60px;
      animation: float 3s ease-in-out infinite;
      opacity: 0.3;
    }
    .completion-icon { 
      font-size: 96px; 
      margin-bottom: 24px;
      animation: pulse 1.5s ease-in-out infinite;
      filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.3));
    }
    .badge {
      display: inline-block;
      padding: 8px 16px;
      border-radius: 20px;
      font-weight: 700;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      animation: float 3s ease-in-out infinite;
    }
    .badge-success {
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
    }
    .badge-warning {
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: white;
    }
    .badge-info {
      background: linear-gradient(135deg, #f97316, #f59e0b);
      color: white;
    }
    .glow {
      animation: glow 2s ease-in-out infinite alternate;
    }
    @keyframes glow {
      from {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
      }
      to {
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 40px rgba(118, 75, 162, 0.6);
      }
    }
    .shine {
      position: relative;
      overflow: hidden;
    }
    .shine::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
      );
      animation: shine 3s infinite;
    }
    @keyframes shine {
      0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
      100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }
    .completion-title { 
      font-size: 40px; 
      font-weight: 800; 
      background: linear-gradient(135deg, #10b981, #059669, #34d399);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 16px;
      animation: pulse 2s ease-in-out infinite;
    }
    .redemption-code {
      background: linear-gradient(135deg, #f8f9fa, #ffffff);
      border: 3px dashed #f97316;
      border-radius: 16px;
      padding: 32px;
      margin: 32px 0;
      font-family: 'Courier New', monospace;
      font-size: 32px;
      font-weight: 800;
      color: #f97316;
      letter-spacing: 4px;
      box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
      animation: pulse 3s ease-in-out infinite;
    }
    .btn {
      background: linear-gradient(135deg, #f97316, #f59e0b);
      color: white;
      border: none;
      border-radius: 12px;
      padding: 16px 32px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      margin: 8px;
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
      position: relative;
      overflow: hidden;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }
    .btn:hover::before {
      width: 300px;
      height: 300px;
    }
    .btn:hover { 
      transform: translateY(-3px) scale(1.05); 
      box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    }
    .btn:active {
      transform: translateY(-1px) scale(0.98);
    }
    .btn-secondary {
      background: white;
      color: #f97316;
      border: 3px solid #f97316;
      box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    }
    .btn-secondary:hover {
      background: #f97316;
      color: white;
    }
    .alert {
      background: linear-gradient(135deg, #fff3cd, #fffbeb);
      border: 3px solid #fbbf24;
      border-radius: 16px;
      padding: 16px 20px;
      margin-bottom: 16px;
      color: #92400e;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
      animation: slideIn 0.3s ease-out;
      font-weight: 600;
    }
    .alert::before {
      content: 'ℹ️';
      font-size: 24px;
      flex-shrink: 0;
    }
    .alert-error { 
      background: linear-gradient(135deg, #fee2e2, #fef2f2);
      border-color: #ef4444;
      color: #991b1b;
      box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    }
    .alert-error::before {
      content: '🚨';
    }
    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .session-info {
      background: #f8f9fa;
      padding: 16px;
      border-radius: 8px;
      margin-bottom: 16px;
    }
    .session-info p {
      margin: 4px 0;
      font-size: 14px;
      color: #666;
    }
    .session-info strong { color: #333; }
    .timer-display {
      background: linear-gradient(135deg, #f8f9fa, #ffffff);
      border-radius: 12px;
      padding: 16px;
      margin-top: 12px;
      margin-bottom: 16px;
      font-family: 'Courier New', monospace;
      font-size: 18px;
      font-weight: 700;
      color: #f97316;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      border: 3px solid #e9ecef;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }
    .timer-display.warning { 
      background: linear-gradient(135deg, #fff3cd, #fffbeb);
      color: #f59e0b;
      border-color: #fbbf24;
      box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
      animation: pulse 1s ease-in-out infinite;
    }
    .timer-display.ready { 
      background: linear-gradient(135deg, #d1fae5, #ecfdf5);
      color: #10b981;
      border-color: #34d399;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    }
    .logic-btn {
      padding: 20px 60px;
      border: 2px solid #e9ecef;
      border-radius: 12px;
      font-size: 20px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .logic-btn.selected-true {
      background: rgba(16, 185, 129, 0.3);
      border-color: #10b981;
      border-width: 3px;
      color: #10b981;
    }
    .logic-btn.selected-false {
      background: rgba(239, 68, 68, 0.3);
      border-color: #ef4444;
      border-width: 3px;
      color: #ef4444;
    }
