/* Базовые стили и переменные */
:root {
    --primary-color: #6C5CE7;
    --primary-dark: #5649C0;
    --secondary-color: #00CEFF;
    --accent-color: #FF7675;
    --text-color: #2D3436;
    --light-text: #FFFFFF;
    --bg-color: #F5F6FA;
    --card-bg: #FFFFFF;
    --border-radius: 16px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --header-height: 60px;
    --footer-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-highlight: none;
    -webkit-user-drag: none;
}

.container {
    width: 100%;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    :root {
        --border-radius: 12px;
    }
}

@media (max-height: 600px) {
    :root {
        --header-height: 50px;
    }
}