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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Comic Sans MS', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  background: linear-gradient(135deg, #FFA5C3 0%, #D88FFF 50%, #8FFFE3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  animation: gradientShift 10s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Background decorative emojis */
.bg-emoji {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  user-select: none;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes float1 {
  0%, 100% {
    transform: translateY(0) rotate(-15deg);
  }
  50% {
    transform: translateY(-30px) rotate(-5deg);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translateY(0) rotate(20deg);
  }
  50% {
    transform: translateY(-40px) rotate(30deg);
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translateY(0) rotate(10deg);
  }
  50% {
    transform: translateY(-25px) rotate(20deg);
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translateY(0) rotate(-20deg);
  }
  50% {
    transform: translateY(-35px) rotate(-10deg);
  }
}

@keyframes float5 {
  0%, 100% {
    transform: translateY(0) rotate(25deg);
  }
  50% {
    transform: translateY(-20px) rotate(35deg);
  }
}

@keyframes float6 {
  0%, 100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-30px) rotate(0deg);
  }
}

.bg-emoji-1 {
  font-size: 50px;
  top: 10%;
  left: 5%;
  animation: float1 6s ease-in-out infinite;
}

.bg-emoji-2 {
  font-size: 60px;
  top: 5%;
  right: 8%;
  animation: float2 7s ease-in-out infinite;
}

.bg-emoji-3 {
  font-size: 45px;
  bottom: 15%;
  left: 10%;
  animation: float3 5s ease-in-out infinite;
}

.bg-emoji-4 {
  font-size: 55px;
  bottom: 10%;
  right: 12%;
  animation: float4 6.5s ease-in-out infinite;
}

.bg-emoji-5 {
  font-size: 40px;
  top: 50%;
  left: 15%;
  animation: float5 5.5s ease-in-out infinite;
}

.bg-emoji-6 {
  font-size: 48px;
  top: 60%;
  right: 10%;
  animation: float6 6.2s ease-in-out infinite;
}

