/* Alien UI Variables */
:root {
  --alien-primary: #00ff99;
  --alien-secondary: #00ccff;
  --alien-accent: #ff00ff;
  --alien-dark: #000033;
  --alien-glow: 0 0 30px var(--alien-primary);
  --alien-glass: rgba(0, 255, 153, 0.15);
  --alien-border: 2px solid rgba(0, 255, 153, 0.4);
  --alien-radius: 24px;
  --primary-color: #00ff99;
  --secondary-color: #00ccff;
  --background-color: #000000;
  --card-bg: rgba(0, 0, 0, 0.9);
  --text-color: #ffffff;
  --aura-color: rgba(0, 255, 153, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 255, 153, 0.25);
  --transition-speed: 0.4s;
  --font-heading: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Modern Reset & Enhanced Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #000000, #001a1a);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.glass-card {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 153, 0.3);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 4px 20px rgba(0, 255, 153, 0.1);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 153, 0.5);
  box-shadow: 0 8px 30px rgba(0, 255, 153, 0.15);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 255, 153, 0.3),
              inset 0 0 50px rgba(0, 255, 153, 0.15);
  border-color: rgba(0, 255, 153, 0.8);
}

/* Modern Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #000000, #001a0d);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Enhanced Glass Card Effect */
.glass-card {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 255, 153, 0.15),
              inset 0 0 32px rgba(0, 255, 153, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 153, 0.1), transparent 70%);
  transform: rotate(0deg);
  animation: rotateGradient 15s linear infinite;
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 153, 0.25),
              inset 0 0 40px rgba(0, 255, 153, 0.1);
  border-color: rgba(0, 255, 153, 0.8);
}

.chat-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  animation: glow 2s ease-in-out infinite;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

@keyframes glow {
  0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 153, 0.5); }
  50% { text-shadow: 0 0 30px rgba(0, 255, 153, 0.8); }
}

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

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 255, 153, 0.25);
}

/* Modern Header */
.main-header {
  padding: 20px 0;
  margin-bottom: 30px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.streak-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.streak-icon {
  font-size: 1.2em;
  animation: pulse 2s infinite;
}

/* Quick Actions Grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  align-items: start;
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  text-decoration: none;
  color: var(--text-color);
}

.action-icon {
  font-size: 2em;
  margin-bottom: 12px;
}

/* Modern Form Styling */
.goal-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1em;
  transition: all var(--transition-speed);
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 255, 153, 0.3);
}

/* Modern Button Styling */
.action-button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.action-button.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #000;
}

.action-button.secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid var(--glass-border);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  opacity: 0.7;
  transition: opacity var(--transition-speed);
}

.nav-item.active {
  opacity: 1;
  color: var(--primary-color);
}

/* Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@media (max-width: 768px) {
  .app-container {
    padding: 15px;
  }

  .action-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'SF Pro Display', Arial, sans-serif;
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
}

.app-wrapper {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Header Styling */
.header-container {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 45px;
}

.logo {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(0, 255, 153, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(0, 255, 153, 0.5));
}

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

.streak {
  position: absolute;
  left: 16px;
  background: linear-gradient(135deg, rgba(0, 255, 153, 0.2), rgba(0, 0, 0, 0.8));
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 10px var(--aura-color);
}

/* Learning Path Section */
.learning-path {
  padding: 24px 0;
}

.section-title {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding: 0 8px;
  margin-top: -10px;
}

.lesson-card {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 30px rgba(0, 255, 153, 0.4),
              inset 0 0 40px rgba(0, 255, 153, 0.2),
              0 0 100px rgba(0, 255, 153, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  transform-origin: center;
  animation: cardPulse 3s infinite ease-in-out;
}

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

.lesson-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 153, 0.15), transparent 70%);
  transform: rotate(0deg);
  animation: rotateGradient 10s linear infinite;
}

.lesson-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 255, 153, 0.4),
              inset 0 0 30px rgba(0, 255, 153, 0.3);
  border-color: rgba(0, 255, 153, 0.8);
}

.lesson-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.lesson-card h3 {
  margin: 8px 0;
  color: var(--primary-color);
}

.lesson-progress, .lesson-tag {
  font-size: 14px;
  opacity: 0.8;
}

/* Daily Goal Section */
.daily-goal {
  padding: 24px 0;
}

.goal-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 15px var(--aura-color);
}

#goalInput {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  background: transparent;
  color: var(--text-color);
  margin-bottom: 16px;
}

.action-button {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  border: none;
  border-radius: 8px;
  color: var(--background-color);
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--aura-color);
}

/* Bottom Navigation */
/* Navigation Tooltips */
.nav-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 255, 153, 0.9);
  color: black;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-box:hover .nav-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 120%;
}

/* Progress Dashboard Styles */
.progress-dashboard {
  padding: 20px;
}

.glow-text {
  color: #00ff99;
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
  animation: glow 2s ease-in-out infinite;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: #00ff99;
  box-shadow: 0 10px 30px rgba(0, 255, 153, 0.2);
}

.stat-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 20px auto;
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.3s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.progress-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  color: #00ff99;
}

.achievements-section {
  margin-top: 40px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.achievement-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 153, 0.2);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-card.locked {
  opacity: 0.5;
}

.achievement-icon {
  font-size: 2em;
  display: block;
  margin-bottom: 10px;
}

.bottom-navigation {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  z-index: 1000;
  border-top: 1px solid rgba(0, 255, 153, 0.2);
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.2);
  height: 65px;
}

