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

:root {
    --btn-color: #0e0e0e;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #0e0e0e;
}

.btn-container {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn {
    position: relative;
    padding: 15px 30px;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #0e0e0e;
    border: 2px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.btn-container:hover {
    scale: 1.3;
    rotate : 1 -1 -1 20deg;
}

.shadow {
    position: absolute;
    top: 10px;
    left: -2%;
    width: 100%;
    height: 100%;
    border: 2px solid white;
    border-radius: 50px;
    z-index: -1;
    transition: all 0.2s ease;
    transform: scale(0);
}

.btn-container:hover .shadow {
    transform: scale(1);
}

.shine {
    position: absolute;
    rotate: -20deg;
    top: -50%;
    left: -25%;
    width: 50%;
    height: 100%;
    transition: all 0.3s ease;
}
.ray {
    position: absolute;
    height: 200%;
    background: white;
}
.ray1 {
    left: 0%;
    width: 14%;
}
.ray2 {
    left: 19%;
    width: 3%;
}
.btn-container:hover .shine {
    left: 110%;
}

.star__container {
    height: 100%;
    width: 100%;
    background-color: yellow;
}
.star {
    position: absolute;
    top: 40%;
    left: 40%;
    color: #fff;
    z-index: 99;
    scale: 0;
    opacity: 0;
    rotate: -20deg;
}

.btn-container:hover .star {
    opacity: 1;
    transition: all 0.25s ease;
}

.btn-container:hover .star:nth-child(1) {
    top: 0%;
    left: -6%;
    rotate: 60deg;
    scale: 0.4;
}
.btn-container:hover .star:nth-child(2) {
    top: -40%;
    left: 79%;
    rotate: 30deg;
    scale: 1.4;
}
.btn-container:hover .star:nth-child(3) {
    top: 99%;
    left: 60%;
    rotate: 120deg;
    scale: 0.8;
}
.btn-container:hover .star:nth-child(4) {
    top: 100%;
    left: 99%;
    rotate: 150deg;
    scale: 1.2;
}
.btn-container:hover .star:nth-child(5) {
    top: 40%;
    left: 110%;
    rotate: 60deg;
    scale: 0.7;
}
.btn-container:hover .star:nth-child(6) {
    top: 120%;
    left: 20%;
    rotate: 30deg;
    scale: 1;
}
