:root {
    --bg-base: #0f172a;
    --bg-highlight: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --accent: #fbbf24;
    --accent-glow: rgba(251, 191, 36, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background Animated Blobs for Glassmorphism effect */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.5;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #3b82f640 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 50px) scale(1.1); }
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.text-center {
    text-align: center;
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

strong {
    color: var(--text-main);
}

em {
    color: var(--accent);
    font-style: italic;
}

/* Specific elements */
.basics-box {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.basics-box h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

.description p {
    font-size: 1.1rem;
}

.encouragement {
    font-weight: 500;
    color: var(--text-main);
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
}

.contact-info {
    margin-top: 2rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

th {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

td {
    color: var(--text-muted);
}

tbody tr {
    transition: background-color 0.2s;
}

tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.tbd {
    opacity: 0.5;
    font-style: italic;
}

/* Book List */
.book-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.book-list li {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.book-list li:hover {
    border-left-color: var(--accent);
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(4px);
}

.book-list .author {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.book-list .title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Footnotes */
footer {
    margin-top: 2rem;
    padding: 0 1rem;
}

.footnote-ref {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.8em;
    vertical-align: super;
    margin-left: 2px;
}

.footnote-ref:hover {
    text-decoration: underline;
}

.footnote {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.7);
}

.fn-number {
    color: var(--accent);
    font-weight: 500;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 2rem 1rem;
    }
    
    .glass-panel {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    th, td {
        padding: 0.75rem 0.5rem;
    }
}