@keyframes navGlow {
  0%, 100% { box-shadow: 0 -15px 40px rgba(0, 255, 153, 0.15); }
  50% { box-shadow: 0 -15px 60px rgba(0, 255, 153, 0.25); }
}

.nav-box {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(0, 255, 153, 0.4);
  border-radius: 12px;
  padding: 10px 20px;
  min-width: 60px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.nav-box a {
  font-size: 24px;
  color: #00ff99;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-box a.active {
  opacity: 1;
}

.nav-box:hover {
  transform: translateY(-3px);
  border-color: #00ff99;
  box-shadow: 0 4px 12px rgba(0, 255, 153, 0.3);
}

.nav-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 255, 153, 0.9);
  color: black;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.nav-box:hover .nav-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 120%;
}

.nav-box:hover {
  transform: translateY(-8px) scale(1.1);
  border-color: rgba(0, 255, 153, 1);
  box-shadow: 0 10px 30px rgba(0, 255, 153, 0.4),
              inset 0 0 20px rgba(0, 255, 153, 0.3);
}

.bottom-navigation:hover {
  border-top-color: rgba(0, 255, 153, 0.8);
  box-shadow: 0 -10px 40px rgba(0, 255, 153, 0.2);
}

.nav-item {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-item.active {
  opacity: 1;
  color: var(--primary-color);
}

.nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.nav-item span {
  font-size: 12px;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--aura-color);
  }
  50% {
    box-shadow: 0 0 30px var(--aura-color);
  }
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  margin-top: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
  backdrop-filter: blur(10px);
}

.main-container {
  flex: 1;
  max-width: min(1100px, 95%);
  margin: 20px auto 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  box-sizing: border-box;
  display: grid;
  gap: clamp(1.5rem, 2vw, 2rem);
}

.top-priority-section {
  text-align: center;
  margin: 1rem auto;
  max-width: 400px;
}

#goalInput {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #00ff99;
  background: transparent;
  color: #00ff99;
  font-size: 16px;
  text-align: center;
}

#goalInput::placeholder {
  color: rgba(0, 255, 153, 0.5);
}

#priorityDisplayHome {
  margin-top: 10px;
  color: #00ff99;
  font-size: 14px;
}

.action-button {
  background-color: #00ff99;
  color: black;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00ff99;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.dashboard-item {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: #00ff99;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 255, 153, 0.1);
}

.dashboard-item:hover {
  transform: translateY(-10px);
  border-color: #00ff99;
  box-shadow: 0 15px 40px rgba(0, 255, 153, 0.2);
}

.dashboard-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.item-description {
  color: #ffffff;
  opacity: 0.8;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.quote-section {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  color: #00ff99;
  font-style: italic;
}

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

.dashboard-item {
  flex: 1;
  width: 50%;
  min-width: 120px;
  max-width: none;
  margin: 0;
  padding: 1.5rem 1rem;
}

@media (max-width: 480px) {
  .dashboard {
    padding: 0 1rem;
    gap: 1rem;
    margin-top: 2rem;
  }

  .dashboard-item {
    min-width: 0;
    padding: 1.5rem 1rem;
    margin: 0;
  }

  .logo {
    width: 80px;
    height: 80px;
    margin: 1rem auto;
  }

  #goalInput {
    width: 90%;
    margin: 0 auto;
  }

  .dashboard-item h2 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }

  .dashboard-item p {
    font-size: 0.9rem;
  }
}

.dashboard-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.dashboard-item {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 2rem;
  color: #00ff99;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 2px solid rgba(0, 255, 153, 0.3);
  transform-style: preserve-3d;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  max-width: 300px;
  margin: 1rem;
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.2),
              inset 0 0 20px rgba(0, 255, 153, 0.1);
  position: relative;
  overflow: hidden;
}

.dashboard-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 255, 153, 0.1),
    transparent
  );
  transition: 0.6s;
}

.dashboard-item:hover::before {
  left: 100%;
}

.dashboard-item:hover {
  transform: translateY(-8px) rotateX(4deg);
  box-shadow: 0 15px 35px rgba(0, 255, 153, 0.4),
              inset 0 0 25px rgba(0, 255, 153, 0.3);
  border-color: rgba(0, 255, 153, 0.8);
  background: rgba(0, 0, 0, 0.9);
}

.dashboard-item:active {
  transform: translateY(-2px) rotateX(2deg);
  transition: all 0.2s;
}

.dashboard-item:active {
  transform: scale(1.2);
  box-shadow: 0 15px 40px rgba(0, 255, 153, 0.4);
}

.dashboard-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.item-description {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

.quote-section {
  text-align: center;
  margin-top: 2rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 2px solid #00ff99;
  color: #00ff99;
}

.container {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  box-shadow: 0px 0px 10px 0px #00ff99;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.container:hover {
  transform: translateY(-10px);
  opacity: 0.9;
}

/* Logo styling */
.logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  animation: coolLogo 3s ease-in-out infinite;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

@keyframes coolLogo {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(0, 255, 153, 0.6),
                0 0 60px rgba(0, 255, 153, 0.4),
                0 0 90px rgba(0, 255, 153, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 255, 153, 0.8),
                0 0 80px rgba(0, 255, 153, 0.6),
                0 0 120px rgba(0, 255, 153, 0.4);
  }
}


/* Alien Feed Styling */
.alien-feed {
    max-width: 100%;
    margin: 10px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .alien-feed {
        max-width: 800px;
        padding: 0 15px;
    }
}

