:root {
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --accent-color: #10b981;
    --accent-hover: #059669;
    --subtle-text: #64748b;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0f172a;
        --text-color: #e2e8f0;
        --accent-color: #34d399;
        --accent-hover: #10b981;
        --subtle-text: #94a3b8;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Sticky Header */
header {
    position: sticky;
    top: 0;
    background-color: var(--bg-color);
    padding: 0.6rem 2rem;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-link {
    display: flex;
	gap: 0.5rem;
    align-items: center;
    text-decoration: none;
    color: inherit; 
    cursor: pointer;
}

/* Floating Background Circles */
.bg-circles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.07;
    animation: float 20s infinite linear;
}

.bg-circle:nth-child(1) { width: 400px; height: 400px; top: 10%; left: 10%; animation-delay: 0s; }
.bg-circle:nth-child(2) { width: 600px; height: 600px; top: 50%; right: 10%; animation-delay: 5s; }
.bg-circle:nth-child(3) { width: 300px; height: 300px; bottom: 20%; left: 20%; animation-delay: 10s; }

/* Footer */
footer {
    padding: 0.25rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--subtle-text);
    opacity: 0.5;
    letter-spacing: 0.02em;
}

.footer {
    position: relative;
}

.footer-center {
    display: block;
    text-align: center;
}

/* Desktop layout */
.footer-right {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: inherit;
}

.footer-right a {
    color: inherit;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* Mobile fix */
@media (max-width: 600px) {
    .footer-right {
        position: static;
        transform: none;
        display: block;
        margin-top: 0.25rem;
        text-align: center;
    }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}