@media (max-width: 768px) 
{
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .header {
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .header .theme-toggle {
        order: 2;
        margin-right: 1rem;
    }
    
    .mobile-nav-toggle {
        order: 1;
        margin-left: auto;
        margin-right: 1rem;
    }
}


/* Main Content */
main {
    flex: 1;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 15vh;
width: 100%;
max-width: 100%;
padding: 120px 0px 0px 0px;
text-align: center;
}

.hero-title {
font-size: 3.5rem;
font-weight: 600;
color: #2d3748;
margin-bottom: 20px;
line-height: 1.2;
text-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
font-family: 'Poppins', sans-serif;
}

body.dark .hero-title {
color: #e2e8f0;
}

.tagline {
font-size: 1.3rem;
color: #4a5568;
margin: 0;
font-weight: 400;
opacity: 0.8;
}

body.dark .tagline {
color: #a0aec0;
}

/* Main breathing container */
.breathing-container {
max-width: 600px;
margin: 80px auto;
padding: 0 20px;
text-align: center;
}

/* Replace the .exercise-name styles with these */
.exercise-instructions {
margin-bottom: 40px;
text-align: center;
}

.instruction-text {
font-size: 1.2rem;
font-weight: 400;
color: #4a5568;
margin: 0 0 12px 0;
font-family: 'Inter', sans-serif;
opacity: 0.8;
}

.technique-info {
font-size: 0.95rem;
font-weight: 500;
color: #4299e1;
margin: 0;
font-family: 'Poppins', sans-serif;
letter-spacing: 0.3px;
opacity: 0.9;
}

body.dark .instruction-text {
color: #a0aec0;
}

body.dark .technique-info {
color: #63b3ed;
}

/* Mobile adjustments */
@media (max-width: 768px) {
.instruction-text {
font-size: 1.1rem;
}

.technique-info {
font-size: 0.9rem;
}
}

@media (max-width: 480px) {
.instruction-text {
font-size: 1rem;
}

.technique-info {
font-size: 0.85rem;
}
}

.breathing-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main aura ball - cartoony and matte */
.aura {
width: 180px;
height: 180px;
border-radius: 50%;
background: #4299e1;
position: relative;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
box-shadow: 
  0 0 0 20px rgba(66, 153, 225, 0.1),
  0 0 0 40px rgba(66, 153, 225, 0.05),
  0 0 60px rgba(66, 153, 225, 0.3);
animation: breathingPulse 4s ease-in-out infinite;
}

body.dark .aura {
background: #63b3ed;
box-shadow: 
  0 0 0 20px rgba(99, 179, 237, 0.15),
  0 0 0 40px rgba(99, 179, 237, 0.08),
  0 0 60px rgba(99, 179, 237, 0.4);
}

.aura:hover {
transform: scale(1.1);
box-shadow: 
  0 0 0 25px rgba(66, 153, 225, 0.15),
  0 0 0 50px rgba(66, 153, 225, 0.08),
  0 0 80px rgba(66, 153, 225, 0.4);
}

body.dark .aura:hover {
box-shadow: 
  0 0 0 25px rgba(99, 179, 237, 0.2),
  0 0 0 50px rgba(99, 179, 237, 0.1),
  0 0 80px rgba(99, 179, 237, 0.5);
}

/* Inner circle for extra dimension */
.aura::before {
content: '';
position: absolute;
top: 20px;
left: 20px;
right: 20px;
bottom: 20px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.2);
transition: all 0.4s ease;
}

body.dark .aura::before {
background: rgba(255, 255, 255, 0.1);
}

/* Floating particles around the ball */
.particle {
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
background: #4299e1;
opacity: 0.6;
animation: float 6s ease-in-out infinite;
}

body.dark .particle {
background: #63b3ed;
}

.particle:nth-child(1) {
top: 20%;
left: 10%;
animation-delay: 0s;
animation-duration: 4s;
}

.particle:nth-child(2) {
top: 30%;
right: 15%;
animation-delay: 1s;
animation-duration: 5s;
}

.particle:nth-child(3) {
bottom: 25%;
left: 20%;
animation-delay: 2s;
animation-duration: 6s;
}

.particle:nth-child(4) {
bottom: 30%;
right: 10%;
animation-delay: 3s;
animation-duration: 4.5s;
}