.category-filter {
    display: flex;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 255, 153, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--alien-primary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--alien-primary);
    color: black;
    box-shadow: 0 0 20px var(--alien-primary);
}

.alien-post {
    background: rgba(0, 0, 0, 0.8);
    border: var(--alien-border);
    border-radius: var(--alien-radius);
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--alien-glow);  transition: all 0.3s ease;
    position: relative;
    width: 100%;
}

@media (max-width: 480px) {
    .alien-post {
        margin-bottom: 10px;
        border-radius: 15px;
    }

    .post-header {
        padding: 10px;
    }

    .post-interactions {
        padding: 10px;
    }

    .interaction-group {
        gap: 10px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}

.alien-post:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 30px var(--alien-primary);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: var(--alien-border);
}

.post-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-badges {
    display: flex;
    gap: 10px;
}

.trending-badge {
    background: linear-gradient(45deg, #ff4d4d, #ff8533);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    animation: pulse 2s infinite;
}

.time-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alien-post:hover .image-overlay {
    opacity: 1;
}

.expand-btn {
    background: rgba(0, 255, 153, 0.3);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.expand-btn:hover {
    transform: scale(1.1);
}

.interaction-group {
    display: flex;
    gap: 15px;
}

.like-btn, .share-btn, .save-btn {
    background: none;
    border: none;
    color: var(--alien-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
}

.like-btn:hover, .share-btn:hover, .save-btn:hover {
    transform: scale(1.1);
}

.like-btn.liked {
    animation: likeEffect 0.5s ease;
}

.save-btn.saved {
    color: #ffd700;
}

.floating-emoji {
    position: absolute;
    animation: floatUp 1s ease-out forwards;
    pointer-events: none;
}

.floating-xp {
    position: fixed;
    right: 20px;
    top: 20px;
    background: var(--alien-primary);
    color: black;
    padding: 8px 16px;
    border-radius: 20px;
    animation: slideIn 0.3s ease, slideOut 0.3s ease 1.2s forwards;
}

.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 255, 153, 0.9);
    color: black;
    padding: 10px 20px;
    border-radius: 20px;
    animation: fadeInOut 3s ease;
}

.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@keyframes likeEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

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

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
}

.alien-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--alien-primary);
}

.post-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: var(--alien-border);
}

.alien-emoji {
    font-size: 1.5em;
    margin-right: 10px;
}

.post-author {
    color: var(--alien-primary);
    font-weight: bold;
    margin-right: auto;
}

.post-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
}

.post-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.post-interactions {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    border-top: var(--alien-border);
    color: var(--alien-primary);
}

.pulse-glow {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 153, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(0, 255, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 153, 0); }
}

.glow-border {
    border: 2px solid var(--alien-primary);
    box-shadow: var(--alien-glow);
    border-radius: var(--alien-radius);
    overflow: hidden;
}

.feed-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.alien-nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--alien-primary);
    box-shadow: 0 -5px 20px rgba(0, 255, 153, 0.2);
}

.header-container {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.8));
  position: relative;
}

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

/* Title styling */
.app-title,
.page-title {
  color: #00ff99;
  font-size: 24px;
  margin-top: 10px;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Button styling */
.animated-btn {
  background-color: #00ff99;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.animated-btn:hover {
  background-color: #00cc77;
  transform: scale(1.05);
}

/* Input field styling */
.input-field,
.select-field {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
}

.input-field::placeholder {
  color: #ccc;
}

.input-field:focus {
  outline: none;
  box-shadow: 0px 0px 5px #00ff99;
}

/* Existing styles... */

.welcome-section {
  color: #00ff99;
  margin: 20px;
  text-align: center;
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
  .dashboard-item {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .dashboard-item {
    width: 90%;
  }
}



/* content page styles*/

.content-section {
  margin: 20px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #00ff99;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ff99;
  transition: padding 0.3s ease; /* Smooth transition for padding changes */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-section {
      margin: 15px; /* Slightly smaller margin on medium screens */
      padding: 12px; /* Reduced padding for smaller screens */
  }
}

@media (max-width: 480px) {
  .content-section {
      margin: 10px; /* Even smaller margin on small screens */
      padding: 10px; /* Further reduced padding */
      box-shadow: 0 0 8px #00ff99; /* Slightly less shadow for smaller screens */
  }

/* Chatbot Page Specific Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 153, 0.3);
}

.feature-card i {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-card span {
    color: var(--text-color);
    font-size: 1.1em;
}

.chatbot-wrapper {
    border: 2px solid var(--primary-color);
    border-radius: var(--alien-radius);
    overflow: hidden;
    box-shadow: var(--alien-glow);
    transition: box-shadow 0.3s ease;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
}

.chatbot-wrapper:hover {
    box-shadow: 0 0 40px var(--primary-color);
}

.subtitle {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.chat-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-container {
        padding: 15px;
    }
}

}


.content-item {
  margin-bottom: 20px;
}



/* Insights Section Styles */
.insights-section {
  background-color: rgba(0, 0, 0, 0.8);
  margin: 20px auto;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ff99;
  color: #00ff99;
  text-align: center;
  max-width: 800px;
}

.insights-section h1 {
  margin-bottom: 30px;
}

/* Category Styles */
.insight-category {
  margin-bottom: 30px;
  text-align: left;
}

.insight-category h2 {
  color: #00ff99;
  margin-bottom: 15px;
}

/* Item Styles */
.insight-item {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #ccc;
}

.insight-item h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
  .insights-section {
    width: 90%;
  }
}

body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
}

#gameArea {
  margin: auto;
  padding: 20px;
}

