:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --hover-color: #cccccc;
    --border-color: #333333;
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #0a0a0a;
    --accent-color: #0a0a0a;
    --hover-color: #333333;
    --border-color: #cccccc;
}

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

@font-face {
    font-family: 'BalloonsItalic';
    src: url('./BalloonsItalic-r708.ttf') format('truetype');
    font-style: italic;
    font-weight: normal;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-image: url('BG.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-color);
    min-height: 100vh;
    transition: color 0.3s ease;
    overflow-x: hidden;
    position: relative;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.header {
    margin-bottom: 3rem;
}

.logo {
    transition: all 0.3s ease;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.logo:hover {
    transform: translateY(-5px) scale(1.05);
}

.logo-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    animation: glow 2s ease-in-out infinite alternate;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.2),
        0 0 80px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .logo-image {
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(0, 0, 0, 0.2),
        0 0 80px rgba(0, 0, 0, 0.1);
}

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

.tagline {
    margin-bottom: 4rem;
}

.tagline h1 {
    font-family: 'BalloonsItalic', 'Bungee', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 
                 0 0 15px rgba(0, 0, 0, 0.5),
                 0 0 30px rgba(0, 0, 0, 0.3);
    font-style: italic;
}

[data-theme="light"] .tagline h1 {
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.8), 
                 0 0 15px rgba(255, 255, 255, 0.5),
                 0 0 30px rgba(255, 255, 255, 0.3);
}

.navigation {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-link {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
}

[data-theme="light"] .nav-link:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

[data-theme="light"] .theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .tagline h1 {
        font-size: 2rem;
    }
    
    .navigation {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.1rem;
        min-width: 120px;
    }
    
    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

.chair {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

.chair.falling {
    animation: fall linear;
}

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

@keyframes glow {
    0% {
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.4),
            0 0 40px rgba(255, 255, 255, 0.3),
            0 0 60px rgba(255, 255, 255, 0.2),
            0 0 80px rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(255, 255, 255, 0.6),
            0 0 50px rgba(255, 255, 255, 0.4),
            0 0 70px rgba(255, 255, 255, 0.3),
            0 0 100px rgba(255, 255, 255, 0.2);
    }
}