/* Taustagradientti ja gradientin liike */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #0b0b1a, #1a1a3e, #001b3b, #01013b, #07133fb9, black, #02192cab);
    background-size: 6200% 600%;
    animation: gradientShift 100s cubic-bezier(0, 0, 0.92, 4.35) infinite;
    color: #ffffff;
    overflow-x: hidden;
}

#getstardet-button {
    font-size: 20px;
    width: 150px;
    height: 50px;
    border: 1px solid #4b5563;
    border-radius: 9px;
    background-color: green;
    box-shadow: 0 4px 6px rgba(96, 249, 2, 0.586);
}


/* Topbarin CSS */
.bar {
  animation: both;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0000007a; /* Topbarin taustaväri */
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.topbar .logo {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
}

.topbar .navigation a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 1em;
}

.topbar .navigation a:hover {
  text-decoration: underline;
}

button {
    max-width: 100%;
    border: 1px solid #4b5563;
    background: #111827;
    color: #e5e7eb;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
}


img {
    border-radius: 12px;
}

/* Ylätunniste (header) */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 60px;
    background: rgba(12, 12, 25, 0.65);
    backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.header-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.25);
    transition: text-shadow 0.3s ease;
}
.header-title:hover {
    text-shadow: 0 0 25px rgba(255,255,255,0.5);
}

/* Glass-style buttonit */
.butto {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}
.butto:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.gs-bt {
    font-size: 30px;
    width: 150px;
    height: 150px;
    grid-column: span 4;
    min-height: 210px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(77, 255, 0, 0.414);
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .16s ease,background .16s ease,border-color .16s ease;
    overflow: hidden
}

/* Cardit ja sisältö */
.page-link {
    width: 285px;
    aspect-ratio: 285/107;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.page-link:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(0, 160, 255, 0.15);
}



/* Gradient shift animation */
@keyframes gradientShift {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}