/* Simple instruction text */
.breathing-instruction {
font-size: 1.1rem;
color: #4a5568;
font-weight: 400;
opacity: 0.8;
margin-bottom: 60px;
font-family: 'Inter', sans-serif;
}

body.dark .breathing-instruction {
color: #a0aec0;
}

/* Minimal reset button */
.reset-section {
margin-top: 100px;
}

.reset-btn {
background: none;
border: 2px solid #e2e8f0;
color: #4a5568;
padding: 12px 30px;
border-radius: 25px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'Inter', sans-serif;
font-size: 0.9rem;
opacity: 0.7;
}

.reset-btn:hover {
border-color: #4299e1;
color: #4299e1;
opacity: 1;
transform: translateY(-2px);
}

body.dark .reset-btn {
border-color: #4a5568;
color: #a0aec0;
}

body.dark .reset-btn:hover {
border-color: #63b3ed;
color: #63b3ed;
}

/* Aura text styling */
.aura-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: 'Poppins', sans-serif;
font-size: 1.4rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.9);
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
z-index: 2;
letter-spacing: 0.5px;
transition: all 0.4s ease;
pointer-events: none;
}

body.dark .aura-text {
color: rgba(255, 255, 255, 0.95);
text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* Text animation with the breathing */
.aura:hover .aura-text {
transform: translate(-50%, -50%) scale(1.05);
color: rgba(255, 255, 255, 1);
}

/* Make text pulse with the breathing animation */
@keyframes textPulse {
0%, 100% { 
transform: translate(-50%, -50%) scale(1);
opacity: 0.9;
}
50% { 
transform: translate(-50%, -50%) scale(1.05);
opacity: 1;
}
}

.aura-text {
animation: textPulse 4s ease-in-out infinite;
}

/* Animation keyframes */
@keyframes breathingPulse {
0%, 100% { 
  transform: scale(1);
  box-shadow: 
      0 0 0 20px rgba(66, 153, 225, 0.1),
      0 0 0 40px rgba(66, 153, 225, 0.05),
      0 0 60px rgba(66, 153, 225, 0.3);
}
50% { 
  transform: scale(1.15);
  box-shadow: 
      0 0 0 30px rgba(66, 153, 225, 0.15),
      0 0 0 60px rgba(66, 153, 225, 0.08),
      0 0 100px rgba(66, 153, 225, 0.4);
}
}

@keyframes float {
0%, 100% {
  transform: translateY(0px) rotate(0deg);
  opacity: 0.6;
}
33% {
  transform: translateY(-20px) rotate(120deg);
  opacity: 1;
}
66% {
  transform: translateY(-10px) rotate(240deg);
  opacity: 0.8;
}
}

/* Mobile responsiveness */
@media (max-width: 768px) {

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.tagline {
  font-size: 1.1rem;
}

.breathing-container {
    margin: 60px auto;
    padding: 0 15px;
    max-width: 100%; /* Added */
}

.exercise-name {
  font-size: 1.6rem;
  margin-bottom: 40px;
}

.breathing-visual {
    width: 250px;
    height: 250px;
    margin-bottom: 30px;
}

.aura {
  width: 150px;
  height: 150px;
}

.breathing-instruction {
  font-size: 1rem;
  margin-bottom: 40px;
}

.reset-section {
  margin-top: 60px;
}

.aura-text
{
  font-size:1rem;
}
}

@media (max-width: 480px) {
.hero-title {
  font-size: 2rem;
}

.breathing-visual {
  width: 200px;
  height: 200px;
}

.aura {
  width: 120px;
  height: 120px;
}

.exercise-name {
  font-size: 1.4rem;
}

.particle {
  width: 6px;
  height: 6px;
}

.aura-text
{
  font-size:1rem;
}
}

/* Dark theme adjustments for animations */
body.dark .aura {
animation: breathingPulseDark 4s ease-in-out infinite;
}

@keyframes breathingPulseDark {
0%, 100% { 
  transform: scale(1);
  box-shadow: 
      0 0 0 20px rgba(99, 179, 237, 0.15),
      0 0 0 40px rgba(99, 179, 237, 0.08),
      0 0 60px rgba(99, 179, 237, 0.4);
}
50% { 
  transform: scale(1.15);
  box-shadow: 
      0 0 0 30px rgba(99, 179, 237, 0.2),
      0 0 0 60px rgba(99, 179, 237, 0.12),
      0 0 100px rgba(99, 179, 237, 0.5);
}
}