

     * {
              margin: 0;
              padding: 0;
              box-sizing: border-box;
            }

            body {
              font-family: 'Comic Sans MS', cursive, sans-serif;
              background: linear-gradient(135deg, #ff0080 0%, #7928ca 25%, #0070f3 50%, #00dfd8 75%, #7c3aed 100%);
              background-size: 400% 400%;
              animation: gradientShift 4s ease infinite;
              background-attachment: fixed;
              min-height: 100vh;
              overflow-x: hidden;
              position: relative;
            }

            @keyframes gradientShift {
              0% { background-position: 0% 50%; }
              25% { background-position: 100% 50%; }
              50% { background-position: 0% 100%; }
              75% { background-position: 100% 0%; }
              100% { background-position: 0% 50%; }
            }

            /* Brainrot background decorations */
            body::before {
              content: '';
              position: fixed;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="10" y="30" font-size="20" fill="rgba(255,255,255,0.1)">🧠</text><text x="70" y="60" font-size="15" fill="rgba(255,255,255,0.08)">💀</text><text x="30" y="80" font-size="18" fill="rgba(255,255,255,0.06)">🔥</text><text x="80" y="20" font-size="12" fill="rgba(255,255,255,0.1)">⚡</text></svg>') repeat,
                radial-gradient(circle at 20% 30%, rgba(255, 0, 128, 0.1) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(121, 40, 202, 0.1) 0%, transparent 30%);
              pointer-events: none;
              z-index: -1;
            }

            .header {
              text-align: center;
              padding: 40px 20px;
              background: rgba(0, 0, 0, 0.8);
              backdrop-filter: blur(20px);
              border-radius: 25px;
              margin: 20px auto;
              max-width: 600px;
              box-shadow: 
                0 0 30px rgba(255, 0, 128, 0.5),
                0 0 60px rgba(121, 40, 202, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
              border: 3px solid transparent;
              background-clip: padding-box;
              position: relative;
              animation: headerGlow 2s ease-in-out infinite alternate;
            }

            @keyframes headerGlow {
              0% { 
                box-shadow: 
                  0 0 30px rgba(255, 0, 128, 0.5),
                  0 0 60px rgba(121, 40, 202, 0.3),
                  inset 0 0 20px rgba(255, 255, 255, 0.1);
              }
              100% { 
                box-shadow: 
                  0 0 50px rgba(255, 0, 128, 0.8),
                  0 0 100px rgba(121, 40, 202, 0.5),
                  inset 0 0 30px rgba(255, 255, 255, 0.2);
              }
            }

            .header::before {
              content: '';
              position: absolute;
              top: -3px;
              left: -3px;
              right: -3px;
              bottom: -3px;
              background: linear-gradient(45deg, #ff0080, #7928ca, #0070f3, #00dfd8, #7c3aed);
              background-size: 300% 300%;
              animation: gradientBorder 3s ease infinite;
              border-radius: 28px;
              z-index: -1;
            }

            @keyframes gradientBorder {
              0% { background-position: 0% 50%; }
              50% { background-position: 100% 50%; }
              100% { background-position: 0% 50%; }
            }

            .header h1 {
              font-size: 4rem;
              font-weight: 900;
              background: linear-gradient(45deg, #ff0080, #7928ca, #0070f3, #00dfd8, #ff0080);
              background-size: 300% 300%;
              animation: textGradient 2s ease infinite;
              -webkit-background-clip: text;
              -webkit-text-fill-color: transparent;
              background-clip: text;
              margin-bottom: 10px;
              text-shadow: 
                0 0 10px rgba(255, 0, 128, 0.5),
                0 0 20px rgba(121, 40, 202, 0.3);
              letter-spacing: 3px;
              font-family: 'Impact', 'Arial Black', sans-serif;
              text-transform: uppercase;
              filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
            }

            @keyframes textGradient {
              0% { background-position: 0% 50%; }
              50% { background-position: 100% 50%; }
              100% { background-position: 0% 50%; }
            }

            .header h2 {
              font-size: 2.5rem;
              font-weight: 800;
              color: #00dfd8;
              margin-bottom: 30px;
              text-shadow: 
                0 0 10px rgba(0, 223, 216, 0.8),
                2px 2px 4px rgba(0, 0, 0, 0.7);
              font-family: 'Impact', 'Arial Black', sans-serif;
              text-transform: uppercase;
              letter-spacing: 2px;
              animation: textPulse 1.5s ease-in-out infinite alternate;
            }

            @keyframes textPulse {
              0% { 
                text-shadow: 
                  0 0 10px rgba(0, 223, 216, 0.8),
                  2px 2px 4px rgba(0, 0, 0, 0.7);
              }
              100% { 
                text-shadow: 
                  0 0 20px rgba(0, 223, 216, 1),
                  0 0 30px rgba(0, 223, 216, 0.5),
                  2px 2px 4px rgba(0, 0, 0, 0.7);
              }
            }

            #username {
              width: 100%;
              max-width: 400px;
              padding: 18px 25px;
              font-size: 18px;
              font-weight: 700;
              border: 3px solid #ff0080;
              border-radius: 25px;
              background: rgba(0, 0, 0, 0.8);
              color: #00dfd8;
              margin-bottom: 20px;
              transition: all 0.3s ease;
              font-family: 'Comic Sans MS', cursive;
              box-shadow: 
                0 0 20px rgba(255, 0, 128, 0.5),
                inset 0 0 10px rgba(255, 255, 255, 0.1);
            }

            #username:focus {
              outline: none;
              border-color: #7928ca;
              transform: scale(1.05);
              box-shadow: 
                0 0 30px rgba(121, 40, 202, 0.8),
                0 0 50px rgba(255, 0, 128, 0.4),
                inset 0 0 15px rgba(255, 255, 255, 0.2);
              color: #ffffff;
            }

            #username::placeholder {
              color: #7c3aed;
              font-weight: 600;
            }

            #generate {
              background: linear-gradient(45deg, #ff0080, #7928ca, #0070f3);
              background-size: 300% 300%;
              animation: buttonGradient 2s ease infinite;
              color: white;
              border: none;
              padding: 20px 50px;
              font-size: 22px;
              font-weight: 900;
              border-radius: 25px;
              cursor: pointer;
              transition: all 0.3s ease;
              font-family: 'Impact', 'Arial Black', sans-serif;
              text-transform: uppercase;
              letter-spacing: 2px;
              box-shadow: 
                0 0 20px rgba(255, 0, 128, 0.6),
                0 10px 30px rgba(0, 0, 0, 0.3);
              margin-top: 10px;
              position: relative;
              overflow: hidden;
            }

            @keyframes buttonGradient {
              0% { background-position: 0% 50%; }
              50% { background-position: 100% 50%; }
              100% { background-position: 0% 50%; }
            }

            #generate::before {
              content: '';
              position: absolute;
              top: 0;
              left: -100%;
              width: 100%;
              height: 100%;
              background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
              transition: left 0.5s;
            }

            #generate:hover::before {
              left: 100%;
            }

            #generate:hover {
              transform: translateY(-5px) scale(1.05);
              box-shadow: 
                0 0 40px rgba(255, 0, 128, 0.9),
                0 15px 40px rgba(0, 0, 0, 0.4);
            }

            .small-text {
              text-align: center;
              font-size: 1.5rem;
              font-weight: 800;
              color: #ffffff;
              margin: 30px auto;
              background: rgba(0, 0, 0, 0.7);
              padding: 20px 35px;
              border-radius: 25px;
              max-width: 500px;
              backdrop-filter: blur(10px);
              box-shadow: 
                0 0 20px rgba(0, 223, 216, 0.5),
                inset 0 0 10px rgba(255, 255, 255, 0.1);
              border: 2px solid #00dfd8;
              font-family: 'Impact', sans-serif;
              text-transform: uppercase;
              letter-spacing: 1px;
            }

            .warning {
              background: linear-gradient(45deg, #ff0080, #ff4081);
              background-size: 200% 200%;
              animation: warningPulse 1s ease-in-out infinite alternate;
              color: white;
              padding: 20px 30px;
              border-radius: 25px;
              margin: 20px auto;
              font-weight: 800;
              font-size: 18px;
              max-width: 500px;
              text-align: center;
              box-shadow: 
                0 0 25px rgba(255, 0, 128, 0.7),
                0 10px 30px rgba(0, 0, 0, 0.3);
              border: 2px solid rgba(255, 255, 255, 0.3);
              font-family: 'Impact', sans-serif;
              text-transform: uppercase;
            }

            @keyframes warningPulse {
              0% { 
                background-position: 0% 50%;
                box-shadow: 
                  0 0 25px rgba(255, 0, 128, 0.7),
                  0 10px 30px rgba(0, 0, 0, 0.3);
              }
              100% { 
                background-position: 100% 50%;
                box-shadow: 
                  0 0 40px rgba(255, 0, 128, 1),
                  0 15px 40px rgba(0, 0, 0, 0.4);
              }
            }

            .card-container {
              display: grid;
              grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
              gap: 25px;
              padding: 30px;
              max-width: 1400px;
              margin: 0 auto;
            }

            .card {
              background: rgba(0, 0, 0, 0.8);
              backdrop-filter: blur(20px);
              border-radius: 20px;
              padding: 25px;
              text-align: center;
              cursor: pointer;
              transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
              position: relative;
              border: 3px solid rgba(255, 0, 128, 0.5);
              box-shadow: 
                0 0 20px rgba(255, 0, 128, 0.3),
                0 10px 30px rgba(0, 0, 0, 0.2);
              overflow: hidden;
            }

            .card::before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              background: linear-gradient(45deg, transparent, rgba(0, 223, 216, 0.2), transparent);
              transform: translateX(-100%);
              transition: transform 0.6s;
            }

            .card:hover::before {
              transform: translateX(100%);
            }

            .card:hover {
              transform: translateY(-15px) scale(1.08);
              box-shadow: 
                0 0 40px rgba(255, 0, 128, 0.8),
                0 0 60px rgba(121, 40, 202, 0.4),
                0 20px 50px rgba(0, 0, 0, 0.3);
              border-color: #00dfd8;
            }

            .card img {
              width: 140px;
              height: 140px;
              object-fit: contain;
              display: block;
              margin: 0 auto 20px;
              border-radius: 15px;
              transition: all 0.3s ease;
              filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.3));
            }

            .card:hover img {
              transform: scale(1.15) rotate(10deg);
              filter: 
                drop-shadow(0 0 20px rgba(0, 223, 216, 0.8))
                saturate(1.5)
                brightness(1.2);
            }

            .card h3 {
              font-size: 1.4rem;
              font-weight: 900;
              color: #00dfd8;
              margin-bottom: 10px;
              text-shadow: 
                0 0 10px rgba(0, 223, 216, 0.8),
                2px 2px 4px rgba(0, 0, 0, 0.7);
              font-family: 'Impact', sans-serif;
              text-transform: uppercase;
              letter-spacing: 1px;
            }

            .circle {
              position: absolute;
              top: 15px;
              right: 15px;
              width: 35px;
              height: 35px;
              background: linear-gradient(45deg, #ff0080, #7928ca);
              border-radius: 50%;
              display: none;
              animation: checkPulse 0.3s ease;
              box-shadow: 
                0 0 15px rgba(255, 0, 128, 0.8),
                0 5px 20px rgba(0, 0, 0, 0.3);
            }

            .circle::after {
              content: '🔥';
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
              font-size: 18px;
            }

            @keyframes checkPulse {
              0% { transform: scale(0); }
              50% { transform: scale(1.3); }
              100% { transform: scale(1); }
            }

            /* Blank screen styles */
            #blank-screen {
              display: none;
              position: fixed;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background: linear-gradient(135deg, #000000 0%, #1a0033 50%, #000000 100%);
              z-index: 1000;
              align-items: center;
              justify-content: center;
            }

            .white-box {
              background: rgba(0, 0, 0, 0.9);
              backdrop-filter: blur(20px);
              padding: 60px 40px;
              border-radius: 30px;
              text-align: center;
              max-width: 500px;
              width: 90%;
              box-shadow: 
                0 0 50px rgba(255, 0, 128, 0.6),
                0 0 100px rgba(121, 40, 202, 0.3),
                inset 0 0 30px rgba(255, 255, 255, 0.1);
              border: 3px solid rgba(0, 223, 216, 0.5);
            }

            .logo {
              width: 120px;
              height: 120px;
              margin-bottom: 30px;
              border-radius: 20px;
              filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.8));
            }

            .loading-circles {
              display: flex;
              justify-content: center;
              gap: 20px;
              margin: 40px 0;
            }

            .loading-circle {
              width: 25px;
              height: 25px;
              background: #333;
              border-radius: 50%;
              transition: all 0.3s ease;
              box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
            }

            .loading-circle.bounce {
              background: linear-gradient(45deg, #ff0080, #00dfd8);
              animation: brainrotBounce 1s infinite;
              box-shadow: 
                0 0 20px rgba(255, 0, 128, 0.8),
                inset 0 0 5px rgba(255, 255, 255, 0.3);
            }

    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    #username {
      width: 100%;
      max-width: 400px;
      padding: 18px 25px;
      font-size: 18px;
      font-weight: 600;
      border: 3px solid #4ECDC4;
      border-radius: 50px;
      background: rgba(255, 255, 255, 0.9);
      margin-bottom: 20px;
      transition: all 0.3s ease;
      font-family: 'Fredoka', cursive;
      color: #2C3E50;
    }

    #username:focus {
      outline: none;
      border-color: #FF6B6B;
      transform: scale(1.02);
      box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
    }

    #username::placeholder {
      color: #7f8c8d;
      font-weight: 500;
    }

    #generate {
      background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
      color: white;
      border: none;
      padding: 18px 40px;
      font-size: 20px;
      font-weight: 700;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: 'Fredoka', cursive;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
      margin-top: 10px;
    }

    #generate:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    }

    .small-text {
      text-align: center;
      font-size: 1.3rem;
      font-weight: 600;
      color: #2C3E50;
      margin: 30px auto;
      background: rgba(255, 255, 255, 0.3);
      padding: 15px 30px;
      border-radius: 25px;
      max-width: 400px;
      backdrop-filter: blur(5px);
    }

    .warning {
      background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
      color: white;
      padding: 15px 25px;
      border-radius: 25px;
      margin: 15px auto;
      font-weight: 600;
      font-size: 16px;
      max-width: 500px;
      text-align: center;
      box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
    }

    .card-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 25px;
      padding: 30px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .card {
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(15px);
      border-radius: 20px;
      padding: 25px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      border: 3px solid rgba(255, 255, 255, 0.4);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      transform: translateX(-100%);
      transition: transform 0.6s;
    }

    .card:hover::before {
      transform: translateX(100%);
    }

    .card:hover {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
      border-color: #4ECDC4;
    }

    .card img {
      width: 140px;
      height: 140px;
      object-fit: contain;
      display: block;
      margin: 0 auto 20px;
      border-radius: 15px;
      transition: all 0.3s ease;
    }

    .card:hover img {
      transform: scale(1.1) rotate(5deg);
    }

    .card h3 {
      font-size: 1.3rem;
      font-weight: 700;
      color: #2C3E50;
      margin-bottom: 10px;
      text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    }

    .circle {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 30px;
      height: 30px;
      background: linear-gradient(45deg, #4ECDC4, #44A08D);
      border-radius: 50%;
      display: none;
      animation: checkPulse 0.3s ease;
      box-shadow: 0 5px 15px rgba(68, 160, 141, 0.4);
    }

    .circle::after {
      content: '✓';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-weight: bold;
      font-size: 16px;
    }

    @keyframes checkPulse {
      0% { transform: scale(0); }
      50% { transform: scale(1.2); }
      100% { transform: scale(1); }
    }

    /* Blank screen styles */
    #blank-screen {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      z-index: 1000;
      align-items: center;
      justify-content: center;
    }

    .white-box {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      padding: 60px 40px;
      border-radius: 30px;
      text-align: center;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
      border: 3px solid rgba(255, 255, 255, 0.3);
    }

    .logo {
      width: 100px;
      height: 100px;
      margin-bottom: 30px;
      border-radius: 20px;
    }

    .loading-circles {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin: 30px 0;
    }

    .loading-circle {
      width: 20px;
      height: 20px;
      background: #E8E8E8;
      border-radius: 50%;
      transition: all 0.3s ease;
    }

    .loading-circle.bounce {
      animation: bounce 1s infinite;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
      40% { transform: translateY(-20px); }
      60% { transform: translateY(-10px); }
    }

    .loading-text {
      font-size: 1.3rem;
      font-weight: 600;
      margin: 20px 0;
      color: #2C3E50;
    }

    .blinking-dot {
      animation: blink 1s infinite;
    }

    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }

    .verify-button {
      background: linear-gradient(45deg, #ff0080, #00dfd8);
      color: white;
      border: none;
      padding: 18px 40px;
      font-size: 18px;
      font-weight: 700;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: 'Fredoka', cursive;
      margin: 20px 0;
      box-shadow: 0 10px 25px #7928ca (255, 107, 107, 0.3);
      filter: drop-shadow(0 0 10px rgba(33, 33, 33, 0.8));
    }

    .verify-button:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    }

    /* === Bright Neon Locker Styles === */
