:root {
    /* Default - Dark Theme */
    --bg: #050505;
    --bg-grad: linear-gradient(135deg, #0a0a0f 0%, #000000 100%);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --accent-phil: #8b7355;
    --accent-tech: #4a9eff;
    --card-bg: rgba(20, 20, 30, 0.4);
    --border: rgba(255, 255, 255, 0.1);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;
}

[data-theme="light"] {
    --bg: #ffffff;
    --bg-grad: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    --text: #1a1a1a;
    --text-muted: rgba(0, 0, 0, 0.6);
    --accent-phil: #6b5345;
    --accent-tech: #2a7edf;
    --card-bg: rgba(255, 255, 255, 0.6);
    --border: rgba(0, 0, 0, 0.1);
}

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

body {
    background: var(--bg-grad) fixed;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    transition: color 0.4s ease;
}

/* Animated gradient orbs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

body::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-phil), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

body::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-tech), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

/* Ink drop particles */
.ink-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ink-drop {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: drift 15s infinite ease-in-out;
}

@keyframes drift {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    50% {
        transform: translateY(50vh) translateX(20px);
        opacity: 0.05;
    }

    90% {
        opacity: 0.1;
    }
}

.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.landing-container {
    max-width: 1100px;
    width: 90%;
    text-align: center;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.site-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    font-style: italic;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: titleShimmer 3s ease-in-out infinite;
}

@keyframes titleShimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 5rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .choices {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.choice-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 4rem 2.5rem;
    border-radius: 32px;
    text-decoration: none;
    color: var(--text);
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.choice-card:hover::before {
    opacity: 1;
}

.choice-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.choice-card.phil:hover {
    border-color: var(--accent-phil);
    box-shadow: 0 20px 60px rgba(139, 115, 85, 0.3);
}

.choice-card.tech:hover {
    border-color: var(--accent-tech);
    box-shadow: 0 20px 60px rgba(74, 158, 255, 0.3);
}

.choice-card .icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    filter: grayscale(0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-card:hover .icon {
    transform: scale(1.2) rotate(5deg);
    filter: grayscale(0);
}

.choice-card h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.choice-card.phil h2 {
    color: var(--accent-phil);
}

.choice-card.tech h2 {
    color: var(--accent-tech);
}

.choice-card p {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 280px;
    line-height: 1.7;
}

.landing-footer {
    position: fixed;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    z-index: 1;
}

/* Selection */
::selection {
    background: var(--accent-tech);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-phil);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-tech);
}