body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  /* Dark Angled Gradient: Black -> Grey -> Blue */
  background: linear-gradient(135deg, #000000 0%, #334155 60%, #1e40af 100%);
  background-attachment: fixed; /* Keeps the gradient from repeating if you scroll */
  
  /* Text Styling */
  font-family: sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
  font-size: 1.2rem;
  opacity: 0.8;
}

:root {
    --glass: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.12);
    --accent: #60a5fa;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(160deg, #000000, #1a1a2e, #16213e);
    background-attachment: fixed;
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.luna-container {
    width: 90%;
    max-width: 600px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- Profile Header --- */
.profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.saturn-icon {
    font-size: 5rem;
    filter: drop-shadow(0 0 20px var(--accent));
    animation: float 4s ease-in-out infinite;
}

h1 {
    font-size: 2.8rem;
    margin: 10px 0 5px;
    letter-spacing: -1px;
}

.tagline {
    opacity: 0.6;
    font-weight: 300;
}

/* --- Bento Image Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-item {
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    min-height: 150px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item.tall {
    grid-row: span 2;
    min-height: 315px;
}

.grid-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: var(--accent);
}

/* --- Article Body --- */
.article-body {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--border);
    line-height: 1.8;
}

h2 {
    color: var(--accent);
    margin-top: 40px;
}

p {
    margin-bottom: 20px;
    font-weight: 300;
}

/* --- Interactive Stats --- */
.stat-box {
    display: flex;
    justify-content: space-around;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 20px;
    margin: 30px 0;
}

.stat { text-align: center; }
.stat span { font-size: 0.8rem; text-transform: uppercase; opacity: 0.5; }
.stat p { margin: 0; font-weight: 700; color: var(--accent); }

/* --- Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-up {
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    opacity: 0.4;
}

/* --- Resource Section Styling --- */
.resource-links {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.resource-links h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 25px;
}

.link-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.luna-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.luna-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Enhancing the Article Depth */
section h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section p {
    color: #cbd5e1;
}

:root {
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --accent: #94a3b8; /* Sleek Grey Accent */
}

body {
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #111827 50%, #1e1b4b 100%);
    background-attachment: fixed;
    color: #f8fafc;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.luna-container {
    width: 90%;
    max-width: 650px;
    padding: 80px 0;
}

/* --- Saturn OS Title --- */
.os-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin: 10px 0;
    letter-spacing: -3px;
    background: linear-gradient(to bottom, #ffffff, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Centered Floating Nav --- */
.nav-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0 40px;
}

.nav-item {
    text-decoration: none;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: white;
}

/* --- Animations --- */
.float-anim {
    display: inline-block;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- Scroll Reveal (Flowing Text) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.grid-item {
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    min-height: 160px;
    border: 1px solid var(--border);
}

.grid-item.tall {
    grid-row: span 2;
    min-height: 335px;
}

/* --- Content Styling --- */
.article-body {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 40px;
    border: 1px solid var(--border);
}

.stat-box {
    display: flex;
    justify-content: space-around;
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 25px;
    margin: 40px 0;
}

.stat span { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; }
.stat p { font-weight: 700; margin: 5px 0 0; font-size: 1.2rem; }

h2 { color: #fff; margin-bottom: 10px; }
p { line-height: 1.8; font-weight: 300; opacity: 0.8; }

.saturn-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
