/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gradient-purple-blue);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 10px 25px rgba(139, 92, 246, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-purple-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--color-purple-secondary);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(139, 92, 246, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-category {
  width: 100%;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-category:hover::before {
  left: 100%;
}

.btn-category:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(139, 92, 246, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.1);
}

.glow-effect {
  box-shadow: var(--shadow-glow);
}

/* ===== CARDS ===== */
.game-category-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.game-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.game-category-card:hover::before {
  left: 100%;
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(139, 92, 246, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.08);
}

.category-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.game-category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}

.category-features {
  space-y: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.category-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.game-category-card:hover .category-feature {
  color: #a78bfa;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem auto;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MODERN CREATION WIZARD COMPONENTS ===== */
.game-category-selector {
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 2px solid transparent;
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.game-category-selector::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.game-category-selector:hover::before {
  left: 100%;
}

.game-category-selector:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 
    0 20px 40px rgba(139, 92, 246, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.game-category-selector.ring-2 {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 
    0 0 0 4px rgba(139, 92, 246, 0.2),
    0 15px 35px rgba(139, 92, 246, 0.25);
  transform: translateY(-4px);
}

.game-category-selector:hover .w-16 {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s ease;
}

.objective-card {
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid rgba(55, 65, 81, 0.5);
  border-radius: 0.75rem;
  background: rgba(31, 41, 55, 0.4);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 1.5rem;
}

.objective-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.1) 0%, 
    rgba(59, 130, 246, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.objective-card:hover::after {
  opacity: 1;
}

.objective-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 
    0 15px 30px rgba(139, 92, 246, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.objective-card.ring-2 {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
  box-shadow: 
    0 0 0 3px rgba(139, 92, 246, 0.3),
    0 10px 25px rgba(139, 92, 246, 0.2);
}

.objective-card.ring-2::after {
  opacity: 0.7;
}

.objective-card.ring-2 .objective-content i {
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
  animation: iconPulse 2s ease-in-out infinite;
}

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

.objective-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.objective-content h3 {
  transition: color 0.3s ease;
}

.objective-card:hover .objective-content h3 {
  color: #a78bfa;
}

.personality-option {
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid rgba(55, 65, 81, 0.5);
  border-radius: 0.75rem;
  padding: 1rem;
  background: rgba(31, 41, 55, 0.4);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.personality-option::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.personality-option:hover::before {
  width: 200%;
  height: 200%;
}

.personality-option:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 
    0 12px 24px rgba(139, 92, 246, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1);
}

.personality-option.ring-2 {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 
    0 0 0 3px rgba(139, 92, 246, 0.3),
    0 8px 20px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.personality-option.ring-2::before {
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

.personality-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.personality-content span {
  transition: color 0.3s ease;
}

.personality-option:hover .personality-content span {
  color: #a78bfa;
}

.personality-option:hover .personality-content i {
  transform: scale(1.2) rotate(10deg);
  transition: transform 0.3s ease;
}

.personality-option.ring-2 .personality-content i {
  color: #a78bfa;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.5));
  animation: personalityGlow 1.5s ease-in-out infinite alternate;
}

@keyframes personalityGlow {
  from { filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.5)); }
  to { filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.8)); }
}

.suggestion-item {
  position: relative;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.suggestion-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
  transition: width 0.3s ease;
}

.suggestion-item:hover::before {
  width: 100%;
}

.suggestion-item:hover {
  background-color: rgba(55, 65, 81, 0.6);
  transform: translateX(8px);
  box-shadow: 
    4px 0 12px rgba(139, 92, 246, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== FORMS ===== */
.form-container {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: rgb(196, 181, 253);
}

.form-input {
  width: 100%;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  color: white;
  transition: all var(--transition-normal);
}

.form-input::placeholder {
  color: rgb(156, 163, 175);
}

.form-input:focus {
  border-color: var(--color-purple-primary);
  ring: 2px;
  ring-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.objective-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(17, 24, 39, 0.3);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.objective-option:hover {
  background: rgba(17, 24, 39, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.objective-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-purple-primary);
  border-radius: var(--radius-sm);
}

.form-buttons {
  display: flex;
  gap: 1rem;
}

/* ===== CHAT COMPONENTS ===== */
.chat-demo-container {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(139, 92, 246, 0.3);
  overflow: hidden;
}

.chat-header-demo {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  padding: 1rem;
}

.chat-preview {
  height: 200px;
  padding: 1.5rem;
}

.demo-message {
  max-width: 80%;
}

.demo-message.assistant {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 1rem;
  border-radius: var(--radius-2xl);
  color: rgb(196, 181, 253);
}

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

.demo-quick-actions {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgb(196, 181, 253);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.demo-tag:hover {
  background: rgba(139, 92, 246, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.2);
}

/* ===== CHAT MESSAGES ===== */
.message-container {
  display: flex;
  margin-bottom: 1rem;
}

.message-container.user {
  justify-content: flex-end;
}

.message-container.assistant {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 80%;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  position: relative;
  transition: all 0.2s ease;
}

.message-bubble:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-bubble.user {
  background: var(--color-blue-primary);
  color: white;
  margin-left: 1rem;
}

.message-bubble.assistant {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: rgb(196, 181, 253);
}

.message-content {
  line-height: 1.6;
}

.message-time {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* ===== ASSISTANT PROFILE ===== */
.assistant-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.assistant-avatar:hover {
  transform: scale(1.05) rotate(5deg);
}

.assistant-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.assistant-description {
  color: rgb(156, 163, 175);
  text-align: center;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.assistant-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.status-indicator {
  width: 0.5rem;
  height: 0.5rem;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ===== SIDEBAR COMPONENTS ===== */
.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgb(196, 181, 253);
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: between;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sidebar-item:hover {
  background: rgba(55, 65, 81, 0.5);
  transform: translateX(4px);
  box-shadow: 2px 0 8px rgba(139, 92, 246, 0.1);
}

.sidebar-item.active {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.5);
  transform: translateX(2px);
}

.capability-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.3);
  color: rgb(196, 181, 253);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.capability-tag:hover {
  background: rgba(139, 92, 246, 0.5);
  transform: scale(1.05);
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: var(--color-gray-800);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(139, 92, 246, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-gray-400);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(75, 85, 99, 0.5);
  color: white;
  transform: scale(1.1);
}

.modal-footer {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(75, 85, 99, 0.3);
}

/* ===== NOTIFICATIONS ===== */
.notification {
  position: fixed;
  top: 5rem;
  right: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-tooltip);
  transition: all var(--transition-normal);
  max-width: 400px;
  transform: translateX(100%);
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  background: var(--gradient-success);
  color: white;
}

.notification.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.notification.info {
  background: var(--gradient-purple-blue);
  color: white;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== INPUT GROUPS ===== */
.input-group {
  display: flex;
  gap: 0.5rem;
}

.input-group .form-input {
  flex: 1;
}

.input-group button {
  flex-shrink: 0;
}

/* ===== QUICK SUGGESTIONS ===== */
.suggestions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.suggestion-chip {
  background: rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: rgb(196, 181, 253);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.suggestion-chip:hover {
  background: rgba(139, 92, 246, 0.5);
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

/* ===== LOADING STATES ===== */
.loading-skeleton {
  background: linear-gradient(90deg, 
    rgba(75, 85, 99, 0.3) 25%, 
    rgba(107, 114, 128, 0.3) 50%, 
    rgba(75, 85, 99, 0.3) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

.loading-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.loading-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-top: 2px solid var(--color-purple-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== STEP INDICATORS ===== */
#step1, #step2, #step3, #step4 {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

#step1.bg-purple-600, #step2.bg-purple-600, #step3.bg-purple-600, #step4.bg-purple-600 {
  box-shadow: 
    0 0 0 3px rgba(139, 92, 246, 0.3),
    0 4px 12px rgba(139, 92, 246, 0.2);
  animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { 
    box-shadow: 
      0 0 0 3px rgba(139, 92, 246, 0.3),
      0 4px 12px rgba(139, 92, 246, 0.2);
  }
  50% { 
    box-shadow: 
      0 0 0 5px rgba(139, 92, 246, 0.4),
      0 6px 16px rgba(139, 92, 246, 0.3);
  }
}

/* ===== RESPONSIVE COMPONENTS ===== */
@media (max-width: 640px) {
  .form-container {
    padding: 1.5rem;
  }
  
  .objectives-grid {
    grid-template-columns: 1fr;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .notification {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
  
  /* Reduce hover effects on mobile */
  .game-category-selector:hover,
  .objective-card:hover,
  .personality-option:hover {
    transform: translateY(-2px) scale(1.01);
  }
  
  .suggestion-item:hover {
    transform: translateX(4px);
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 768px) {
  .game-category-card {
    padding: 1.5rem;
  }
  
  .category-icon {
    width: 4rem;
    height: 4rem;
  }
  
  .chat-demo-container {
    margin: 0 1rem;
  }
  
  .game-category-selector {
    padding: 1rem;
  }
  
  .objective-card {
    padding: 1rem;
  }
}

@media (max-width: 1024px) {
  .modal-content {
    width: 95%;
    max-width: 400px;
  }
}

/* ===== ADDITIONAL MODERN EFFECTS ===== */

/* Micro-interactions for text elements */
.objective-content h3,
.personality-content span,
.category-feature {
  transition: color 0.3s ease;
}

/* Enhanced button states */
.btn-primary:focus,
.btn-secondary:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(139, 92, 246, 0.3),
    0 4px 12px rgba(139, 92, 246, 0.2);
}

/* Loading shimmer effect */
.loading-shimmer {
  background: linear-gradient(90deg, 
    rgba(139, 92, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.3) 50%, 
    rgba(139, 92, 246, 0.1) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Glassmorphism effects */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced focus states */
.form-input:focus,
.objective-checkbox:focus,
input[name="personality"]:focus + .personality-content {
  outline: none;
  box-shadow: 
    0 0 0 2px rgba(139, 92, 246, 0.3),
    0 0 10px rgba(139, 92, 246, 0.2);
}

/* Improved accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .game-category-selector,
  .objective-card,
  .personality-option {
    border-width: 3px;
  }
  
  .game-category-selector:hover,
  .objective-card:hover,
  .personality-option:hover {
    border-color: #ffffff;
  }
}
