/* --- General Body & Background Styles --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes at least full viewport height */
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="%23000" width="100" height="100"/><g fill-opacity=".3"><circle fill="%23fff" cx="50" cy="50" r="1"/><circle fill="%23fff" cx="10" cy="10" r="1"/><circle fill="%23fff" cx="90" cy="90" r="1"/><circle fill="%23fff" cx="10" cy="90" r="1"/><circle fill="%23fff" cx="90" cy="10" r="1"/></g></svg>');
    animation: stars 200s linear infinite;
    z-index: -1;
}

@keyframes stars {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

/* --- Main Content Wrapper --- */
main {
    flex-grow: 1; /* This is the key: it makes the main content take up available space */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* This centers content on short pages like the homepage */
    box-sizing: border-box;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* --- Buttons --- */
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #FF5B7A;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e04a66;
}

.btn-secondary {
    border: 2px solid #5DE794;
    color: #5DE794;
}

.btn-secondary:hover {
    background-color: #5DE794;
    color: #000;
}

/* --- Footer --- */
footer {
    padding: 2rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: invert(1);
}

.social img:hover {
    opacity: 1;
}

.links {
    margin-top: 1rem;
}

.links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #fff;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #aaa;
}

/* --- Article Page Specific Styles --- */
.container.article {
    text-align: left;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    backdrop-filter: blur(5px);
}

.container.article h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.container.article h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FF5B7A;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.container.article ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.container.article li {
    margin-bottom: 0.5rem;
}
.auth-topbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  background-color: #5DE794;
  color: #000;
  font-weight: 800;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
box-shadow: 0 0 10px #5DE794;
}

.btn-login:hover {
  background-color: #48c977;
}

#userProfile {
  color: #fff;
  font-weight: 600;
}
.swiftgenie-btn {
  background: linear-gradient(45deg, #ff00cc, #3333ff);
  color: #fff;
  font-weight: 800;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(255, 0, 204, 0.6);
  transition: transform 0.2s, box-shadow 0.3s;
}

.swiftgenie-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(51, 51, 255, 0.8);
}
.swiftgenie-link {
  font-weight: 800;
  color: #ff00cc; /* Hot pink to match your Whitepaper button */
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #ff00cc;
  border-radius: 25px;
  transition: all 0.3s ease;
  background-color: rgba(255, 0, 204, 0.1);
  backdrop-filter: blur(4px);
  position: absolute;
  top: 20px;
  right: 20px;
}

.swiftgenie-link:hover {
  background-color: #ff00cc;
  color: black;
  box-shadow: 0 0 15px #ff00cc;
  transform: scale(1.05);
}
.btn-packie {
  background: linear-gradient(135deg, #28c0f4, #5243e2); /* AIs & vibes */
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}

.btn-packie:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #5243e2, #28c0f4);
}