.content-locker {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #ff0080, #7928ca, #0070f3, #00dfd8, #ffcd00);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  z-index: 9999;
  font-family: 'Arial Black', sans-serif;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.locker-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 20px;
  width: 95%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255,255,255,0.5);
}

/* Title */
.brainrot-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  text-shadow: 
    0 0 5px #ff0080,
    0 0 10px #7928ca,
    0 0 20px #00dfd8,
    0 0 40px #ffcd00;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.brainrot-title .highlight {
  background: linear-gradient(90deg, #ff0080, #ffcd00, #00dfd8, #0070f3, #7928ca);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
  background-size: 200% auto;
}

@keyframes shine {
  from { background-position: 0% }
  to   { background-position: 200% }
}

.final-step {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
}

.locker-description {
  color: #eee;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Tasks */
.task-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.task-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px #ff0080,
              0 0 20px #00dfd8;
}

.task-icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px #ff0080);
}

.task-content {
  flex: 1;
  margin: 0 10px;
  text-align: left;
}

.task-title {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 3px;
}

.task-description {
  font-size: 0.8rem;
  color: #f5f5f5;
}

.task-button {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(90deg, #ff0080, #7928ca, #00dfd8);
  color: #fff;
  text-shadow: 0 0 5px #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 10px #ff0080,
              0 0 20px #00dfd8;
}

/* Status bar */
.status-bar {
  margin-top: 15px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffcd00;
  box-shadow: 0 0 10px #ffcd00;
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #ff0080;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin: 0 auto 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error {
  text-align: center;
  padding: 40px 20px;
  color: #FF6B6B;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Floating images */
.floating-image {
  position: fixed;
  width: 60px;
  height: 60px;
  opacity: 0.6;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.floating-image:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
  .header h2 {
    font-size: 1.3rem;
  }
  .header {
    padding: 30px 15px;
    margin: 15px;
  }
  .card-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    padding: 15px;
  }
  .card {
    padding: 15px;
    border-radius: 15px;
  }
  .card img {
    width: 100px;
    height: 100px;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .small-text {
    font-size: 1.1rem;
    padding: 12px 20px;
    margin: 20px 15px;
  }

  /* Mobile Content Locker Optimizations */
  @media (max-width: 768px) {
  .content-locker {
    padding: 10px;
  }
  .locker-container { 
    width: 100%;
    max-width: 100%; 
    margin: 0 10px;
    border-radius: 15px;
    padding: 15px;
  }
  .locker-header { 
    padding: 15px 10px; 
  }
  .brainrot-title { 
    font-size: 1.6rem; 
  }
  .final-step {
    font-size: 1rem;
  }
  .locker-description {
    font-size: 0.85rem;
  }

  /* Tasks */
  .tasks-container { 
    padding: 12px 8px;
    max-height: 55vh;
  }
  .task-card { 
    padding: 12px;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .task-icon { 
    width: 40px;
    height: 40px;
  }
  .task-title {
    font-size: 0.95rem;
  }
  .task-description {
    font-size: 0.8rem;
  }
  .task-button { 
    width: 100%;
    padding: 10px 20px;
    font-size: 0.9rem;
    text-align: center;
  }

  /* Status bar */
  .status-bar {
    padding: 10px;
    font-size: 0.8rem;
  }

  /* Buttons */
  .verify-button {
    padding: 14px 28px;
    font-size: 16px;
  }
  #generate {
    padding: 16px 30px;
    font-size: 18px;
  }
}

/* === Extra small phones === */
@media (max-width: 480px) {
  .brainrot-title { 
    font-size: 1.4rem; 
  }
  .final-step {
    font-size: 0.85rem;
  }
  .locker-description {
    font-size: 0.75rem;
  }

  .tasks-container { 
    padding: 10px;
    max-height: 50vh;
  }
  .task-card { 
    padding: 10px;
  }
  .task-title {
    font-size: 0.85rem;
  }
  .task-description {
    font-size: 0.7rem;
  }

  /* Buttons smaller but still tappable */
  .verify-button {
    padding: 12px 22px;
    font-size: 14px;
  }
  #generate {
    padding: 14px 24px;
    font-size: 16px;
  }
}