-
.btn-a {
margin: 20px 0;
text-align: center;
}
.btn-a a {
width: fit-content;
min-height: 60px;
color: #fff;
border-radius: 5px;
padding: 10px 30px;
font-weight: 600;
font-size: 20px;
background: linear-gradient(0deg, rgba(251,33,117,1) 0%, rgba(234,76,137,1) 100%);
border: none;
overflow: hidden;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
display: inline-block;
box-shadow: inset 2px 2px 2px 0 rgba(255,255,255,0.5),
7px 7px 20px 0 rgba(0,0,0,0.1),
4px 4px 5px 0 rgba(0,0,0,0.1);
outline: none;
}
.btn-a a:hover {
text-decoration: none;
color: #fff;
background: linear-gradient(0deg, rgba(251,33,117,0.8), rgba(234,76,137,0.8)); /* hover 대비 개선 */
opacity: 1;
}
.btn-a a:before {
position: absolute;
content: '';
display: inline-block;
top: -180px;
left: 0;
width: 30px;
height: 100%;
background-color: #fff;
animation: shiny-xiu 3s ease-in-out infinite;
}
.btn-a a:active {
box-shadow: 4px 4px 6px 0 rgba(255,255,255,0.3),
-4px -4px 6px 0 rgba(116,125,136,0.2),
inset -4px -4px 6px 0 rgba(255,255,255,0.2),
inset 4px 4px 6px 0 rgba(0,0,0,0.2);
}
@-webkit-keyframes shiny-xiu {
0% { transform: scale(0) rotate(45deg); opacity: 0; }
80% { transform: scale(0) rotate(45deg); opacity: 0.5; }
81% { transform: scale(4) rotate(45deg); opacity: 1; }
100% { transform: scale(50) rotate(45deg); opacity: 0; }
}