/* Landing Container */
.landing-container {
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Hero Section */
.hero {
  margin-bottom: 60px;
}

.main-title {
  color: white;
  font-size: 72px;
  font-weight: 900;
  margin-top: 40px;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0px #FF1493, 5px 5px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  animation: titleBounce 2s ease-in-out infinite;
}

@keyframes titleBounce {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.tagline {
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

/* Download Buttons */
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.download-buttons a {
  transition: transform 0.3s ease, filter 0.3s ease;
  display: inline-block;
}

.download-buttons a:hover {
  transform: translateY(-5px) scale(1.05);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.download-buttons a:active {
  transform: translateY(-2px) scale(1.02);
}

.badge {
  height: 60px;
  width: auto;
  display: block;
}

/* Screenshots Section */
.screenshots {
  margin-top: 60px;
}

.screenshot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.screenshot {
  width: 280px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  animation: screenshotFloat 3s ease-in-out infinite;
}

.screenshot:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.screenshot-center {
  animation-delay: 0.5s;
}

.screenshot:nth-child(3) {
  animation-delay: 1s;
}

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

/* How It Works Section */
.how-it-works {
  margin-bottom: 50px;
}

.how-it-works-title {
  color: white;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.how-it-works-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 550px;
  margin: 0 auto;
}

.work-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardFloat 3s ease-in-out infinite;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.work-card-cyan {
  background: linear-gradient(135deg, #5FFFD4 0%, #4FE1C1 100%);
}

.work-card-peach {
  background: linear-gradient(135deg, #FFE4C4 0%, #FFD4A3 100%);
}

.work-card-pink {
  background: linear-gradient(135deg, #FFC0E5 0%, #FFB0DA 100%);
}

.work-card:nth-child(2) {
  animation-delay: 0.5s;
}

.work-card:nth-child(3) {
  animation-delay: 1s;
}

.work-card-icon {
  font-size: 42px;
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.work-card-cyan .work-card-icon {
  background: linear-gradient(135deg, #4FE1C1 0%, #3DD4B3 100%);
}

.work-card-peach .work-card-icon {
  background: linear-gradient(135deg, #FFB84D 0%, #FFA940 100%);
}

.work-card-pink .work-card-icon {
  background: linear-gradient(135deg, #FF69B4 0%, #E94C8B 100%);
}

.work-card-content {
  flex: 1;
  text-align: left;
}

.work-card-title {
  color: #1f2937;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

.work-card-text {
  color: #4b5563;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

/* Name Input Section */
.name-input-section {
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.name-input-title {
  color: white;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.name-input-wrapper {
  position: relative;
  margin-bottom: 25px;
}

.name-input {
  width: 100%;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  transition: all 0.3s ease;
}

.name-input:focus {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.name-input::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.name-char-counter {
  position: absolute;
  bottom: 22px;
  right: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #9ca3af;
  pointer-events: none;
}

.start-quiz-btn {
  width: 100%;
  padding: 24px 32px;
  font-size: 26px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #FF3B7D 0%, #FF6B35 50%, #FFA940 100%);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 59, 125, 0.8),
              0 5px 20px rgba(255, 107, 53, 0.7),
              0 2px 10px rgba(255, 169, 64, 0.6),
              0 15px 40px rgba(0, 0, 0, 0.15),
              inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: inherit;
  animation: btnPulsate 2s ease-in-out infinite;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 20;
}

.start-quiz-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

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

.start-quiz-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 18px 50px rgba(255, 59, 125, 0.7),
              0 10px 35px rgba(255, 107, 53, 0.6),
              0 5px 20px rgba(255, 169, 64, 0.5),
              inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  animation: none;
}

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

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

/* Loading Overlay Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 6px solid rgba(255, 255, 255, 0.3);
  border-top-color: #00E676;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-text {
  color: white;
  font-size: 24px;
  font-weight: 900;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Quiz Success/Result Page Styles */
.quiz-success-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

/* Floating emojis on result page */
.result-emoji {
  position: absolute;
  font-size: 80px;
  opacity: 0.3;
  user-select: none;
  pointer-events: none;
  animation: float1 4s ease-in-out infinite;
}

.result-emoji-1 {
  top: 80px;
  left: 40px;
  animation-delay: 0s;
}

.result-emoji-2 {
  top: 200px;
  right: 40px;
  animation-delay: 1s;
}

.result-content {
  width: 100%;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No Attempts Message */
.no-attempts-message {
  margin-bottom: 30px;
  animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-attempts-text {
  color: white;
  font-size: 22px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 18px 30px;
  border-radius: 20px;
  display: inline-block;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.result-title {
  color: white;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0px rgba(255, 20, 147, 0.4),
               2px 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.live-badge {
  display: inline-block;
  background: white;
  color: #FF1493;
  font-size: 36px;
  font-weight: 900;
  padding: 15px 40px;
  border-radius: 50px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.result-subtitle {
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 50px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

/* Link Card */
.link-card {
  background: white;
  border-radius: 32px;
  padding: 40px 35px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: cardSlideUp 0.7s ease-out 0.3s both;
}

@keyframes cardSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.link-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.link-icon {
  font-size: 32px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF69B4 0%, #3B82F6 100%);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(255, 105, 180, 0.4);
}

.link-title {
  color: #1f2937;
  font-size: 28px;
  font-weight: 900;
}

.link-display {
  background: linear-gradient(135deg, #FFE5F1 0%, #E0F2FE 100%);
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 20px 25px;
  margin-bottom: 25px;
  font-size: 20px;
  font-weight: 700;
  color: #7C3AED;
  font-family: 'Courier New', monospace;
  text-align: center;
  word-break: break-all;
  transition: all 0.3s ease;
}

.link-display:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: scale(1.02);
}

.copy-link-btn {
  width: 100%;
  padding: 22px 32px;
  font-size: 24px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.5),
              0 5px 20px rgba(0, 200, 83, 0.4),
              inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: copyBtnPulsate 2s ease-in-out infinite;
}

@keyframes copyBtnPulsate {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.5),
                0 5px 20px rgba(0, 200, 83, 0.4),
                inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 230, 118, 0.7),
                0 8px 25px rgba(0, 200, 83, 0.6),
                inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  }
}

.copy-link-btn:hover {
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 230, 118, 0.7),
              0 8px 25px rgba(0, 200, 83, 0.6),
              inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.copy-link-btn:active {
  transform: translateY(-1px);
}

.copy-icon {
  font-size: 28px;
}

/* X Share Button inside Link Card */
.x-share-btn {
  width: 100%;
  padding: 16px 24px;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3),
              inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.x-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
              inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.x-share-btn:active {
  transform: translateY(0);
}

.x-share-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.x-share-text {
  color: white;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Delete Quiz Button */
.delete-quiz-btn {
  width: 100%;
  max-width: 500px;
  padding: 18px 24px;
  margin: 30px auto 0;
  font-size: 18px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4),
              0 4px 16px rgba(220, 38, 38, 0.3),
              inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.delete-quiz-btn svg {
  stroke: white;
}

.delete-quiz-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.5),
              0 6px 20px rgba(220, 38, 38, 0.4),
              inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.delete-quiz-btn:active {
  transform: translateY(0);
}

/* Browser Notice */
.browser-notice {
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-top: 25px;
  padding: 15px 20px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 16px;
  border: 2px solid rgba(239, 68, 68, 0.3);
  line-height: 1.5;
}

/* Promo Banner Styles */
.promo-banner-container {
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
  animation: fadeInUp 0.8s ease-out;
}

.promo-banner-container a {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.promo-banner-container a:hover {
  transform: translateY(-5px);
}

.promo-banner-container a:active {
  transform: translateY(-2px);
}

.promo-banner {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.promo-banner-container a:hover .promo-banner {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

/* Social Share Buttons */
.social-share-container {
  width: 100%;
  max-width: 400px;
  margin: 30px auto 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.social-share-btn {
  width: 100%;
  border: none;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.social-share-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.social-share-btn:active {
  opacity: 0.85;
  transform: scale(1);
}

.share-btn-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.share-btn-text {
  color: white;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Platform-specific background colors */
.social-btn-instagram {
  background: linear-gradient(135deg, #E1306C 0%, #C13584 100%);
}

.social-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-btn-messenger {
  background: linear-gradient(135deg, #00B2FF 0%, #006AFF 100%);
}

.social-btn-snapchat {
  background: linear-gradient(135deg, #FFFC00 0%, #FED500 100%);
}

.social-btn-snapchat .share-btn-text {
  color: #000000;
  text-shadow: none;
}

.social-btn-snapchat .share-btn-icon {
  filter: brightness(0);
}

.social-btn-x {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.social-btn-x .share-btn-icon {
  width: 20px;
  height: 20px;
}

.social-btn-imessage {
  background: linear-gradient(135deg, #34C759 0%, #30D158 100%);
}

/* Friends Leaderboard Styles */
.friends-leaderboard {
  margin-top: 0;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.leaderboard-title {
  color: white;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 3px 3px 0px rgba(255, 20, 147, 0.4),
               2px 2px 20px rgba(0, 0, 0, 0.3);
}

.leaderboard-subtitle {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Visitor Leaderboard (Simple version on Enter Name and Score pages) */
.visitor-leaderboard {
  margin-top: 50px;
  animation: fadeInUp 0.8s ease-out;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.visitor-leaderboard .leaderboard-title {
  color: white;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.leaderboard-name {
  color: #FFD700;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.visitor-leaderboard .leaderboard-table {
  background: white;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  padding: 8px;
}

.visitor-leaderboard .leaderboard-header {
  background: linear-gradient(135deg, #FF8A65 0%, #FF6B9D 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 18px;
  align-items: center;
  border-radius: 12px 12px 0 0;
}

.visitor-leaderboard .leaderboard-header-name,
.visitor-leaderboard .leaderboard-header-score {
  color: white;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
}

.visitor-leaderboard .leaderboard-header-score {
  text-align: center;
}

.visitor-leaderboard .leaderboard-body {
  background: white;
  padding: 0 0 8px 0;
  border-radius: 0 0 12px 12px;
}

.visitor-leaderboard .leaderboard-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 18px;
  align-items: center;
  border-bottom: 2px solid #f3f4f6;
  transition: background 0.2s ease;
}

.visitor-leaderboard .leaderboard-row:hover {
  background: #f9fafb;
}

.visitor-leaderboard .leaderboard-row:last-child {
  border-bottom: none;
}

.visitor-leaderboard .leaderboard-friend-name {
  color: #1f2937;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
}

.visitor-leaderboard .leaderboard-friend-score {
  color: #7C3AED;
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}

/* Friends Leaderboard Table (Owner's view on Result page) */
.friends-leaderboard .leaderboard-table {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 0;
}

.friends-leaderboard .leaderboard-header {
  background: linear-gradient(135deg, #FF8A65 0%, #FF6B9D 100%);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.5fr;
  gap: 10px;
  padding: 18px 20px;
  align-items: center;
  border-radius: 24px 24px 0 0;
  margin: 0;
}

.friends-leaderboard .leaderboard-header > div {
  color: white;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.friends-leaderboard .header-name {
  text-align: left !important;
}

.friends-leaderboard .header-delete {
  display: flex;
  align-items: center;
  justify-content: center;
}

.friends-leaderboard .header-delete svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.friends-leaderboard .leaderboard-body {
  background: white;
}

.friend-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.5fr;
  gap: 10px;
  padding: 20px;
  align-items: center;
  border-bottom: 2px solid #f3f4f6;
  transition: background 0.2s ease;
}

.friend-row:hover {
  background: #f9fafb;
}

.friend-row:last-child {
  border-bottom: none;
}

.friend-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.friend-name {
  color: #1f2937;
  font-size: 20px;
  font-weight: 900;
}

.friendship-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.tag-certified-bff {
  background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.tag-true-friend {
  background: linear-gradient(135deg, #42A5F5 0%, #64B5F6 100%);
}

.tag-almost-bestie {
  background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
}

.tag-snap-friend {
  background: linear-gradient(135deg, #FDD835 0%, #FFC107 100%);
}

.tag-fake-friend {
  background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
}

.tag-acquaintance {
  background: linear-gradient(135deg, #757575 0%, #9E9E9E 100%);
}

.tag-stranger {
  background: linear-gradient(135deg, #EF5350 0%, #E57373 100%);
}

.friend-score {
  color: #7C3AED;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.view-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.6);
}

.view-btn:active {
  transform: translateY(0);
}

.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF69B4;
}

.delete-btn svg {
  width: 20px;
  height: 20px;
  stroke: #FF69B4;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  transform: scale(1.15);
}

.delete-btn:hover svg {
  stroke: #FF1493;
  stroke-width: 2.5;
}

/* Suggested Questions Bottom Sheet Styles */
.suggestions-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  animation: fadeIn 0.3s ease-out;
}

.suggestions-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 70vh;
  background: white;
  border-radius: 32px 32px 0 0;
  padding: 20px 24px 40px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  overflow-y: auto;
}

.suggestions-sheet.active {
  transform: translateY(0);
}

.sheet-handle {
  width: 60px;
  height: 5px;
  background: #d1d5db;
  border-radius: 10px;
  margin: 0 auto 20px;
}

.sheet-title {
  color: #1f2937;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 30px;
}

.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.suggestion-item {
  background: #f3f4f6;
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.suggestion-item:hover {
  background: #e5e7eb;
  transform: translateX(5px);
}

.suggestion-item:active {
  transform: translateX(5px) scale(0.98);
}

.suggestion-emoji {
  font-size: 24px;
  flex-shrink: 0;
}

.suggestion-text {
  flex: 1;
}

.add-own-question {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE4E1 100%);
  border: 2px solid #FFB74D;
}

.add-own-question:hover {
  background: linear-gradient(135deg, #FFE4B3 0%, #FFD4D0 100%);
  border-color: #FFA726;
}

/* Friend Answers Modal Styles */
.friend-answers-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: linear-gradient(135deg, #FFA5C3 0%, #D88FFF 50%, #8FFFE3 100%);
  border-radius: 32px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.modal-header {
  margin-bottom: 20px;
  text-align: center;
}

.modal-title {
  background: white;
  color: #1f2937;
  font-size: 24px;
  font-weight: 900;
  padding: 18px 30px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.go-back-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.go-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.go-back-btn:active {
  transform: translateY(0);
}

.answers-scroll-container {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 10px;
}

.answers-scroll-container::-webkit-scrollbar {
  width: 8px;
}

.answers-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.answers-scroll-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}

.answers-scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Question Card in Modal */
.answer-question-card {
  background: #06b6d4;
  border-radius: 28px;
  padding: 25px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.answer-question-number {
  color: white;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.answer-question-text {
  background: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 15px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.answer-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer-option {
  background: white;
  border-radius: 20px;
  padding: 16px 20px;
  color: #1f2937;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.answer-option-wrong {
  background: linear-gradient(135deg, #ff6b7a 0%, #ff5268 100%);
  color: white;
}

.answer-option-correct {
  background: linear-gradient(135deg, #5dd897 0%, #4aba7f 100%);
  color: white;
}

.answer-option-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 10px;
}

.answer-option-icon svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 3;
}

/* Instagram Instructions Modal */
.instagram-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.instagram-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.instagram-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  background: white;
  border-radius: 24px;
  padding: 30px 20px;
  overflow-y: auto;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.instagram-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  color: #1f2937;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.instagram-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.instagram-modal-title {
  color: #1f2937;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 30px;
  padding-right: 30px;
}

.instagram-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.instagram-step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.instagram-step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, #E1306C 0%, #C13584 100%);
  color: white;
  font-size: 18px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.instagram-step-content {
  flex: 1;
}

.instagram-step-text {
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.instagram-step-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Snapchat Instructions Modal */
.snapchat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.snapchat-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.snapchat-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  background: white;
  border-radius: 24px;
  padding: 30px 20px;
  overflow-y: auto;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.snapchat-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  color: #1f2937;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.snapchat-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.snapchat-modal-title {
  color: #1f2937;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 30px;
  padding-right: 30px;
}

.snapchat-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.snapchat-step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.snapchat-step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, #FFFC00 0%, #FED500 100%);
  color: #000000;
  font-size: 18px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.snapchat-step-content {
  flex: 1;
}

.snapchat-step-text {
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.snapchat-step-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Create Quiz Page Styles */
.create-quiz-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

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

.creator-emoji {
  font-size: 64px;
  margin-bottom: 15px;
  animation: float1 3s ease-in-out infinite;
}

.create-quiz-title {
  color: white;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 3px 3px 0px #FF1493, 5px 5px 20px rgba(0, 0, 0, 0.3);
}

.create-quiz-subtitle {
  color: #1f2937;
  font-size: 20px;
  font-weight: 700;
  opacity: 0.9;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
  will-change: contents;
}

.question-creation-card {
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: transform 0.3s ease;
  contain: layout style paint;
}

.question-creation-card:hover {
  transform: translateY(-3px);
}

.question-number {
  color: white;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.question-input-box {
  background: white;
  border-radius: 20px;
  padding: 25px;
  padding-right: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
}

.question-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  font-family: inherit;
  background: transparent;
  resize: none;
  min-height: 60px;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 5px;
}

.question-input::-webkit-scrollbar {
  width: 6px;
}

.question-input::-webkit-scrollbar-track {
  background: transparent;
}

.question-input::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.question-input::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

.question-input::placeholder {
  color: #9ca3af;
}

.input-char-counter {
  position: absolute;
  bottom: 8px;
  right: 15px;
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  pointer-events: none;
}

.question-dropdown-arrow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 35px;
  border-radius: 0 0 100px 100px;
  background: rgba(255, 255, 255, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.question-dropdown-arrow svg {
  color: white;
  stroke: white;
}

.question-dropdown-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%) scale(1.1);
}

.question-dropdown-arrow:active {
  transform: translateX(-50%) scale(0.95);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.option-item {
  background: white;
  border-radius: 20px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  min-height: 68px;
}

.option-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.option-radio {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border: 3px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: white;
}

.option-radio.selected {
  border-color: #00E676;
  background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.4);
}

.option-radio.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
  font-weight: 900;
}

.option-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.option-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  font-family: inherit;
  background: transparent;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  resize: none;
  overflow: auto;
  line-height: 1.5;
  min-height: 27px;
  max-height: 150px;
}

.option-input::placeholder {
  color: #d1d5db;
}

.option-char-counter {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  white-space: nowrap;
  margin-left: 10px;
  flex-shrink: 0;
}

.option-delete {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: none;
  background: transparent;
  color: #FF69B4;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 300;
}

.option-delete:hover {
  transform: scale(1.2);
  color: #E94C8B;
}

.add-option-btn {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px dashed white;
  border-radius: 20px;
  color: white;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
}

.add-option-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.color-picker {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 25px;
  flex-wrap: nowrap;
}

.color-option {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.color-option:hover {
  transform: scale(1.15);
}

.color-option.selected {
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5),
              0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.1);
}

.submit-quiz-btn {
  width: 100%;
  max-width: 500px;
  padding: 24px 32px;
  font-size: 26px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.5),
              0 5px 20px rgba(0, 200, 83, 0.4),
              inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: inherit;
  display: block;
  margin: 0 auto;
}

.submit-quiz-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 230, 118, 0.7),
              0 8px 25px rgba(0, 200, 83, 0.6),
              inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.submit-quiz-btn:active {
  transform: translateY(-2px) scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 48px;
  }

  .tagline {
    font-size: 22px;
    margin-bottom: 35px;
  }

  .how-it-works-title {
    font-size: 28px;
  }

  .work-card {
    padding: 20px;
  }

  .work-card-icon {
    font-size: 36px;
    min-width: 50px;
    height: 50px;
  }

  .work-card-title {
    font-size: 20px;
  }

  .work-card-text {
    font-size: 14px;
  }

  .name-input-title {
    font-size: 24px;
  }

  .start-quiz-btn {
    font-size: 22px;
    padding: 20px 28px;
  }

  .create-quiz-title {
    font-size: 42px;
  }

  .create-quiz-subtitle {
    font-size: 18px;
  }

  .question-creation-card {
    padding: 25px;
  }

  .submit-quiz-btn {
    font-size: 22px;
    padding: 20px 28px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 30px 15px;
  }

  .main-title {
    font-size: 36px;
  }

  .tagline {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .how-it-works-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .how-it-works-cards {
    gap: 15px;
  }

  .work-card {
    padding: 18px;
    gap: 15px;
  }

  .work-card-icon {
    font-size: 32px;
    min-width: 48px;
    height: 48px;
  }

  .work-card-title {
    font-size: 18px;
  }

  .work-card-text {
    font-size: 13px;
  }

  .name-input-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .name-input {
    padding: 18px 20px;
    font-size: 16px;
  }

  .name-char-counter {
    bottom: 18px;
    right: 20px;
  }

  .start-quiz-btn {
    font-size: 20px;
    padding: 18px 24px;
  }

  .create-quiz-container {
    padding: 10px;
  }

  .creator-emoji {
    font-size: 52px;
  }

  .create-quiz-title {
    font-size: 36px;
  }

  .create-quiz-subtitle {
    font-size: 16px;
  }

  .question-creation-card {
    padding: 22px;
  }

  .question-number {
    font-size: 20px;
  }

  .question-input-box {
    padding: 20px;
  }

  .question-input {
    font-size: 16px;
  }

  .option-item {
    padding: 16px 20px;
    gap: 10px;
  }

  .option-input {
    font-size: 16px;
  }

  .option-delete {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 24px;
  }

  .option-radio {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }

  .color-picker {
    gap: 6px;
    margin-top: 20px;
  }

  .color-option {
    width: 30px;
    height: 30px;
  }

  .submit-quiz-btn {
    font-size: 20px;
    padding: 18px 24px;
  }

  .result-emoji {
    font-size: 60px;
  }

  .result-emoji-1 {
    top: 60px;
    left: 20px;
  }

  .result-emoji-2 {
    top: 150px;
    right: 20px;
  }

  .no-attempts-text {
    font-size: 18px;
    padding: 15px 25px;
  }

  .result-title {
    font-size: 36px;
  }

  .live-badge {
    font-size: 28px;
    padding: 12px 30px;
  }

  .result-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .link-card {
    padding: 30px 25px;
  }

  .link-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
  }

  .link-title {
    font-size: 24px;
  }

  .link-display {
    font-size: 18px;
    padding: 18px 20px;
  }

  .copy-link-btn {
    font-size: 20px;
    padding: 18px 24px;
  }

  .copy-icon {
    font-size: 24px;
  }

  .delete-quiz-btn {
    font-size: 16px;
    padding: 16px 20px;
  }

  .browser-notice {
    font-size: 12px;
    padding: 12px 15px;
    margin-top: 20px;
  }

  .social-share-btn {
    padding: 18px 25px;
  }

  .share-btn-icon {
    width: 28px;
    height: 28px;
  }

  .share-btn-text {
    font-size: 16px;
  }

  .leaderboard-title {
    font-size: 28px;
  }

  .leaderboard-subtitle {
    font-size: 16px;
  }

  .friends-leaderboard .leaderboard-header {
    grid-template-columns: 2fr 1fr 1fr 0.5fr;
    padding: 15px;
    font-size: 15px;
  }

  .friends-leaderboard .header-delete svg {
    width: 18px;
    height: 18px;
  }

  .friend-row {
    grid-template-columns: 2fr 1fr 1fr 0.5fr;
    padding: 15px;
  }

  .friend-name {
    font-size: 18px;
  }

  .friendship-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .friend-score {
    font-size: 18px;
  }

  .view-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  .delete-btn svg {
    width: 18px;
    height: 18px;
  }

  .modal-content {
    width: 95%;
    padding: 20px;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 20px;
    padding: 15px 25px;
  }

  .go-back-btn {
    font-size: 18px;
    padding: 16px 20px;
  }

  .answer-question-number {
    font-size: 16px;
  }

  .answer-question-text {
    font-size: 16px;
    padding: 18px;
  }

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

  .answer-option-icon {
    width: 24px;
    height: 24px;
  }

  .answer-option-icon svg {
    width: 14px;
    height: 14px;
  }

  .loading-text {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .option-item {
    padding: 14px 16px;
    gap: 8px;
  }

  .option-radio {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }

  .option-delete {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 24px;
  }
}

@media (max-width: 360px) {
  body {
    padding: 25px 8px;
  }

  .create-quiz-container {
    padding: 5px;
  }

  .question-creation-card {
    padding: 18px;
  }

  .question-input-box {
    padding: 18px;
  }

  .option-item {
    padding: 12px 12px;
    gap: 8px;
  }

  .option-radio {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #d1d5db;
  }

  .option-radio.selected::after {
    font-size: 14px;
  }

  .option-delete {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 20px;
  }

  .color-picker {
    gap: 4px;
    margin-top: 18px;
  }

  .color-option {
    width: 26px;
    height: 26px;
  }
}