iframe {
  border: 3px solid #00ff99;
  /* MoneyBot themed border */
  border-radius: 10px;
}

.games-link {
  display: inline-block;
  background-color: black;
  color: #00ff99;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.games-link:hover {
  background-color: black;
  border-color: #00ff99;
}

  /* Bottom Navigation */
  .nav-box {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 15px;
  padding: 12px 24px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 255, 153, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 255, 153, 0.2), transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.nav-box:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.nav-box a {
  color: #00ff99;
  text-decoration: none;
  font-weight: bold;
}

.welcome-section {
  width: 100%;
  background-color: black;
  /* Matches the body's background */
  color: #00ff99;
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 255, 153, 0.5);
  text-align: center;
}

quote-of-the-day {
  font-size: 20px;
  font-weight: bold;
  animation: ticker 10s linear infinite;
}




/* Ticker animation */
@keyframes ticker {
  0% {
    transform: translateX(100%);
    text-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99, 0 0 30px #00ff99, 0 0 40px #00ff99, 0 0 50px #00ff99, 0 0 60px #00ff99, 0 0 70px #00ff99;
  }

  100% {
    transform: translateX(-100%);
    text-shadow: none;
  }
}

/* Styling for the ticker container */
.quote-ticker {
  position: -webkit-sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  /* Adjust height as needed */
  background-color: #000;
  border-color: #00ff99;
  color: #00ff99;
  overflow: hidden;
}

/* Styling for the ticker text */
.quote-ticker p {
  display: inline-block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  /* Adjust duration and timing function as needed */
}
  /* Targets any <a> tags within .dashboard-item specifically */
  .dashboard-item a {
    text-decoration: none; /* This removes the underline */
    color: inherit; /* Optionally ensures text color matches the surrounding text */
  }

  /* Alternatively, if you want to ensure this applies to .dashboard-item regardless of tag */
  .dashboard-item, .dashboard-item:hover, .dashboard-item:visited {
    text-decoration: none; /* Removes underline */
    color: #00ff99; /* Adjust color as needed */
  }
/* Additional CSS for Daily $ Tips and overall layout */
.daily-tip h2 {
    color: #00ff99; /* Adjust to fit your color scheme */
    margin: 10px 0; /* Spacing around the Daily $ Tips title */
}

.quote-ticker {
    color: #fff; /* Ensures ticker text is readable */
    font-style: italic; /* Optional style for the quote */
    margin: 20px 0;
}


.user-input-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Additional styles for iframe */
.user-input-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slide {
  min-width: 100%;
  transition: transform 0.5s ease-in-out;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.meme-item {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.meme-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meme-image:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.meme-image:active {
  transform: scale(1.200);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.meme-item.loaded {
  opacity: 1; /* Fade in items when loaded */}

.loading-indicator {
    text-align: center;
    padding: 10px;
    font-size: 1.2em;
    display: none; /* Initially hide loading indicator */
}
.meme-image {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}
/* Video Container Styling */
.video-container {
    position: relative;
    width: 100%; /* Full width */
    max-width: 100%; /* Prevents it from growing too large */
    overflow: hidden; /* Ensures content does not overflow */
    margin: 0 auto; /* Centering */
}

/* Video Styling */
#promo-video {
    width: 100%; /* Full width of the container */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Prevents the video from growing beyond its container */
    max-height: 80vh; /* Adjust to fit within viewport height, you can modify this */
    object-fit: cover; /* Ensures video covers the container while maintaining aspect ratio */
}

/* Responsive Design */
@media (max-width: 768px) {
    promo-video {
        max-height: 60vh; /* Adjust for smaller screens */
    }
}

@media (max-width: 480px) {
    promo-video {
        max-height: 50vh; /* Further adjust for very small screens */
    }
}
/* Streak Container Styles */
.streak {
  background-color: rgba(0, 0, 0, 0.4);
  color: rgba(0, 255, 153, 0.8);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 1.2em;
  font-weight: 500;
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 255, 153, 0.2);
  transition: opacity 0.3s ease;
}

.streak:hover {
  opacity: 1;
  color: #00ff99;
}

.goal-setting {
  padding: 1rem;
  position: relative;
}

.goal-compact {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.goal-toggle-button {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 12px;
  color: #00ff99;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.goal-toggle-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
  border-color: rgba(0, 255, 153, 0.8);
}

.goal-expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 400px;
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

.goal-expanded.hidden {
  display: none;
}

.goal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.close-button {
  background: none;
  border: none;
  color: #00ff99;
  font-size: 24px;
  cursor: pointer;
  padding: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1010;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.close-button:active {
  transform: scale(0.95);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.goal-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 255, 153, 0.3);
  border: 2px solid rgba(0, 255, 153, 0.3);
  backdrop-filter: blur(15px);
  animation: formFloat 8s infinite ease-in-out;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 20, 15, 0.98));
  border-radius: 30px;
  box-shadow: 0 0 60px rgba(0, 255, 153, 0.3),
              inset 0 0 80px rgba(0, 255, 153, 0.1),
              0 0 180px rgba(0, 255, 153, 0.15);
  border: 2px solid rgba(0, 255, 153, 0.3);
  backdrop-filter: blur(25px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  animation: formFloat 8s infinite ease-in-out;
}

.goal-form::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 255, 153, 0.1), transparent 70%);
  animation: rotateGlow 15s linear infinite;
}

