:root {
    --bg-main: #FFFFFF;
    --bg-card: rgba(244, 244, 245, 0.6);
    --text-primary: #18181B;
    --text-secondary: #52525B;
    --accent-primary: #009c3bd6;
    --accent-secondary: #ffe001;
    --border-color: rgba(228, 228, 231, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

html.dark {
    --bg-main: #111111;
    --bg-card: rgba(24, 24, 27, 0.5);
    --text-primary: #F4F4F5;
    --text-secondary: #A1A1AA;
    --accent-primary: #009c3b4d;
    --accent-secondary: #ffe001;
    --border-color: rgba(63, 63, 70, 0.8);
    --shadow-color: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

main {
    min-height: 100vh;
    min-height: 100dvh;
}

.font-logo {
    font-family: 'Exo 2', sans-serif;
}

.logo-text-gradient {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#aetherna-logo-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    filter: blur(5px) brightness(0.9);
    opacity: 0.8;
    pointer-events: none;
}

#aetherna-logo-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.glass-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 var(--shadow-color);
}

.fade-in {
    animation: fadeInAnimation 1.2s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-with-google, .login-with-vk {
    width: 300px;
    margin: auto;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    padding: 12px 16px;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.25);
    color: var(--text-primary, #757575);
    font-size: 16px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: var(--glass-bg, white);
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-with-google:hover, .login-with-vk:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25);
    background-color: var(--glass-hover, #eeeeee);
}

.login-with-google:active, .login-with-vk:active {
    background-color: var(--glass-hover, #eeeeee);
}

.login-with-google:focus, .login-with-vk:focus {
    outline: none;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.25),
        0 0 0 3px #c8dafc;
}

.login-with-google img, .login-with-vk img {
    margin-right: 6px;
    width: 18px;
    height: 18px;
}

.login-with-google img, .login-with-vk svg {
    margin-right: 6px;
    width: 18px;
    height: 18px;
}

.dark .login-with-google, .dark .login-with-vk {
    color: var(--text-primary-dark, #ffffff);
    background-color: var(--glass-bg, rgba(0, 0, 0, 0.2));
}

.dark .login-with-google:hover, .dark .login-with-vk:hover {
    background-color: var(--glass-hover, rgba(255, 255, 255, 0.1));
}

.login-with-x svg path {
  color: #000;
}

.dark .login-with-x svg path {
  color: #fff;
}