body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(160deg, #1e1e2f, #2d2d44);
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: #fff;
}

.container {
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  width: 320px;
}

h1 {
  margin: 0;
  font-size: 28px;
}

.version {
  margin-bottom: 20px;
  font-size: 14px;
  color: #bbb;
}

#g_id_onload, .g_id_signin {
  display: block;
  margin: 20px auto;
}

#post-login {
    margin-top: 20px;
}

#generate-btn {
    background: linear-gradient(90deg, #4a90e2, #357ab7);
    border: none;
    padding: 12px 20px;
    width: auto;               /* shrink to content size */
    min-width: 180px;          /* optional: give it some width */
    display: block;
    margin: 0 auto;            /* center it */
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}


#generate-btn:hover {
  background: linear-gradient(90deg, #357ab7, #2c5ea8);
}

.description {
  margin: 15px 0;
  font-size: 14px;
  color: #ddd;
  text-align: center;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
    display: none; /* hidden by default */
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.progress-track {
    position: relative;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 14px;
}

.progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 30%;
    animation: slide 1.25s infinite linear;
    background: rgba(255,255,255,0.85);
    border-radius: 999px;
}

@keyframes slide {
    0%   { left: -30%; }
    50%  { left: 50%;  }
    100% { left: 100%; }
}

#download-status {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.9;
}

.support {
    margin-top: 20px;
}

.support a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.support a:hover {
    color: #66aaff;
    text-decoration: underline;
}
.tutorials {
    margin-top: 18px;
    text-align: left;
}

.tutorials h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #cfd3dc;
    opacity: 0.9;
}

.tutorial-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

@media (min-width: 420px) {
    .tutorial-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tutorial-links li {
    margin: 0;
    padding: 0;
}

.tutorial-links a {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #e9edf4;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.tutorial-links a:hover,
.tutorial-links a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.tutorial-links a strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 2px;
    color: #ffffff;
}

.tutorial-links a small {
    display: block;
    font-size: 12px;
    color: #aab2c0;
    line-height: 1.2;
}

