* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    height: 100vh;
    overflow: hidden; /* Запрещаем скролл всей страницы */
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
}

.tab-content {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tab-content.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

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