/* Base styles */
body {
    align-items: center;
    background: #fff;
    display: flex;
    height: 100vh;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    padding: 0;
    transition: background-color 0.3s ease;
    width: 100vw;
}

body.dark-mode {
    background: #000;
}

/* Accessibility */
.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Logo container */
.logo-container {
    cursor: pointer;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    width: 50vw;
}

.logo-container:hover {
    opacity: 0.9;
}

.logo-container:active {
    opacity: 0.7;
    transform: scale(0.8);
}

/* Logo */
.logo {
    height: auto;
    transform-origin: center;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    width: 100%;
}

/* Theme switch */
.theme-switch {
    background: #808080;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    height: 30px;
    padding: 0;
    position: fixed;
    right: 20px;
    top: 20px;
    transition: background-color 0.3s ease;
    width: 60px;
}

.theme-switch::before {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    content: '';
    height: 26px;
    position: absolute;
    right: 2px;
    top: 2px;
    transform: translateX(0);
    transition: transform 0.3s ease;
    width: 26px;
}

.theme-switch.dark-mode::before {
    background: #000;
    transform: translateX(-30px);
}

/* Media queries */
@media (max-width: 768px) {
    .logo-container {
        width: 70vw;
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 85vw;
    }
} 