* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

@font-face {
font-family: heading;
src: url("Clayborn.ttf");
}

@font-face {
font-family: tagline;
src: url("AlphabetCapsLined.otf");
}

body {
  font-family: 'Comic Neue', sans-serif;
  background: linear-gradient(135deg, #0f0f3e, #1a1a40);
  color: #fff;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

/* Header - Updated with gradient blur */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  padding: 20px 10px;
  border-radius: 0 0 25px 25px;
  z-index: 999;
}

.header h1 {
  font-size: 2rem;
  font-family: heading;
  margin-bottom: 5px;
  -webkit-animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.header p {
  font-size: 1rem;
  margin-bottom: 10px;
  opacity: 0.85;
  font-family: tagline;
}

.nav-buttons a {
  display: inline-block;
  margin: 6px 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
  outline: none;
}

.nav-buttons a.active {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #00b4d8;
  color: #00e5ff;
}

/* Spacer */
.header-spacer {
  height: 500px;
}

/* Container */
.container {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

/* Sections */
.page-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.page-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Gallery */
.gallery-img {
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
          animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

/* Post */
.post {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border-radius: 25px;
  padding: 20px;
  margin-top: 30px;
}
.post-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

/* Device Cards */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.device-card {
  background: rgba(255, 255, 255, 0.07);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
          animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.device-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
}
.device-card h3 {
  margin: 8px 0 5px;
}
.device-card p {
  font-size: 0.9rem;
  opacity: 0.85;
}
.get-build-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(to right, #3a0ca3, #7209b7);
  padding: 10px 20px;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.get-build-btn:hover {
  transform: scale(1.05);
}

/* About + Footer */
.about-section, .footer-section {
  margin-top: 60px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  line-height: 1.8;
}
.about-section h2, .footer-section h2 {
  margin-bottom: 15px;
  text-align: center;
  font-family: 'ClaybornRegular';
}
.footer-section {
  text-align: center;
  font-size: 0.95rem;
  -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
          animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.footer-section a {
  color: #90e0ef;
  text-decoration: none;
  font-weight: bold;
}
.footer-section a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .header h1 { font-size: 1.6rem; }
  .nav-buttons a {
    margin: 4px 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .container { padding: 15px; }
  .post { padding: 15px; }
  .header-spacer { height: 150px; }
}
.header-spacer{
    height: 170px;
}

/* Animations */
@-webkit-keyframes slide-in-blurred-bottom {
  0% {
    -webkit-transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
            transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
            transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-bottom {
  0% {
    transform: translateY(1000px) scaleY(2.5) scaleX(0.2);
    filter: blur(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scaleY(1) scaleX(1);
    filter: blur(0);
    opacity: 1;
  }
}
@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    filter: blur(12px);
    opacity: 0;
  }
  100% {
    filter: blur(0px);
    opacity: 1;
  }
}
@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