.goal-form:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 153, 0.6);
  box-shadow: 0 0 80px rgba(0, 255, 153, 0.4),
              inset 0 0 100px rgba(0, 255, 153, 0.15),
              0 0 200px rgba(0, 255, 153, 0.2);
}

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

.goal-toggle-button {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 20, 15, 0.9));
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 20px;
  padding: 1.2rem;
  color: #00ff99;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 255, 153, 0.15);
}

.goal-toggle-button:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 153, 0.8);
  box-shadow: 0 12px 40px rgba(0, 255, 153, 0.25);
  background: linear-gradient(135deg, rgba(0, 20, 15, 0.9), rgba(0, 0, 0, 0.8));
}

.goal-input-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.goal-input {
  width: 100%;
  padding: 15px;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 12px;
  color: #00ff99;
  font-size: 16px;
  transition: all 0.3s ease;
}

.goal-input:focus {
  border-color: #00ff99;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 153, 0.2);
  outline: none;
}

.goal-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  border: none;
  border-radius: 12px;
  color: black;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.goal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 153, 0.3);
}

.goal-input:focus {
  border-color: #00ff99;
  box-shadow: 0 0 15px rgba(0, 255, 153, 0.3);
  transform: translateY(-2px);
}

.goal-input::placeholder {
  color: rgba(0, 255, 153, 0.5);
}

.date-group {
  position: relative;
}

.deadline-text {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0, 255, 153, 0.8);
  font-size: 0.9rem;
}

.goal-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.progress-ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.progress-ring-circle {
  fill: none;
  stroke: #00ff99;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
  position: absolute;
  font-size: 1.2rem;
  color: #00ff99;
  font-weight: 500;
}

.goal-button {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.goal-button.primary-button {
  background: linear-gradient(135deg, #00ff99, #00ccff);
  color: black;
}

.goal-button.secondary-button {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #00ff99;
  color: #00ff99;
}

.goal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 153, 0.3);
}

.goal-button:active {
  transform: translateY(0);
}

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

.goal-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 255, 153, 0.1),
    transparent
  );
  transition: 0.6s;
}

.goal-form:hover::before {
  left: 100%;
}

.challenge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.streak-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.streak-flame {
  animation: flame-pulse 1.5s infinite;
}

@keyframes flame-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.motivation-quote {
  font-style: italic;
  color: var(--primary-color);
  text-align: center;
  margin: 1rem 0;
  font-size: 1.1rem;
  opacity: 0.8;
}

.today-mission {
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 255, 153, 0.2);
}

.mission-goal {
  color: #00ff99;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.mission-target {
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0.8;
}

.goal-input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.goal-input-group input {
  height: 45px;
  font-size: clamp(14px, 3vw, 16px);
  padding: 12px 15px;
  border-radius: 12px;
  -webkit-appearance: none;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(0, 255, 153, 0.3);
  color: #00ff99;
  width: 100%;
  transition: all 0.3s ease;
}

.goal-input-group input:focus {
  border-color: #00ff99;
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 153, 0.2);
}

.goal-input-group input:focus {
  border-color: #00ff99;
  transform: scale(1.02);
  outline: none;
}

.goal-input-group input[type="date"] {
  min-height: 50px;
  padding: 0 15px;
  color-scheme: dark;
}

.goal-button {
  min-height: 50px;
  font-size: clamp(16px, 3vw, 18px);
  margin: 8px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  box-shadow: 0 4px 15px rgba(0, 255, 153, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  padding: 0 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.goal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 153, 0.4);
  background: linear-gradient(135deg, #00ff99, #00e6ff);
}

.goal-button:active {
  transform: translateY(1px);
}

.goal-button:active {
  transform: scale(0.98);
}

.goal-checkbox {
  width: 30px;
  height: 30px;
}

@media (max-width: 480px) {
  .goal-form {
    padding: 1.5rem;
    margin: 10px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .goal-input-group input::placeholder {
    font-size: 15px;
  }
}

.primary-button {
  background: linear-gradient(135deg, #00ff99 0%, #00cc99 100%) !important;
}

.secondary-button {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
  border: 1px solid #00ff99 !important;
}

.progress-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.8rem;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.goal-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(0, 255, 153, 0.3);
}

.goal-form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #00ff99;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.goal-form input:focus {
  border-color: #00ff99;
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.2);
  transform: scale(1.02);
  outline: none;
}

.goal-form input::placeholder {
  color: rgba(0, 255, 153, 0.5);
}

.goal-display {
  font-size: 1.5em;
  color: #00ff99;
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  border: 2px solid rgba(0, 255, 153, 0.3);
  animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 10px rgba(0, 255, 153, 0.2); }
  50% { box-shadow: 0 0 30px rgba(0, 255, 153, 0.4); }
  100% { box-shadow: 0 0 10px rgba(0, 255, 153, 0.2); }
}

.goal-progress {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 15px auto;
}

.progress-ring {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.progress-ring-circle {
  fill: none;
  stroke: #00ff99;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s ease;
}

.progress-ring-background {
  fill: none;
  stroke: rgba(0, 255, 153, 0.2);
  stroke-width: 8;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  color: #00ff99;
}

.goal-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00ff99, #00ccff);
  width: 0%;
transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

.goal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.goal-button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.goal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 153, 0.3);
}

