#grounding-container {
    all: initial;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(to bottom, #e0f7fa, #fce4ec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    animation: fadeIn 1s ease-in;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .grounding-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: floatUp 1s ease-out;
  }
  
  @keyframes floatUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  #grounding-step {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #4e4e4e;
    transition: opacity 1s ease;
  }
  
  .affirmation {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeAffirmation 2s forwards;
  }
  
  @keyframes fadeAffirmation {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  #breath-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(156, 136, 255, 0.3);
    margin: 1rem auto;
    animation: breathing 6s infinite;
  }
  
  @keyframes breathing {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
  }
  
  .grounding-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
  }
  
  button {
    padding: 0.75rem 1.5rem;
    background-color: #9c88ff;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #7f6aff;
  }
  
  @keyframes fadeAffirmation {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .breath-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #d4f1f4, #a2d2ff);
    margin: 1.5rem auto;
    animation: breathing 8s infinite;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
  }
  
  @keyframes breathing {
    0%, 100% {
      transform: scale(1);
      opacity: 0.7;
    }
    50% {
      transform: scale(1.3);
      opacity: 1;
    }
  }
  