@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

body {
  background-color: #0E0D0E;
  color: white;
}

.wrapper{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 80px;
  gap: 46px;
}

svg.hero{
  min-height: 501px;
}

.main{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 32px;
}

/************************************************* CARD DEFAULT **/
.card {
  position: relative;
  background-color: #000;
  border-radius: 32px;
  padding: 48px;
  background-size: cover, cover, 100% 100%;
  background-position: 0px 0px;
  background-color: rgba(0,0,0,0.76);
  background-blend-mode: darken;
  box-shadow: inset 0px -5px 80px 24px #000;
  transition: box-shadow .4s ease-out;
  
  background-image: radial-gradient(94% 137% at 50% 15%, #000 32%, #FF590063 100%), url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.card:hover{
  box-shadow: inset 0px 0px 56px 20px #000;
}

/************************************************* CARD PSEUDO **/
.card::before,
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  animation: rotation 20s linear infinite;
}

/** AFTER GLOW **/
.card::after {
  border-radius: inherit;
  filter: blur(8px);
  transition: filter .4s ease-out;
}

.card:hover::after{
  filter: blur(4px);
}


/************************************************* ANNUAL **/
.card.annual::before,
.card.annual::after {
  background: conic-gradient(from var(--gradient-angle) at 50% 50%, #44340091 0%, #FFBF36 11%, #212000 29%, #44340091 100%);
  
  animation: rotation 20s linear 1s infinite;
}

/************************************************* MONTH **/
.card.month::before,
.card.month::after{
  background: conic-gradient(from var(--gradient-angle) at 50% 50%, #441900FF 0%, #EE3C00 10%, #210C00FF 29%, #441900FF 100%);
}


/************************************************* ANIMATIONS **/
@keyframes rotation {
  0% {
    --gradient-angle: 0deg;
  }
  100% {
    --gradient-angle: 360deg;
  }
}