.goal-button:active {
  transform: translateY(0);
}
  width: auto; /* Set a fixed width */
  box-shadow: 0px 0px 10px 0px #00ff99; /* Green glow effect */
  text-align: center; /* Center the text */
  position: absolute; /* Absolute positioning */
  left: 20px; /* Distance from the left edge */
  top: 20px; /* Distance from the top edge */
  transform: translateY(0); /* Initial position */
  opacity: 1; /* Full opacity */
  transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transitions */
  z-index: 10; /* Ensure it's above other elements */
}

/* Hover Effect */
.streak:hover {
  transform: translateY(-10px); /* Slightly lift the container */
  opacity: 0.9; /* Slightly fade */
}

/* Media Query for Tablets and Smaller Screens */
@media screen and (max-width: 768px) {
  .streak {
    width: auto; /* Adjust width for tablets */
    font-size: 14px; /* Adjust font size */
    padding: 15px; /* Adjust padding */
    left: 15px; /* Adjust position */
    top: 15px; /* Adjust position */
  }
}


/* Media Query for Mobile Phones */
@media screen and (max-width: 480px) {
  .streak {
    width: auto; /* Adjust width for mobile phones */
    font-size: 12px; /* Further adjust font size */
    padding: 10px; /* Adjust padding */
    left: 10px; /* Adjust position */
    top: 10px; /* Adjust position */
  }
}
/* Priorities Page Styling */
.priorities-container {
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
  border-radius: 12px; /* Rounded corners */
  padding: 20px; /* Padding inside container */
  max-width: 600px; /* Maximum width */
  margin: 20px auto; /* Centering container */
  box-shadow: 0 0 15px #00ff99; /* Green glow effect */
  color: #00ff99; /* Green text color */
  text-align: center; /* Center text */
}

.priority-header {
  color: #00ff99; /* Green color for header */
  font-size: 28px; /* Larger font size for header */
  margin-bottom: 20px; /* Space below header */
  animation: heartbeat 1.5s infinite; /* Pulse animation */
}

.priority-item {
  background-color: rgba(0, 0, 0, 0.6); /* Slightly transparent background */
  border-radius: 8px; /* Rounded corners */
  padding: 15px; /* Padding inside item */
  margin-bottom: 15px; /* Space between items */
  box-shadow: 0 0 10px #00ff99; /* Green shadow effect */
  color: #fff; /* White text color */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.priority-item:hover {
  transform: translateY(-5px); /* Lift effect */
  box-shadow: 0 0 15px #00ff99; /* Enhanced shadow on hover */
}

.priority-item h3 {
  color: #00ff99; /* Green color for headings */
  margin: 0; /* Remove margin */
}

.priority-item p {
  margin: 10px 0; /* Margin around text */
}

/* Priority Form Styling */
.priority-form {
  background-color: rgba(0, 0, 0, 0.8); /* Consistent background */
  border-radius: 12px; /* Rounded corners */
  padding: 20px; /* Padding inside form */
  box-shadow: 0 0 15px #00ff99; /* Green glow effect */
  margin-top: 20px; /* Space above form */
}

.priority-form h2 {
  color: #00ff99; /* Green color for form heading */
  margin-top: 0; /* Remove top margin */
}

.priority-form label {
  display: block; /* Block display for labels */
  margin: 10px 0 5px; /* Spacing around labels */
  color: #00ff99; /* Green color for labels */
}

.priority-form input, .priority-form button {
  display: block; /* Block display for inputs and buttons */
  margin: 5px 0 10px; /* Spacing around elements */
  padding: 10px; /* Padding inside elements */
  width: 100%; /* Full width */
  border-radius: 6px; /* Rounded corners */
  border: 1px solid #ddd; /* Light border */
}

.priority-form input:focus, .priority-form button:focus {
  outline: none; /* Remove outline */
  border-color: #00ff99; /* Green border on focus */
}

.priority-form button {
  background-color: #00ff99; /* Green button background */
  color: #fff; /* White text color */
  cursor: pointer; /* Pointer cursor */
  border: none; /* Remove border */
  font-size: 16px; /* Font size for button text */
}

.priority-form button:hover {
  background-color: #00cc80; /* Darker green on hover */
}
/* Container for priorities */
.priorities-container {
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
  border-radius: 12px; /* Rounded corners */
  padding: 20px; /* Space inside the container */
  max-width: 600px; /* Maximum width of the container */
  margin: 20px auto; /* Center the container */
  box-shadow: 0 0 15px #00ff99; /* Glowing effect */
  color: #00ff99; /* Text color */
  text-align: center; /* Center text alignment */
}

/* Header for priorities */
.priority-header {
  color: #00ff99; /* Text color */
  font-size: 28px; /* Larger font size for visibility */
  margin-bottom: 20px; /* Space below the header */
  animation: heartbeat 1.5s infinite; /* Pulse animation */
}

/* Priority items */
.priority-item {
  background-color: rgba(0, 0, 0, 0.6); /* Slightly transparent background */
  border-radius: 8px; /* Rounded corners */
  padding: 15px; /* Space inside each item */
  margin-bottom: 15px; /* Space between items */
  box-shadow: 0 0 10px #00ff99; /* Glowing effect */
  color: #fff; /* Text color */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

/* Hover effect for priority items */
.priority-item:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 0 15px #00ff99; /* Increased glow on hover */
}

/* Animation for priority header */
@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive design adjustments */
@media screen and (max-width: 768px) {
  .priorities-container {
    padding: 15px; /* Adjust padding */
  }

  .priority-header {
    font-size: 24px; /* Slightly smaller font size */
  }

  .priority-item {
    padding: 12px; /* Adjust padding */
  }
}

