/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #000;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

button {
  background-color: purple;
  color: #fff;
  border: 1px purple solid;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 30px;
  overflow: hidden;
  margin: 10px 0;
  position: relative;
}

button:focus {
  outline: none;
}

button .circle {
  position: absolute;
  background-color: #fff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: scale 0.5s ease-out;
}

@keyframes scale {
  to {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
} */




@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
  --primary: linear-gradient(135deg, #7f00ff, #e100ff);
  --dark-bg: #0f0f0f;
  --text-light: #ffffff;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  background: radial-gradient(circle at top, #1a1a1a, #000);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* BUTTON BASE */
.ripple-btn {
  position: relative;
  padding: 18px 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(225, 0, 255, 0.25);
}

/* OUTLINE VARIANT */
.ripple-btn.outline {
  background: transparent;
  border: 2px solid #a855f7;
  box-shadow: none;
}

.ripple-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(225, 0, 255, 0.35);
}

.ripple-btn:active {
  transform: scale(0.96);
}

/* RIPPLE */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-effect 600ms ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ACCESSIBILITY */
.ripple-btn:focus-visible {
  outline: 3px solid #e100ff;
  outline-offset: 3px;
}
