body{
  margin:0;
  background:#f7f7f7;
  font-family:Arial;
}

header{
  background:#222;
  color:#fff;
  padding:22px;
  text-align:center;
  font-size:22px;
}

.container{
  width:90%;
  max-width:500px;
  margin:40px auto;

  /* fallback instead of gap:20px; */
  display:flex;
  flex-direction:column;
}

/* create spacing between children instead of gap */
.container a {
  margin-bottom:20px;
}


/* ----------------------------- */
/*   RAYVISION SOLAR 3D BUTTON   */
/* ----------------------------- */

.rvt-solar-btn {
  position: relative;
  width: 100%;
  height: 70px;
  text-decoration: none;
  display: inline-block;
  border: none;
  background: none;
  cursor: pointer;
}

/* Solar Panel Surface */
.rvt-solar-btn span {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #003a9c, #0073ff);
  border-radius: 12px;
  /* border shorthand is valid, but we can expand if you want: */
  border-width: 2px;
  border-style: solid;
  border-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: 0.2s ease;
  overflow: hidden;
}

/* Solar grid lines */
.rvt-solar-btn span::before {
  content: "";
  position: absolute;
  /* instead of inset:0; for compatibility */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.12) 2px, transparent 2px),
    linear-gradient(to bottom, rgba(255,255,255,0.12) 2px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Glossy solar reflection */
.rvt-solar-btn span::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: 0.35s ease;
}

/* 3D Base Layer */
.rvt-solar-btn::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #002b6b;
  border-radius: 12px;
  top: 10px;
  left: 0;
  border-width: 2px;
  border-style: solid;
  border-color: #ffffff;
}

/* Press animation */
.rvt-solar-btn:active span {
  transform: translateY(10px);
}

.rvt-solar-btn:active span::after {
  left: 100%;
}

/* Hover glow */
.rvt-solar-btn:hover span {
  filter: brightness(1.12);
}

/* Electric sweep effect */
.rvt-solar-btn span::after {
  animation: currentSweep 4s linear infinite;
}

@keyframes currentSweep {
  0% {
    left: -60%;
  }
  100% {
    left: 120%;
  }
}





footer{
  text-align:center;
  padding:20px;
  font-size:13px;
  color:#666;
}
