/* fallback */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url(../fonts/kJEPBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzBwG-RpA6RzaxHMPdY40KH8nGzv3fzfVJO1Q.woff2) format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* fallback */
@font-face {
  font-family: 'Material Icons Round';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/LDItaoyNOAY6Uewc665JcIzCKsKc_M9flwmP.woff2) format('woff2');
}

.material-icons-round {
  font-family: 'Material Icons Round';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.demo-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border: none;
    border-radius: 14px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;

    color: white;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.15);
}

/* 🔴 OFF */
.demo-btn.off {
    background: linear-gradient(
        135deg,
        #64748b,
        #475569
    );
}

/* 🟢 ON */
.demo-btn.on {
    background: linear-gradient(
        135deg,
        #16a34a,
        #15803d
    );

    box-shadow:
        0 0 20px rgba(34,197,94,.45);
}

.demo-btn:hover {
    transform: translateY(-2px);
}

.demo-dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: rgba(255,255,255,.9);

    box-shadow:
        0 0 10px rgba(255,255,255,.8);
}

.demo-btn.on .demo-dot {
    animation: pulseDemo 1.2s infinite;
}

@keyframes pulseDemo {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: .5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}