@import "./theme.css";

.child-dashboard {
  --dashboard-primary: #1e40af;
  --dashboard-secondary: #3b82f6;
  min-height: 100vh;
  font-family: inherit;
  background: var(--dashboard-main-bg, linear-gradient(
    135deg,
    var(--dashboard-primary) 0%,
    var(--dashboard-secondary) 100%
  ));
  position: relative;
  overflow-x: hidden;
}

/* Decorative background elements for children */
.child-dashboard::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.child-dashboard::after {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -20px) scale(1.1);
  }
}

/* Trial Banner */
.trial-banner {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  color: white;
  padding: 16px 24px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  font-weight: 700;
  font-family: var(--heading-font);
  font-size: 15px;
}

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

  50% {
    background-position: 100% 50%;
  }
}

.trial-banner-text {
  margin-left: 16px;
  font-size: 15px;
  opacity: 1;
  font-weight: 700;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
  border-radius: 32px;
  padding: 48px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.4);
  animation: slideUp 0.3s ease-out;
  border: 3px solid rgba(59, 130, 246, 0.2);
}

.modal-emoji {
  font-size: 80px;
  margin-bottom: 24px;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.modal-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.modal-content p {
  font-size: 20px;
  margin-bottom: 24px;
  color: #1e293b;
  font-weight: 600;
}

.modal-timer {
  font-size: 16px;
  color: #ef4444;
  font-weight: 700;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #00e5ff 0%, #00b0ff 100%);
  color: white;
  border: none;
  padding: 18px 36px;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 
    0 8px 0 #0081cb, 
    0 15px 20px rgba(0, 176, 255, 0.4),
    inset 0 2px 0 rgba(255,255,255,0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.modal-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 0 #0081cb, 
    0 20px 30px rgba(0, 176, 255, 0.5),
    inset 0 2px 0 rgba(255,255,255,0.6);
}

.modal-btn-primary:active {
  transform: translateY(6px);
  box-shadow: 
    0 2px 0 #0081cb, 
    0 5px 10px rgba(0, 176, 255, 0.4),
    inset 0 2px 0 rgba(255,255,255,0.2);
}

.modal-btn-secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #1e293b;
  border: none;
  padding: 16px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 
    0 8px 0 #cbd5e1, 
    0 15px 20px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255,255,255,1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.modal-btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 0 #cbd5e1, 
    0 20px 30px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255,255,255,1);
}

.modal-btn-secondary:active {
  transform: translateY(6px);
  box-shadow: 
    0 2px 0 #cbd5e1, 
    0 5px 10px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255,255,255,1);
}

/* Header - FIXED: Proper responsive layout */
.dashboard-header {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.hw-page .hw-header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .hw-page .hw-header-content {
    padding: 0 3rem;
    gap: 20px;
  }
}

.header-container {
  max-width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 0.75rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo-group:hover .logo-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-clip: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.stars-box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(234, 179, 8, 0.3);
  border: 3px solid #fbbf24;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.stars-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.4);
}

.star-icon {
  width: 18px;
  height: 18px;
  color: #eab308;
  animation: sparkle 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes sparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
}

.stars-count {
  font-size: 14px;
  font-weight: 800;
  color: #92400e;
  white-space: nowrap;
}

.avatar-link {
  display: flex;
  padding: 4px;
  background: white;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.2);
  border: 3px solid rgba(59, 130, 246, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.avatar-link:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.4);
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: white;
  font-size: 18px;
  font-weight: 800;
}

/* Main */
.dashboard-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

/* Welcome */
.welcome-section {
  margin-bottom: 4rem; /* Increased margin */
  text-align: left;
  animation: fadeIn 0.6s ease-out;
  border-radius: 32px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.welcome-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.welcome-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: white !important;
  -webkit-text-fill-color: white !important;
  background: none !important;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sparkles-icon {
  width: 40px;
  height: 40px;
  color: #facc15;
  animation: sparkle 2s ease-in-out infinite;
}

.welcome-subtitle {
  font-size: 1.5rem;
  color: white !important;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .welcome-header h1 {
    font-size: 2rem;
  }

  .welcome-subtitle {
    font-size: 1.25rem;
  }

  .dashboard-main {
    padding: 2rem 1rem;
  }
}

/* Sections (Jagged & Wavy styling) */
.section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 3rem 2.5rem;
  border: 6px solid rgba(255, 255, 255, 0.8);
  margin-bottom: 5rem; /* Very aggressive margin for clear separation */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: visible; /* Ensure shadows/margins aren't clipped */
}

.section:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
}

.section h2,
.section h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 1.75rem 0;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-icon {
  width: 28px;
  height: 28px;
  color: #3b82f6;
}