@media screen and (max-width: 480px) {
  .priorities-container {
    padding: 10px; /* Further adjust padding */
  }

  .priority-header {
    font-size: 20px; /* Smaller font size */
  }

  .priority-item {
    padding: 10px; /* Further adjust padding */
  }
}
/* Styling for the priority display */
#priorityDisplayHome {
  background-color: rgba(0, 0, 0, 0.4);
  color: #00ff99;
  border: 1px solid rgba(0, 255, 153, 0.3);
  border-radius: 8px;
  padding: 15px;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 255, 153, 0.2);
  transition: all 0.3s ease;
  opacity: 0.9;
}



  .goal-setting-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #00ff99;
    background-color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
  }

  .goal-setting-button:hover {
      border-radius: 10px;
      box-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99 inset;
      /* Inset and outer glow */
      padding: 20px;
      margin: 10px;
      width: 30%;
      min-width: 250px;
      color: #00ff99;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      /* Smooth transitions */
      position: relative;
      /* For pseudo-elements and hover effects */
    }


/* Animated Checkbox Container */
.checkbox-container {
    position: relative;
    display: inline-block;
    margin: 20px auto;
}

.goal-checkbox {
    appearance: none;
    width: 40px;
    height: 40px;
    border: 2px solid #00ff99;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s ease-in-out;
}

.goal-checkbox:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00ff99;
}

.goal-checkbox:checked {
    background: #00ff99;
    position: relative;
    animation: pop 0.3s ease;
}

.goal-checkbox:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Animation for Confetti */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #00ff99;
    animation: confetti 1s ease forwards;
}

@keyframes confetti {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100px) rotate(360deg);
    }
}

/* Celebration Message */
.goal-complete-message {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.goal-complete-message.show {
    opacity: 1;
    transform: scale(1);
}

/* Bottom Navigation Improvements */
.bottom-navigation {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-top: 2px solid rgba(0, 255, 153, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    margin-top: auto;
}

main {
    padding-bottom: 90px;
    min-height: calc(100vh - 160px);
}

.nav-box {
    padding: 10px 20px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 255, 153, 0.4);
    transition: all 0.3s ease;
    min-width: 60px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
}

.nav-box a {
    font-size: 24px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-box:hover {
    transform: translateY(-3px);
    border-color: #00ff99;
    box-shadow: 0 4px 12px rgba(0, 255, 153, 0.3);
}

.nav-box a {
    font-size: 20px;
    color: #00ff99;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-box a.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .bottom-navigation {
        padding: 10px 0;
    }

    .nav-box {
        padding: 6px 12px;
    }

    .nav-box a {
        font-size: 18px;
    }
}

.priorities-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #000000, #001a0d);
}

.priorities-container {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  box-shadow: 0 0 15px #00ff99;
  color: #00ff99;
}

.priority-header {
  font-size: 36px;
  margin-bottom: 20px;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px #00ff99; }
  50% { text-shadow: 0 0 20px #00ff99; }
}

.priority-item {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 0 10px #00ff99;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.priority-item h3 {
  font-size: 20px;
  margin: 0;
  flex: 1;
}

.priority-item .priority-actions {
  display: flex;
  gap: 10px;
}

.priority-actions button {
  background-color: transparent;
  color: #00ff99;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.priority-actions button:hover {
  background-color: rgba(0, 255, 153, 0.2);
}

.priority-form {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px #00ff99;
  margin-top: 20px;
}

.priority-form h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.priority-form label {
  display: block;
  margin-bottom: 5px;
  color: #00ff99;
}

.priority-form input,
.priority-form button {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  width: 100%;
}

.priority-form input:focus,
.priority-form button:focus {
  outline: none;
  border-color: #00ff99;
}

.priority-form button {
  background-color: #00ff99;
  color: white;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.priority-form button:hover {
  background-color: #00cc80;
}

.stats-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.stats-container:hover {
  transform: translateY(-3px);
}

.stats-wrapper {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(0, 255, 153, 0.3);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0, 255, 153, 0.15);
  transition: all 0.3s ease;
}

.stats-wrapper:hover {
  border-color: rgba(0, 255, 153, 0.8);
  box-shadow: 0 12px 40px rgba(0, 255, 153, 0.25);
}

.xp-bar {
  height: 30px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 153, 0.2);
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff99, #00ccff);
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
  position: relative;
}

.xp-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
  animation: shimmer 1.5s infinite;
}

.xp-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.streak-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: rgba(0, 255, 153, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(0, 255, 153, 0.2);
  color: #00ff99;
  font-weight: bold;
  transition: all 0.3s ease;
}

.streak-counter:hover {
  border-color: rgba(0, 255, 153, 0.6);
  background: rgba(0, 255, 153, 0.15);
  transform: scale(1.02);
}

.streak-flame {
  font-size: 1.5em;
  animation: flameFlicker 2s infinite;
}

.streak-count {
  font-size: 1.2em;
  margin: 0 10px;
}

