 html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
  }

  .content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .app-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #1f2937;
    padding: 1rem 2rem;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .app-header .logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .app-header .title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
  }

  .main {
    flex: 1;
    padding: 10px;
    position: relative;
    background-image: url('../../images/WhiteRabbitWithClock.jpeg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }

  .tool-frame {
    width: 100%;
    height: calc(100vh - 160px);
    border: none;
    background: transparent;
  }

  .app-footer {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c3e50;
    padding: 1rem 2rem;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .app-footer .logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .app-footer .title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
  }
  .footer-links a {
      margin: 0 10px;
      color: white;
      text-decoration: none;
    }
    .footer-links a:hover {
      text-decoration: underline;
    }

  .carousel-section {
    overflow-x: auto;
    background-color: transparent;
    padding: 1rem;
  }

  .carousel-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns by default */
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-start;
  }

  .category {
    background-color: rgba(31, 41, 55, 0.85); /* Semi-transparent dark */
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .category h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .card {
    background-color: #2c3e50;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: left;
    font-size: 14px;
  }

  .card:hover {
    background-color: #00a99d;
    color: black;
  }

  .adsense-ad {
    max-width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  #backButton {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 999;
    padding: 10px 16px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.9;
    display: none;
    transition: background-color 0.3s;
  }

  #backButton:hover {
    background-color: #00a99d;
    color: black;
  }

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

    .main {
      height: auto;
    }
  }