
body {
  background-color: black;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 2px solid white;
  padding: 20px 22px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 30px;
  color: white;
  width: 100%;
  max-width: 800px;
  
  background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, magenta, red);
  background-size: 400% 400%;
  animation: rgbBackground 6s linear infinite;

  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  font-family: "Aldrich", sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

h1:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes rgbBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

nav a {
  border: 2px solid white;
  font-family: "Pixelify Sans", sans-serif;
  text-decoration: none; 
  color: white;
  padding: 11px 12px;
  border-radius: 15px;
  font-weight: bold;
  background-color: black;
  font-size: 15px;
  box-shadow: 0 0 8px rgba(218, 100, 100, 0.1);
  transition: transform 0.2s, background 0.2s;
}

nav a:hover {
  text-decoration: underline;
  transform: translateY(-3px);
}
.budget-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.rainbow-mode{
    animation: rainbow 5s linear infinite;
}

@keyframes rainbow{
    0%{background:#ff0000;}
    16%{background:#ff8000;}
    33%{background:#ffff00;}
    50%{background:#00ff00;}
    66%{background:#00bfff;}
    83%{background:#8a2be2;}
    100%{background:#ff0000;}
}
.budget-card {
  border: 2px solid white;
  border-radius: 15px;
  background-color: #111;
  padding: 25px;
  color: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
}

.budget-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.budget-card h3 {
  font-family: "Aldrich", sans-serif;
  font-size: 22px;
  margin-top: 0;
  color: red;
}

.model-name {
  font-family: "Aldrich", sans-serif;
  font-size: 16px;
  color: white;
  margin-bottom: 10px;
}

.budget-card p {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.budget-card ul {
  list-style-type: none;
  padding: 0;
  margin: 15px 0;
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
}

.budget-card ul li {
  margin-bottom: 6px;
  padding-left: 15px;
  position: relative;
}

.budget-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: white;
}

.buy-btn {
  display: inline-block;
  text-align: center;
  border: 2px solid white;
  font-family: "Pixelify Sans", sans-serif;
  text-decoration: none;
  color: white;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
  background-color: black;
  transition: background 0.2s, transform 0.2s;
}

.buy-btn:hover {
  background-color: white;
  color: black;
  transform: scale(1.02);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
    animation: fadeUp 0.8s ease;
}
@keyframes glow {

    0% {
        box-shadow: 0 0 8px rgba(255,255,255,.1);
    }

    50% {
        box-shadow: 0 0 20px rgba(0,255,255,.4);
    }

    100% {
        box-shadow: 0 0 8px rgba(255,255,255,.1);
    }

}

.feature-card,
.budget-card,
.result-card{
    animation: glow 4s infinite;
}
@keyframes pulse {

    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.05);
    }

    100%{
        transform: scale(1);
    }

}

.buy-btn:hover,
.mybutton.selected{
    animation: pulse .7s infinite;
}
@keyframes rainbowBorder {

    0%{
        border-color:red;
    }

    16%{
        border-color:orange;
    }

    33%{
        border-color:yellow;
    }

    50%{
        border-color:lime;
    }

    66%{
        border-color:cyan;
    }

    83%{
        border-color:blue;
    }

    100%{
        border-color:magenta;
    }

}

h1{
    animation:
    rgbBackground 6s linear infinite,
    rainbowBorder 6s linear infinite;
}
.feature-card,
.budget-card,
.result-card{

    opacity:0;
    animation:fadeUp .8s forwards;

}

.feature-card:nth-child(1){
    animation-delay:.2s;
}

.feature-card:nth-child(2){
    animation-delay:.4s;
}

.feature-card:nth-child(3){
    animation-delay:.6s;
}
@keyframes backgroundMove{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }

}

body{

    background:
    linear-gradient(-45deg,#000,#111,#080808,#000);

    background-size:400% 400%;

    animation:backgroundMove 20s ease infinite;

}