/* styles/index.css */
@font-face {
    font-family: 'F37 Moon VF';
    src: url('/fonts/F37Moon-VF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #f8f6ff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ——— TOPBAR ——— */
.topbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8ecf1;
    padding: 0px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.Q {
    font-family: 'F37 Moon VF', 'F37 Moon', sans-serif;
    font-size: 55px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #1a2a6c 0%, #2d5f9e 30%, #6db3f2 60%, #e8f4f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 12px rgba(167, 65, 240, 0.3));
    user-select: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.right-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.profile-btn {
    background: transparent;
    border: 1px solid #d0d7e2;
    color: #1e2a3a;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s;
    font-family: inherit;
    background: #f5f7fa;
}

.profile-btn:hover {
    background: #e8ecf5;
    border-color: #b0b8c8;
}

.fa-solid {
    margin: 0;
    padding: 0;
    user-select: none;
    font-size: 20px;
    color: #1e2a3a;
    cursor: default;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7fa;
    border: 1px solid #d0d7e2;
    user-select: none;
}


.left-group {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

/* ——— ЦЕНТРАЛЬНЫЙ БЛОК ——— */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.choice-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 56px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf1;
    text-align: center;
}

.choice-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 8px;
    font-family: 'F37 Moon VF', 'F37 Moon', sans-serif;
}

.choice-subtitle {
    font-size: 16px;
    color: #6a7a8e;
    margin-bottom: 32px;
}

.choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.choice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: default;
    transition: all 0.2s;
    font-family: inherit;
    width: 100%;
}

.choice-btn i {
    font-size: 20px;
}

.choice-btn.primary {
    background: linear-gradient(135deg, #1a2a6c 0%, #2d5f9e 30%, #6db3f2 60%, #a8d8f0 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(26, 42, 108, 0.25);
}

.choice-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 42, 108, 0.35);
}

.choice-btn.secondary {
    background: #f5f7fa;
    color: #1a2a3a;
    border: 1px solid #d0d7e2;
}

.choice-btn.secondary:hover {
    background: #e8ecf5;
    border-color: #b0b8c8;
    transform: translateY(-2px);
}

/* ——— АДАПТИВНОСТЬ ——— */
@media (max-width: 580px) {
    .topbar {
        padding: 0px 16px;
        height: 48px;
    }
    
    .Q {
        font-size: 40px;
    }
    
    .profile-btn {
        padding: 3px 12px;
        font-size: 11px;
    }
    
    .fa-solid {
        font-size: 16px;
        width: 30px;
        height: 30px;
    }
    
    .right-group {
        gap: 8px;
    }
    
    .choice-box {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .choice-title {
        font-size: 22px;
    }
    
    .choice-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .Q {
        font-size: 32px;
    }
    
    .profile-btn span {
        display: none;
    }
    
    .profile-btn {
        padding: 4px 10px;
    }
    
    .choice-box {
        padding: 24px 16px;
    }
    
    .choice-title {
        font-size: 20px;
    }
}