:root {
    --bg-primary: #0d1117;
    --text-primary: #f0f0f0;
    --accent: #6ae8ff;
    --gradient-start: #6affae;
    --gradient-end: #6ae8ff;
}

body.light {
    --bg-primary: #ffffff;
    --text-primary: #111111;
    --accent: #007acc;
    --gradient-start: #00c6ff;
    --gradient-end: #007acc;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

#theme-toggle {
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    text-align: center;
}

.gradient-text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.typewriter-effect {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    min-height: 1.5rem;
    animation: fadeIn 1s ease-in-out;
}

.portal-button {
    padding: 1rem 2rem;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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