/* Mode Selection - Dark Theme with Style */
.mode-selection {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 20px 20px 20px; /* Отступ сверху для шапки Telegram */
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.mode-selection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(10, 132, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(10, 132, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mode-header {
    text-align: center;
    padding: 40px 20px 50px;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2.5px;
    margin-bottom: 8px;
    text-shadow: 0 0 40px rgba(10, 132, 255, 0.3);
}

.logo-subtitle {
    display: none;
}

.mode-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.mode-card {
    background: linear-gradient(145deg, #1c1c1e 0%, #151517 100%);
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(84, 84, 88, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(10, 132, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mode-card:active::before {
    opacity: 1;
}

.mode-card:active {
    transform: scale(0.96);
    border-color: rgba(10, 132, 255, 0.4);
}

.mode-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(10, 132, 255, 0.2));
}

.mode-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.mode-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.mode-description {
    font-size: 13px;
    color: #8e8e93;
    line-height: 1.4;
}