.streak-bonus {
  font-size: 0.9em;
  color: #00ccff;
  opacity: 0.9;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes flameFlicker {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.streak-flame {
  font-size: 1.5em;
  animation: flameFlicker 1.5s infinite;
}

.streak-bonus {
  font-size: 0.8em;
  color: #00ccff;
  margin-left: auto;
}

.post-interactions {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-top: 1px solid rgba(0, 255, 153, 0.2);
}

.interaction-group {
  display: flex;
  gap: 15px;
}

.like-btn, .favorite-btn {
  background: none;
  border: none;
  color: #00ff99;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s ease;
}

.like-btn:hover, .favorite-btn:hover {
  transform: scale(1.1);
}

.favorite-btn.active {
  color: #ffdd00;
}

@keyframes flameFlicker {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}
  font-weight: 500;
  position: fixed;
  z-index: 1000;
  width: auto;
  box-shadow: 0px 0px 10px 0px rgba(0, 255, 153, 0.3);
  text-align: center;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 255, 153, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

#streakDisplay {
  position: fixed;
  left: 16px;
  top: 16px;
}

.xp-streak {
  position: fixed;
  right: 16px;
  top: 16px;
  background-color: rgba(0,0,0,0.4);
  color: rgba(0, 255, 153, 0.8);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 1.2em;
  font-weight: 500;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 255, 153, 0.2);
  box-shadow: 0px 0px 10px 0px rgba(0, 255, 153, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.xp-streak:hover {
  transform: translateY(-2px);
  color: #00ff99;
  box-shadow: 0px 0px 15px 0px rgba(0, 255, 153, 0.4);
}

.streak:hover {
  transform: translateY(-10px);
  opacity: 0.9;
}

@media screen and (max-width: 768px) {
  .streak {
    font-size: 14px;
    padding: 15px;
    left: 15px;
    top: 15px;
  }
}

@media screen and (max-width: 480px) {
  .streak {
    font-size: 12px;
    padding: 10px;
    left: 10px;
    top: 10px;
  }
}
/* XP and Streak Styles */
.stats-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
    max-width: 300px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 153, 0.3);
}

.stats-container:hover {
    transform: translateY(-3px);
}

.stats-wrapper {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 255, 153, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 255, 153, 0.15);
    transition: all 0.3s ease;
}

.stats-wrapper:hover {
    border-color: rgba(0, 255, 153, 0.8);
    box-shadow: 0 12px 40px rgba(0, 255, 153, 0.25);
}

.xp-bar {
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 153, 0.2);
}

.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff99, #00ccff);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
    position: relative;
}

.xp-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 1.5s infinite;
}

.xp-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.streak-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(0, 255, 153, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 153, 0.2);
    color: #00ff99;
    font-weight: bold;
    transition: all 0.3s ease;
}

.streak-counter:hover {
    border-color: rgba(0, 255, 153, 0.6);
    background: rgba(0, 255, 153, 0.15);
    transform: scale(1.02);
}

.streak-flame {
    font-size: 1.5em;
    animation: flameFlicker 2s infinite;
}

.streak-count {
    font-size: 1.2em;
    margin: 0 10px;
}

.streak-bonus {
    font-size: 0.9em;
    color: #00ccff;
    opacity: 0.9;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes flameFlicker {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.floating-xp {
    position: fixed;
    background: #00ff99;
    color: black;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    pointer-events: none;
    animation: floatUp 1.5s ease-out forwards;
    z-index: 1001;
}

@keyframes floatUp {
    0% { transform: translate(-50%, 0); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translate(-50%, -100px); opacity: 0; }
}

/* Smart Goal Setting Styles */
.goal-setting-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 30px;
}

.goal-presets {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.preset-goal {
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #00ff99;
    border: 2px solid rgba(0, 255, 153, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.preset-goal:hover {
    transform: translateY(-5px);
    border-color: #00ff99;
    box-shadow: 0 10px 20px rgba(0, 255, 153, 0.2);
}

.skill-tree {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
    position: relative;
}

.skill-branch {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.skill-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 153, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-branch:hover::before {
    opacity: 1;
}

.skill-progress {
    margin: 15px 0;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff99, #00ccff);
    transition: width 0.5s ease;
    position: relative;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.milestone {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 153, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.milestone.completed {
    border-color: #00ff99;
    background: rgba(0, 255, 153, 0.1);
}

.milestone-number {
    width: 40px;
    height: 40px;
    background: #00ff99;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.milestone-content {
    flex: 1;
}

.milestone-complete {
    padding: 8px 16px;
    background: none;
    border: 2px solid #00ff99;
    color: #00ff99;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.milestone-complete:hover {
    background: #00ff99;
    color: black;
}

.completed-badge {
    font-size: 24px;
    color: #00ff99;
}

.skill-branch {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 153, 0.3);
}

.skill-progress {
    margin: 15px 0;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff99, #00ccff);
    width: 0%;
    transition: width 0.5s ease;
}

.subskills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.subskill {
    padding: 5px 10px;
    background: rgba(0, 255, 153, 0.1);
    border-radius: 15px;
    font-size: 0.9em;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    transition: all 0.3s ease;
}

.milestone-number {
    width: 30px;
    height: 30px;
    background: #00ff99;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.milestone.completed {
    opacity: 0.7;
    background: rgba(0, 255, 153, 0.1);
}

.milestone-complete {
    padding: 5px 10px;
    background: none;
    border: 2px solid #00ff99;
    color: #00ff99;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.milestone-complete:hover {
    background: #00ff99;
    color: black;
}

.goal-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-section {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(0, 255, 153, 0.3);
    position: relative;
}

.timeline-section h2 {
    color: #00ff99;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.quarters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.quarter {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 153, 0.2);
}

.quarter h3 {
    color: #00ff99;
    margin-bottom: 10px;
    text-align: center;
}

.success-message {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(0, 255, 153, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
