.glowsection {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  /* z-index: 80 !important; */
}
.glow-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 90%);
  /* background: red; */
  filter: blur(60px);
  /* z-index: -1; */
  pointer-events: none;
  z-index: 80 !important;
}

.glow-circle.right {
  bottom: 1;
  right: 0;
}
.glow-circle.left {
  left: 0;
}

.glow-circle.pulse {
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

        .cursor {
            position: fixed;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 0 20px #fff, 0 0 40px #fff;
            transform: translate(-50%, -50%);
            pointer-events: none;
            mix-blend-mode: difference;
            z-index: 1000;
            transition: width 0.2s, height 0.2s;
        }

        .cursor.expand {
            width: 40px;
            height: 40px;
        }

        .trail {
            position: fixed;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.7);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
            pointer-events: none;
            z-index: 999;
            transform: translate(-50%, -50%);
            transition: transform 0.1s ease-out, opacity 0.3s ease-out;
        }

        .controls {
            position: fixed;
            bottom: 2rem;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 1rem;
            z-index: 10;
        }

        .controls button {
            padding: 0.8rem 1rem;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            font-size: 1rem;
        }

        button:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .instruction {
            position: fixed;
            bottom: 5rem;
            text-align: center;
            width: 100%;
            color: #888;
            font-size: 0.9rem;
        }

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1rem;
    }
    .cursor, .trail {
        display: none !important;
    }

  .cursor.expand {
    display: none !important;
  }

  .trail {
    display: none !important;
  }

  .controls {
    display: none !important;
  }
  .settings-toggle{
    display: none !important;
  }

  .controls button {
    display: none !important;
  }

}

.settings-toggle {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
}

.settings-toggle:hover {
  transform: translateY(-50%) rotate(45deg);
  background: rgba(255, 255, 255, 0.25);
}

.gear-icon {
  width: 26px;
  height: 26px;
  /* stroke: white; */
  display: block;
  transition: transform 0.6s ease;
}

.settings-toggle.active .gear-icon {
  transform: rotate(180deg);
}

.controls {
  display: none;
}

.controls.show {
  display: flex;
}

::selection {
  background: #ffffff;
  color: #000;
}

::-moz-selection {
  background: #ffffff;
  color: #000;
}
