header::before,
footer::before,
.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: floatParticles 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

header,
footer,
.info-box {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@keyframes floatParticles {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 60px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', Arial, sans-serif;
  background-color: #14141f;
  background: linear-gradient(-45deg, #14141f, #1a1a26, #20202e, #1a1a26);
  background-size: 400% 400%;
  animation: gradientShift 30s ease infinite;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background-color: #1a1a26;
  border-bottom: 1px solid #2a2a3a;
}

header img {
  height: 3rem;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #ffd700;
}

.back-to-top-wrapper {
  text-align: center;
  margin: 3rem 0 1rem;
}

.back-to-top {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #1a1a26;
  border: 1px solid #2a2a3a;
  border-radius: 6px;
  color: #ffd700;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.back-to-top:hover {
  background-color: #2a2a3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

nav {
  background-color: #10101a;
  border-bottom: 1px solid #2a2a3a;
  padding: 1rem;
  text-align: center;
}

nav a {
  color: #e0e0e0;
  margin: 0 0.3rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: '|';
  color: #444;
  margin-left: 0.5rem;
}

nav a:last-child::after {
  content: '';
}

nav a.active,
nav a:hover {
  color: #ffd700;
}

main {
  flex: 1;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.page-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.column {
  position: relative;
  flex: 1 1 45%;
  background-color: #1a1a26;
  padding: 1rem;
  border: 1px solid #2a2a3a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.column::before {
  content: "";
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.column h2,
.column ul {
  position: relative;
  z-index: 1;
}

.column h2 {
  border-left: 4px solid #ffd700;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #ffffff;
}

.column h2 span {
  font-size: 0.9rem;
  font-weight: normal;
  color: #ffd700;
}

ul {
  list-style-type: square;
  margin-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.dual-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.left-column,
.right-column {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 768px) {
  .dual-columns {
    flex-direction: column;
  }

  .left-column,
  .right-column {
    flex: 1 1 100%;
  }

  .row {
    flex-direction: column;
  }
}

.info-box {
  background-color: #222233;
  border-left: 4px solid #ffd700;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 6px;
}

.info-box strong {
  color: #ffd700;
}

footer {
  text-align: center;
  padding: 0.8rem;
  color: #888;
  font-size: 0.9rem;
  background-color: #1a1a26;
  border-top: 1px solid #2a2a3a;
}

footer img {
  height: 1em;
  vertical-align: middle;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem 0.75rem;
  padding: 1.5rem 0.75rem;
  justify-items: center;
}


.card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 100%;
  max-width: 360px
  padding: 0 1rem;
  border-radius: 8px;
  background-color: #1a1a26;
  border: 1px solid #2a2a3a;
  color: #f0f0f0;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.1);
  color: #ffd700;
}