/* ============================================================
   ASTRONOMY QUIZ & FACTS - SPACE THEME
   ============================================================ */

:root {
    --space-blue: #0a0a2e;
    --space-dark: #05051a;
    --cosmic-purple: #2d1b69;
    --neon-cyan: #00f0ff;
    --galaxy-pink: #ff6ec7;
    --glow-blue: #4a90d9;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0cc;
    --success: #00e676;
    --error: #ff5252;
    --warning: #ffd740;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--space-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================================
   SPACE BACKGROUND - STARS
   ============================================================ */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--galaxy-pink);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 1rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.nav-logo i {
    color: var(--galaxy-pink);
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--glass-bg);
    color: var(--neon-cyan) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    position: relative;
    z-index: 1;
}

.section {
    padding: 4rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1000px;
    flex-wrap: wrap;
}

.hero-planet {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #4a90d9, #2d1b69, #0a0a2e);
    box-shadow: 0 0 60px rgba(74, 144, 217, 0.3), inset -30px -30px 60px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite, rotate 20s linear infinite;
    flex-shrink: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

.hero-text {
    flex: 1;
    min-width: 280px;
}

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--galaxy-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    gap: 0.5rem;
    animation: bounce 2s infinite;
    font-size: 0.8rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--glow-blue));
    color: var(--space-dark) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--galaxy-pink));
    color: var(--white) !important;
    box-shadow: 0 0 20px rgba(255, 110, 199, 0.2);
}

.btn-secondary:hover {
    box-shadow: 0 0 40px rgba(255, 110, 199, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-primary) !important;
}

.btn-outline:hover {
    border-color: var(--neon-cyan);
    background: var(--glass-bg);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-danger {
    background: var(--error);
    color: white !important;
}

/* ============================================================
   DID YOU KNOW CARD
   ============================================================ */
.did-you-know {
    position: relative;
}

.fact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.fact-icon {
    font-size: 2.5rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.fact-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 1rem 0;
    line-height: 1.6;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
}

/* ============================================================
   TOPICS GRID
   ============================================================ */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.topic-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

.topic-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.topic-overlay h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.topic-category {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid var(--neon-cyan);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.topic-info {
    padding: 1.25rem;
}

.topic-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.learn-more {
    color: var(--neon-cyan);
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: linear-gradient(135deg, rgba(45, 27, 105, 0.3), rgba(0, 240, 255, 0.05));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-card i {
    font-size: 2rem;
    color: var(--neon-cyan);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--galaxy-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(255, 110, 199, 0.05));
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
    padding: 8rem 1rem 3rem;
    background: linear-gradient(135deg, var(--space-dark), var(--cosmic-purple));
    text-align: center;
    position: relative;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.detail-hero {
    background-size: cover !important;
    background-position: center !important;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid var(--neon-cyan);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

/* ============================================================
   SEARCH / FILTER
   ============================================================ */
.search-filter-bar {
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1rem;
}

.search-box i {
    color: var(--text-secondary);
    margin-right: 0.8rem;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    width: 100%;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.4rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan) !important;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    grid-column: 1 / -1;
    padding: 3rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ============================================================
   FACT DETAILS
   ============================================================ */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.detail-main {
    min-width: 0;
}

.detail-image-card {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.detail-image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.detail-section h2 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.info-value {
    font-size: 0.85rem;
    text-align: right;
    max-width: 50%;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.related-item:last-child {
    border-bottom: none;
}

.related-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.related-item span {
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-overlay h3 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.gallery-card-overlay p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--neon-cyan);
}

.modal-content {
    max-width: 800px;
    max-height: 90vh;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.modal-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.modal-info p {
    color: var(--text-secondary);
}

/* ============================================================
   QUIZ
   ============================================================ */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.quiz-progress {
    flex: 1;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--glass-bg);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--galaxy-pink));
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.quiz-timer {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    white-space: nowrap;
}

.question-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.question-category {
    padding: 0.2rem 0.8rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--neon-cyan);
}

.question-number {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.option-btn:hover:not(.disabled) {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
}

.option-btn.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.option-btn.correct {
    border-color: var(--success) !important;
    background: rgba(0, 230, 118, 0.15) !important;
}

.option-btn.wrong {
    border-color: var(--error) !important;
    background: rgba(255, 82, 82, 0.15) !important;
}

.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.option-btn.correct .option-letter {
    background: var(--success);
    color: var(--space-dark);
}

.option-btn.wrong .option-letter {
    background: var(--error);
    color: white;
}

.answer-feedback {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.answer-feedback.correct {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--success);
}

.answer-feedback.wrong {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: var(--error);
}

/* Score Display */
.score-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.score-card i {
    font-size: 4rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.score-circle {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.score-circle span:first-child {
    background: linear-gradient(135deg, var(--neon-cyan), var(--galaxy-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ============================================================
   AUTH
   ============================================================ */
.auth-container {
    display: flex;
    justify-content: center;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-cyan);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.auth-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-footer p {
    margin-bottom: 0.3rem;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: var(--error);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.about-card i {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.about-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-universe {
    text-align: center;
    margin-top: 2rem;
}

.about-universe h2 {
    margin-bottom: 2rem;
}

.universe-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.universe-fact {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.fact-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--galaxy-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.universe-fact span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: rgba(5, 5, 26, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 1rem 1rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--neon-cyan) !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.disclaimer {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.footer-bottom p:last-child {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ============================================================
   ADMIN STYLES
   ============================================================ */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem 2rem;
}

.admin-header {
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 1.8rem;
}

.admin-header p {
    color: var(--text-secondary);
}

.admin-stat {
    padding: 1.5rem;
}

.admin-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-card h2 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255,255,255,0.02);
}

.table-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.actions {
    white-space: nowrap;
}

.actions .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--neon-cyan);
}

.correct-badge {
    font-size: 0.8rem;
    color: var(--success);
}

.admin-actions h2 {
    margin-bottom: 1rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.action-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
}

.action-card i {
    font-size: 2rem;
    color: var(--neon-cyan);
}

.admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.admin-form .form-group {
    margin-bottom: 1rem;
}

.admin-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.admin-form small {
    color: var(--text-secondary);
    font-size: 0.75rem;
    display: block;
    margin-top: 0.3rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

input[type="radio"] {
    margin-left: 0.5rem;
    accent-color: var(--neon-cyan);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-planet {
        width: 140px;
        height: 140px;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-form .form-row {
        grid-template-columns: 1fr;
    }

    .quiz-header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-planet {
        width: 100px;
        height: 100px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}