/* Continue Section */
.continue-empty {
  background: var(--continue-card-bg, linear-gradient(135deg, #dbeafe, #bfdbfe));
  color: var(--continue-card-color, #1e293b);
  border-radius: 20px;
  padding: 2.5rem;
  border: 3px solid var(--continue-card-border, #93c5fd);
}

.continue-empty-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.continue-empty-icon {
  width: 56px;
  height: 56px;
  color: #3b82f6;
}

.continue-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 0.75rem;
}

.continue-empty-text {
  font-size: 1.1rem;
  color: inherit;
  opacity: 0.8;
  font-weight: 600;
}

.continue-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.continue-card {
  background: var(--continue-card-bg, linear-gradient(135deg, #dbeafe, #bfdbfe));
  color: var(--continue-card-color, #1e293b);
  border-radius: 20px;
  padding: 2rem;
  border: 3px solid var(--continue-card-border, #93c5fd);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.continue-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
  border-color: #60a5fa;
}

.continue-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.continue-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.continue-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 0.75rem;
}

.continue-card-subtitle {
  font-size: 1rem;
  color: inherit;
  opacity: 0.8;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(226, 232, 240, 0.6);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* Activities */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem; /* Even larger gap */
}
.activity-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: 35px;
  padding: 2.5rem 2rem;
  border: 4px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.activity-card:hover:not(.activity-disabled) {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--dashboard-secondary, #3b82f6);
}

.activity-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f8fafc;
}

.activity-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Removed solid background/box-shadow for an immersive feel */
  color: inherit; /* Will take color from specific gradient classes now applied as text color */
  margin-bottom: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.activity-card:hover:not(.activity-disabled) .activity-icon {
  transform: scale(1.2) rotate(8deg);
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.25));
}

.gradient-blue { color: #2563eb; }
.gradient-purple { color: #8b5cf6; }
.gradient-green { color: #10b981; }
.gradient-red { color: #ef4444; }
.gradient-orange { color: #f97316; }
.gradient-pink { color: #ec4899; }

.activity-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: inherit;
  margin-bottom: 0.75rem;
}

.activity-description {
  font-size: 1rem;
  color: inherit;
  opacity: 0.8;
  line-height: 1.6;
  font-weight: 600;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.progress-section h3,
.improve-section h3,
.recommended-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.progress-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-star {
  width: 32px;
  height: 32px;
  color: #eab308;
}

.stat-value-large {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-note {
  font-size: 1rem;
  color: #64748b;
  font-weight: 600;
}

.badges-row {
  display: flex;
  gap: 1rem;
}

.badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 3px solid #fbbf24;
  color: #92400e;
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.3);
  transition: all 0.3s ease;
  font-size: 24px;
}

.badge:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}

/* Improve Section */
.improve-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #fed7aa, #fdba74);
  padding: 1.5rem;
  border-radius: 16px;
  border: 3px solid #fb923c;
}

.improve-icon {
  width: 40px;
  height: 40px;
  color: #ea580c;
  flex-shrink: 0;
}

.improve-subject {
  font-size: 1.125rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.improve-note {
  font-size: 1rem;
  color: #475569;
  font-weight: 600;
}

/* Recommended Section */
.recommended-section {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 3px solid #fbbf24;
}

.recommended-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: #92400e;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.recommended-section h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.recommended-section p {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 1.75rem;
  line-height: 1.7;
  font-weight: 600;
}

.btn-start {
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.125rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}

.btn-start:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.5);
}

.btn-signout {
  width: 100%;
  margin-top: 1rem;
  padding: 14px 28px;
  background: white;
  color: #dc2626;
  border: 3px solid #fecaca;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-signout:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.15);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Responsive */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 1rem;
  }

  .logo-text {
    font-size: 1.125rem;
  }

  .logo-circle {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .stars-box {
    padding: 8px 12px;
  }

  .stars-count {
    font-size: 13px;
  }

  .star-icon {
    width: 16px;
    height: 16px;
  }

  .avatar-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .logo-text {
    display: none;
  }

  .logo-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .dashboard-main {
    padding: 2rem 1rem;
  }

  .welcome-header h1 {
    font-size: 2.25rem;
  }

  .welcome-subtitle {
    font-size: 1.25rem;
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .continue-cards-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2rem;
  }

  .stars-box {
    padding: 6px 10px;
  }

  .stars-count {
    font-size: 13px;
  }

  .star-icon {
    width: 16px;
    height: 16px;
  }

  .avatar-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .avatar-link {
    padding: 3px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.5rem;
    gap: 0.4rem;
  }

  .logo-circle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .stars-box {
    padding: 6px 8px;
    gap: 0.25rem;
  }

  .stars-count {
    font-size: 12px;
  }

  .star-icon {
    width: 14px;
    height: 14px;
  }

  .avatar-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .avatar-link {
    padding: 3px;
  }

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

  .welcome-header h1 {
    font-size: 2rem;
  }
}

/* New 3D glossy buttons for ChildDashboard */
.btn-start {
  background: linear-gradient(135deg, #00e5ff 0%, #00b0ff 100%);
  color: white;
  border: none;
  padding: 18px 36px;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 
    0 8px 0 #0081cb, 
    0 15px 20px rgba(0, 176, 255, 0.4),
    inset 0 2px 0 rgba(255,255,255,0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 12px;
}

.btn-start:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 0 #0081cb, 
    0 20px 30px rgba(0, 176, 255, 0.5),
    inset 0 2px 0 rgba(255,255,255,0.6);
}

.btn-start:active {
  transform: translateY(6px);
  box-shadow: 
    0 2px 0 #0081cb, 
    0 5px 10px rgba(0, 176, 255, 0.4),
    inset 0 2px 0 rgba(255,255,255,0.2);
}

.btn-signout {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #ef4444; /* High contrast red for sign out */
  border: none;
  padding: 16px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 
    0 8px 0 #cbd5e1, 
    0 15px 20px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255,255,255,1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  display: block;
  text-align: center;
  width: 100%;
}

.btn-signout:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 0 #cbd5e1, 
    0 20px 30px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255,255,255,1);
}

.btn-signout:active {
  transform: translateY(6px);
  box-shadow: 
    0 2px 0 #cbd5e1, 
    0 5px 10px rgba(0, 0, 0, 0.1),
    inset 0 2px 0 rgba(255,255,255,1);
}

@keyframes floating {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

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

.floating-robot-mascot:hover .mascot-tooltip {
  opacity: 1 !important;
}
.floating-robot-mascot:active {
  transform: scale(0.9) !important;
}
